diff --git a/.github/workflows/azure-static-web-apps-red-grass-0c741f10f.yml b/.github/workflows/azure-swa.yml similarity index 51% rename from .github/workflows/azure-static-web-apps-red-grass-0c741f10f.yml rename to .github/workflows/azure-swa.yml index a758f66..7f380bc 100644 --- a/.github/workflows/azure-static-web-apps-red-grass-0c741f10f.yml +++ b/.github/workflows/azure-swa.yml @@ -1,46 +1,42 @@ -name: Azure Static Web Apps CI/CD - -on: - push: - branches: - - main - pull_request: - types: [opened, synchronize, reopened, closed] - branches: - - main - -jobs: - build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') - runs-on: ubuntu-latest - name: Build and Deploy Job - steps: - - uses: actions/checkout@v3 - with: - submodules: true - lfs: false - - name: Build And Deploy - id: builddeploy - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_RED_GRASS_0C741F10F }} - repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) - action: "upload" - ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### - # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig - app_location: "src/Client" # App source code path - api_location: "Api" # Api source code path - optional - output_location: "wwwroot" # Built app content directory - optional - ###### End of Repository/Build Configurations ###### - - close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' - runs-on: ubuntu-latest - name: Close Pull Request Job - steps: - - name: Close Pull Request - id: closepullrequest - uses: Azure/static-web-apps-deploy@v1 - with: - azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_RED_GRASS_0C741F10F }} - action: "close" +name: Azure Static Web Apps CI/CD + +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened, closed] + branches: + - main + +jobs: + build_and_deploy_job: + if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v3 + with: + submodules: true + lfs: false + - name: Build And Deploy + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_SWA_TOKEN }} + repo_token: ${{ secrets.GITHUB_TOKEN }} + action: "upload" + app_location: "src/Client" + output_location: "wwwroot" + + close_pull_request_job: + if: github.event_name == 'pull_request' && github.event.action == 'closed' + runs-on: ubuntu-latest + name: Close Pull Request Job + steps: + - name: Close Pull Request + id: closepullrequest + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_SWA_TOKEN }} + action: "close" diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..d9323d6 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "ms-dotnettools.csharp", + "ms-vscode.azure-account", + "ms-azuretools.vscode-azurestaticwebapps", + "ms-azuretools.vscode-azureresourcegroups" + ] +} diff --git a/src/Client/Components/Pages/Home.razor b/src/Client/Components/Pages/Home.razor index b6da113..ead8b68 100644 --- a/src/Client/Components/Pages/Home.razor +++ b/src/Client/Components/Pages/Home.razor @@ -2,7 +2,7 @@ @inject IHttpClientFactory ClientFactory @inject NavigationManager NavigationManager -Microsoft Graveyard +Microsoft Graveyard | The virtual graveyard for all products killed by Microsoft diff --git a/src/Client/wwwroot/index.html b/src/Client/wwwroot/index.html index d08293d..2f1e900 100644 --- a/src/Client/wwwroot/index.html +++ b/src/Client/wwwroot/index.html @@ -4,7 +4,7 @@ - Microsoft Graveyard + Microsoft Graveyard | The virtual graveyard for all products killed by Microsoft diff --git a/src/Client/wwwroot/styles/app.css b/src/Client/wwwroot/styles/app.css index 60087bf..d73ddfe 100644 --- a/src/Client/wwwroot/styles/app.css +++ b/src/Client/wwwroot/styles/app.css @@ -13,7 +13,6 @@ sans-serif; --bg-threads: radial-gradient(circle at 30% 107%, #ffd600 0%, #ffd600 10%, #ff7a00 20%, #ff0069 50%, #d300c5 75%, #7638fa 90%); - --bg-linkedin: #0077B5; --bg-github: #333333; } @@ -40,10 +39,6 @@ footer { height: 64px; } -.navmenu-icon { - display: none; -} - a, .btn-link { color: white; @@ -61,7 +56,6 @@ a:hover { padding: 5px; } - #blazor-error-ui { background: lightyellow; bottom: 0; @@ -102,14 +96,14 @@ a:hover { .loading-progress circle { fill: none; - stroke: #e0e0e0; + stroke: #fafafa; stroke-width: 0.6rem; transform-origin: 50% 50%; transform: rotate(-90deg); } .loading-progress circle:last-child { - stroke: #1b6ec2; + stroke: black; stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%; transition: stroke-dasharray 0.05s ease-in-out; } @@ -128,51 +122,3 @@ a:hover { code { color: #c02d76; } - -@media (max-width: 600px) { - .main { - flex-direction: column !important; - row-gap: 0 !important; - } - - nav.sitenav { - width: 100%; - height: 100%; - } - - #main-menu { - width: 100% !important; - } - - #main-menu>div:first-child:is(.expander) { - display: none; - } - - .navmenu { - width: 100%; - } - - #navmenu-toggle { - appearance: none; - } - - #navmenu-toggle~nav { - display: none; - } - - #navmenu-toggle:checked~nav { - display: block; - } - - .navmenu-icon { - cursor: pointer; - z-index: 10; - display: block; - position: absolute; - top: 15px; - right: 20px; - width: 20px; - height: 20px; - border: none; - } -}