Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/nextjs-testing/.generator-meta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"create-next-app": "16.1.0"
"create-next-app": "16.3.3"
}
7 changes: 7 additions & 0 deletions apps/nextjs-testing/js-nosrc-app/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@
}
}

html {
height: 100%;
}

html,
body {
max-width: 100vw;
overflow-x: hidden;
}

body {
min-height: 100%;
display: flex;
flex-direction: column;
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
Expand Down
6 changes: 2 additions & 4 deletions apps/nextjs-testing/js-nosrc-app/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ export const metadata = {

export default function RootLayout({ children }) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
</body>
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
<body>{children}</body>
</html>
);
}
7 changes: 5 additions & 2 deletions apps/nextjs-testing/js-nosrc-app/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export default function Home() {
priority
/>
<div className={styles.intro}>
<h1>To get started, edit the page.js file.</h1>
<h1>
To get started, edit the{" "}
<code className={styles.code}>page.js</code> file.
</h1>
<p>
Looking for a starting point or more instructions? Head over to{" "}
<a
Expand Down Expand Up @@ -47,7 +50,7 @@ export default function Home() {
src="/vercel.svg"
alt="Vercel logomark"
width={16}
height={16}
height={14}
/>
Deploy Now
</a>
Expand Down
13 changes: 11 additions & 2 deletions apps/nextjs-testing/js-nosrc-app/app/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
--button-secondary-border: #ebebeb;

display: flex;
min-height: 100vh;
flex: 1;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: var(--font-geist-sans);
Expand All @@ -19,7 +20,7 @@

.main {
display: flex;
min-height: 100vh;
flex: 1;
width: 100%;
max-width: 800px;
flex-direction: column;
Expand Down Expand Up @@ -139,3 +140,11 @@ a.secondary {
--button-secondary-border: #1a1a1a;
}
}

.code {
font-family: var(--font-geist-mono);
font-size: 0.9em;
background: color-mix(in srgb, currentColor 8%, transparent);
padding: 0.1em 0.4em;
border-radius: 6px;
}
Loading
Loading