Skip to content

Commit 4fb3db7

Browse files
committed
Update React Links
1 parent 5f9ac10 commit 4fb3db7

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

MyApp/Pages/React/Index.cshtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,9 @@ import ReactCallout from "/pages/components/ReactCallout.mjs"
568568
import ReactCopilotTemplates from "/pages/components/ReactCopilotTemplates.mjs"
569569
570570
export const Index = [
571-
template('react-vite', 'React Vite', 'ReactNative',['spa', 'empty']),
572-
template('nextjs', 'Next.js', 'NextjsNative',['static', 'featured']),
573-
template('react-spa', 'React SPA', 'ReactNative',['spa','featured']),
571+
template('react-static', 'React Static', 'ReactNative',['vite', 'static'], "react-static.react-templates.net"),
572+
template('nextjs', 'Next.js', 'NextjsNative',['static', 'featured'], "nextjs.react-templates.net"),
573+
template('react-spa', 'React SPA', 'ReactNative',['spa','featured'], "react-spa.react-templates.net"),
574574
].reduce((acc, template) => { acc[template.repo] = template; return acc}, {})
575575
576576
@@ -583,7 +583,7 @@ const App = {
583583
},
584584
template: `
585585
<div class="max-w-screen-lg">
586-
<Templates :templates="[Index['react-vite'],Index['nextjs'],Index['react-spa']]" />
586+
<Templates :templates="[Index['react-static'],Index['nextjs'],Index['react-spa']]" />
587587
588588
<ReactCopilotTemplates class="mt-12" />
589589
@@ -601,8 +601,8 @@ const App = {
601601
`,
602602
setup() {
603603
const screenshots = {
604-
'React Vite - Light Mode': '/img/posts/react/react-vite.webp',
605-
'React Vite - Dark Mode': '/img/posts/react/react-vite-dark.webp',
604+
'React Static - Light Mode': '/img/posts/react/react-static.webp',
605+
'React Static - Dark Mode': '/img/posts/react/react-static-dark.webp',
606606
'React SPA - Light Mode': '/img/posts/react/react-spa.webp',
607607
'React SPA - Dark Mode': '/img/posts/react/react-spa-dark.webp',
608608
'Next.js - Light Mode': '/img/posts/react/nextjs.webp',

MyApp/wwwroot/css/app.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
--color-black: #000;
140140
--color-white: #fff;
141141
--spacing: 0.25rem;
142-
--breakpoint-sm: 40rem;
143142
--breakpoint-md: 48rem;
144143
--breakpoint-lg: 64rem;
145144
--breakpoint-xl: 80rem;
@@ -914,9 +913,6 @@
914913
.mb-32 {
915914
margin-bottom: calc(var(--spacing) * 32);
916915
}
917-
.mb-40 {
918-
margin-bottom: calc(var(--spacing) * 40);
919-
}
920916
.mb-\[-2px\] {
921917
margin-bottom: -2px;
922918
}
25.3 KB
Loading
23.1 KB
Loading

0 commit comments

Comments
 (0)