Skip to content

Commit 95803cf

Browse files
committed
Initial commit from Create Next App
0 parents  commit 95803cf

18 files changed

+1267
-0
lines changed

.gitignore

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
32+
# env files (can opt-in for committing if needed)
33+
.env*
34+
35+
# vercel
36+
.vercel
37+
38+
# typescript
39+
*.tsbuildinfo
40+
next-env.d.ts

README.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2+
3+
## Getting Started
4+
5+
First, run the development server:
6+
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
15+
```
16+
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18+
19+
You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
20+
21+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22+
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31+
32+
## Deploy on Vercel
33+
34+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35+
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.

app/favicon.ico

25.3 KB
Binary file not shown.

app/fonts/GeistMonoVF.woff

66.3 KB
Binary file not shown.

app/fonts/GeistVF.woff

64.7 KB
Binary file not shown.

app/globals.css

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
:root {
2+
--background: #ffffff;
3+
--foreground: #171717;
4+
}
5+
6+
@media (prefers-color-scheme: dark) {
7+
:root {
8+
--background: #0a0a0a;
9+
--foreground: #ededed;
10+
}
11+
}
12+
13+
html,
14+
body {
15+
max-width: 100vw;
16+
overflow-x: hidden;
17+
}
18+
19+
body {
20+
color: var(--foreground);
21+
background: var(--background);
22+
font-family: Arial, Helvetica, sans-serif;
23+
-webkit-font-smoothing: antialiased;
24+
-moz-osx-font-smoothing: grayscale;
25+
}
26+
27+
* {
28+
box-sizing: border-box;
29+
padding: 0;
30+
margin: 0;
31+
}
32+
33+
a {
34+
color: inherit;
35+
text-decoration: none;
36+
}
37+
38+
@media (prefers-color-scheme: dark) {
39+
html {
40+
color-scheme: dark;
41+
}
42+
}

app/layout.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import localFont from "next/font/local";
2+
import "./globals.css";
3+
4+
const geistSans = localFont({
5+
src: "./fonts/GeistVF.woff",
6+
variable: "--font-geist-sans",
7+
weight: "100 900",
8+
});
9+
const geistMono = localFont({
10+
src: "./fonts/GeistMonoVF.woff",
11+
variable: "--font-geist-mono",
12+
weight: "100 900",
13+
});
14+
15+
export const metadata = {
16+
title: "Create Next App",
17+
description: "Generated by create next app",
18+
};
19+
20+
export default function RootLayout({ children }) {
21+
return (
22+
<html lang="en">
23+
<body className={`${geistSans.variable} ${geistMono.variable}`}>
24+
{children}
25+
</body>
26+
</html>
27+
);
28+
}

app/page.js

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
import Image from "next/image";
2+
import styles from "./page.module.css";
3+
4+
export default function Home() {
5+
return (
6+
<div className={styles.page}>
7+
<main className={styles.main}>
8+
<Image
9+
className={styles.logo}
10+
src="/next.svg"
11+
alt="Next.js logo"
12+
width={180}
13+
height={38}
14+
priority
15+
/>
16+
<ol>
17+
<li>
18+
Get started by editing <code>app/page.js</code>.
19+
</li>
20+
<li>Save and see your changes instantly.</li>
21+
</ol>
22+
23+
<div className={styles.ctas}>
24+
<a
25+
className={styles.primary}
26+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
27+
target="_blank"
28+
rel="noopener noreferrer"
29+
>
30+
<Image
31+
className={styles.logo}
32+
src="/vercel.svg"
33+
alt="Vercel logomark"
34+
width={20}
35+
height={20}
36+
/>
37+
Deploy now
38+
</a>
39+
<a
40+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
41+
target="_blank"
42+
rel="noopener noreferrer"
43+
className={styles.secondary}
44+
>
45+
Read our docs
46+
</a>
47+
</div>
48+
</main>
49+
<footer className={styles.footer}>
50+
<a
51+
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
52+
target="_blank"
53+
rel="noopener noreferrer"
54+
>
55+
<Image
56+
aria-hidden
57+
src="/file.svg"
58+
alt="File icon"
59+
width={16}
60+
height={16}
61+
/>
62+
Learn
63+
</a>
64+
<a
65+
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
66+
target="_blank"
67+
rel="noopener noreferrer"
68+
>
69+
<Image
70+
aria-hidden
71+
src="/window.svg"
72+
alt="Window icon"
73+
width={16}
74+
height={16}
75+
/>
76+
Examples
77+
</a>
78+
<a
79+
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
80+
target="_blank"
81+
rel="noopener noreferrer"
82+
>
83+
<Image
84+
aria-hidden
85+
src="/globe.svg"
86+
alt="Globe icon"
87+
width={16}
88+
height={16}
89+
/>
90+
Go to nextjs.org →
91+
</a>
92+
</footer>
93+
</div>
94+
);
95+
}

0 commit comments

Comments
 (0)