Skip to content

Commit 3b8619e

Browse files
0x5bfaniels9001marcelwgn
authored
Decluttered the root dir (#1895)
## Description **Please let me know how you feel about this change, I'll make changes accordingly.** - #1806 ## Motivation and Context I liked to make the root look slim (I also wanted to create `src` dir but didnt to avoid creating a huge PR). ## How Has This Been Tested? _N/A_ ## Screenshots (if appropriate): ![image](https://github.com/user-attachments/assets/09c6060a-14a5-4f8d-a346-1a8cf70b40b8) ## Types of changes _N/A_ --------- Co-authored-by: Niels Laute <[email protected]> Co-authored-by: Marcel W. <[email protected]> Co-authored-by: Marcel Wagner <[email protected]>
1 parent 78d0491 commit 3b8619e

13 files changed

+26
-26
lines changed
File renamed without changes.

.github/assets/StoreBadge-dark.png

13.9 KB
Loading

.github/assets/StoreBadge-light.png

14.9 KB
Loading

.pipelines/WinUI-Gallery-OneBranch-Official.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ extends:
9191
displayName: Generate Test Signing Certificate
9292
inputs:
9393
targetType: filePath
94-
filePath: build/GenerateTestPFX.ps1
94+
filePath: scripts/GenerateTestPFX.ps1
9595

9696
# Build (Product)
9797
- task: DotNetCoreCLI@2

.pipelines/azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ steps:
2828
displayName: Generate Test Signing Certificate
2929
inputs:
3030
targetType: filePath
31-
filePath: build/GenerateTestPFX.ps1
31+
filePath: scripts/GenerateTestPFX.ps1
3232

3333
- task: DotNetCoreCLI@2
3434
displayName: Build WinUI Gallery Package

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
![WinUI Gallery hero image](docs/images/WinUIGalleryLanding.PNG)
1+
![WinUI Gallery hero image](./.github/assets/ReadmeHero-dark.png)
22

3-
<h1 align="center">
4-
WinUI 3 Gallery
5-
</h1>
3+
<h1 align="center">WinUI 3 Gallery</h1>
4+
<p align="center">Companion app for <a style="text-decoration:none" href="https://docs.microsoft.com/windows/apps/winui">WinUI</a> & <a style="text-decoration:none" href="https://github.com/microsoft/WindowsAppSDK">Windows App SDK</a> APIs</p>
65

7-
[![Build Status](https://dev.azure.com/ms/microsoft-ui-xaml/_apis/build/status%2Fmicrosoft.WinUI-Gallery?branchName=main)](https://dev.azure.com/ms/microsoft-ui-xaml/_build/latest?definitionId=612&branchName=main) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/your/your-project/blob/master/LICENSE)
86

9-
### Accompanying Sample App for [WinAppSDK](https://github.com/microsoft/WindowsAppSDK)
7+
This app demonstrates all of the WinUI 3 controls and styles available to make a modern Windows app with the Windows App SDK. It is the interactive companion to the [Fluent Design guidelines](https://docs.microsoft.com/windows/apps/design/basics/) and shows the usage of [WinUI](https://docs.microsoft.com/windows/apps/winui/) through interactive samples, tools and code snippets.
8+
109

11-
This app demonstrates all of the WinUI 3 controls and styles available to make a modern Windows app with the [Windows App SDK](https://github.com/microsoft/WindowsAppSDK). It is the interactive companion to the [Fluent Design Guidelines](https://docs.microsoft.com/windows/apps/design/basics/) and shows the usage of the [WinUI](https://docs.microsoft.com/windows/apps/winui/) APIs.
1210

1311
<p align="center">
14-
<img src="docs/images/winui-gallery.png" alt="WinUI 3 Gallery" width="400"/>
12+
<img src="./.github/assets/Screenshot-light.png" alt="WinUI 3 Gallery" width="400"/>
1513
</p>
1614
<p align="center">
17-
<a href="https://apps.microsoft.com/detail/WinUI%203%20Gallery/9P3JFPWWDZRC?launch=true
18-
&mode=mini">
19-
<img alt="Store badge" src="docs/images/storeBadge.png" width="200"/>
20-
</a>
15+
<a style="text-decoration:none" href="https://apps.microsoft.com/detail/9NGHP3DX8HDX?launch=true&mode=full">
16+
<picture>
17+
<source media="(prefers-color-scheme: light)" srcset="./.github/assets/StoreBadge-dark.png" width="220" />
18+
<img src="./.github/assets/StoreBadge-light.png" width="220" />
19+
</picture></a>
2120
</p>
2221

2322
## ⭐ Features
@@ -55,7 +54,7 @@ Quick start guide to building the WinUI 3 Gallery:
5554

5655
### 2. Clone the Repository
5756

58-
```shell
57+
```powershell
5958
git clone https://github.com/microsoft/WinUI-Gallery.git
6059
```
6160

docs/images/storeBadge.png

-6.2 KB
Binary file not shown.

build/GenerateTestPfx.ps1 renamed to scripts/GenerateTestPfx.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ $cert = New-SelfSignedCertificate -Type Custom `
99
-TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")
1010

1111
$certificateBytes = $cert.Export([System.Security.Cryptography.X509Certificates.X509ContentType]::Pkcs12)
12-
[System.IO.File]::WriteAllBytes("$PSScriptRoot\WinUI-Gallery-Test.pfx", $certificateBytes)
12+
mkdir -Force "$PSScriptRoot\..\build" > $null
13+
[System.IO.File]::WriteAllBytes("$PSScriptRoot\..\build\WinUI-Gallery-Test.pfx", $certificateBytes)
File renamed without changes.

0 commit comments

Comments
 (0)