Skip to content

Commit 6385f59

Browse files
Update nextjs in generator
1 parent c8de236 commit 6385f59

43 files changed

Lines changed: 5668 additions & 6557 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"create-next-app": "16.1.0"
2+
"create-next-app": "16.3.3"
33
}

apps/nextjs-testing/js-nosrc-app/app/globals.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,20 @@
1010
}
1111
}
1212

13+
html {
14+
height: 100%;
15+
}
16+
1317
html,
1418
body {
1519
max-width: 100vw;
1620
overflow-x: hidden;
1721
}
1822

1923
body {
24+
min-height: 100%;
25+
display: flex;
26+
flex-direction: column;
2027
color: var(--foreground);
2128
background: var(--background);
2229
font-family: Arial, Helvetica, sans-serif;

apps/nextjs-testing/js-nosrc-app/app/layout.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ export const metadata = {
1818

1919
export default function RootLayout({ children }) {
2020
return (
21-
<html lang="en">
22-
<body className={`${geistSans.variable} ${geistMono.variable}`}>
23-
{children}
24-
</body>
21+
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
22+
<body>{children}</body>
2523
</html>
2624
);
2725
}

apps/nextjs-testing/js-nosrc-app/app/page.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export default function Home() {
1414
priority
1515
/>
1616
<div className={styles.intro}>
17-
<h1>To get started, edit the page.js file.</h1>
17+
<h1>
18+
To get started, edit the{" "}
19+
<code className={styles.code}>page.js</code> file.
20+
</h1>
1821
<p>
1922
Looking for a starting point or more instructions? Head over to{" "}
2023
<a
@@ -47,7 +50,7 @@ export default function Home() {
4750
src="/vercel.svg"
4851
alt="Vercel logomark"
4952
width={16}
50-
height={16}
53+
height={14}
5154
/>
5255
Deploy Now
5356
</a>

apps/nextjs-testing/js-nosrc-app/app/page.module.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
--button-secondary-border: #ebebeb;
1111

1212
display: flex;
13-
min-height: 100vh;
13+
flex: 1;
14+
flex-direction: column;
1415
align-items: center;
1516
justify-content: center;
1617
font-family: var(--font-geist-sans);
@@ -19,7 +20,7 @@
1920

2021
.main {
2122
display: flex;
22-
min-height: 100vh;
23+
flex: 1;
2324
width: 100%;
2425
max-width: 800px;
2526
flex-direction: column;
@@ -139,3 +140,11 @@ a.secondary {
139140
--button-secondary-border: #1a1a1a;
140141
}
141142
}
143+
144+
.code {
145+
font-family: var(--font-geist-mono);
146+
font-size: 0.9em;
147+
background: color-mix(in srgb, currentColor 8%, transparent);
148+
padding: 0.1em 0.4em;
149+
border-radius: 6px;
150+
}

0 commit comments

Comments
 (0)