Skip to content

Commit

Permalink
Landing and angular tweaks
Browse files Browse the repository at this point in the history
Blazor partially addressed by still need .net 9 changes for full nimble support: dotnet/aspnetcore#58322 (comment)
  • Loading branch information
rajsite committed Dec 10, 2024
1 parent 54484aa commit c01a3e1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
6 changes: 5 additions & 1 deletion packages/angular-workspace/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@
}
],
"buildOptimizer": true,
"optimization": true,
"optimization": {
"styles": {
"inlineCritical": false
}
},
"sourceMap": true
},
"development": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Blazor All Components Demo - Nimble Design System - NI</title>
<meta name="description" content="Blazor demo showing all nimble components">
<base href="./" />
<link href="css/site.css" rel="stylesheet" />
<link href="Demo.Client.styles.css" rel="stylesheet" />
<link href="_content/NimbleBlazor/nimble-tokens/css/fonts.css" rel="stylesheet" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@page "/"
@page "/index.html"
@namespace Demo.Shared.Pages
@inherits LayoutComponentBase

Expand Down
6 changes: 3 additions & 3 deletions packages/site/landing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</div>
<div class="cards">
<div class="card-wrapper">
<a class="card" href="storybook/">
<a class="card" href="storybook/index.html">
<div class="icon"><img src="./images/sb.svg" width="64" height="64" alt="Storybook Logo"></div>
<div class="name">Storybook</div>
<div class="description">Browse documentation</div>
Expand All @@ -46,14 +46,14 @@
</a>
</div>
<div class="card-wrapper">
<a class="card" href="storybook/example-client-app">
<a class="card" href="storybook/example-client-app/index.html">
<div class="icon"><img src="./images/ng.svg" width="64" height="64" alt="Angular Logo"></div>
<div class="name">Angular Demo</div>
<div class="description">View the Angular demo application</div>
</a>
</div>
<div class="card-wrapper">
<a class="card" href="storybook/blazor-client-app/wwwroot/">
<a class="card" href="storybook/blazor-client-app/wwwroot/index.html">
<div class="icon"><img src="./images/blazor.svg" width="187" height="64" alt="Blazor Logo">
</div>
<div class="name">Blazor Demo</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "npm run build:landing && npm run build:eleventy",
"build:eleventy": "eleventy",
"build:landing": "tsc && vite build landing",
"build:landing": "tsc && vite --config ./vite.config.js build landing",
"pack": "npm pack",
"lint": "eslint .",
"start:eleventy": "eleventy --serve",
Expand Down
7 changes: 7 additions & 0 deletions packages/site/vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import { defineConfig } from 'vite';

// eslint-disable-next-line import/no-default-export
export default defineConfig({
base: './'
});

0 comments on commit c01a3e1

Please sign in to comment.