Skip to content

Commit 5562db9

Browse files
authored
Merge branch 'main' into copilot/fix-3
2 parents 6f1a63d + 7af8b2e commit 5562db9

17 files changed

+177
-5
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["next/core-web-vitals", "next/typescript"]
3+
}

.gitignore

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
# dependencies
44
/node_modules
55
/.pnp
6-
.pnp.js
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
712

813
# testing
914
/coverage
@@ -23,10 +28,10 @@
2328
npm-debug.log*
2429
yarn-debug.log*
2530
yarn-error.log*
31+
.pnpm-debug.log*
2632

27-
# local env files
28-
.env*.local
29-
.env
33+
# env files (can opt-in for committing if needed)
34+
.env*
3035

3136
# vercel
3237
.vercel

README.md

Lines changed: 36 additions & 0 deletions
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.tsx`. 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/globals.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@import "tailwindcss";
2+
3+
:root {
4+
--background: #ffffff;
5+
--foreground: #171717;
6+
}
7+
8+
@theme inline {
9+
--color-background: var(--background);
10+
--color-foreground: var(--foreground);
11+
}
12+
13+
@media (prefers-color-scheme: dark) {
14+
:root {
15+
--background: #0a0a0a;
16+
--foreground: #ededed;
17+
}
18+
}
19+
20+
body {
21+
background: var(--background);
22+
color: var(--foreground);
23+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
24+
}

app/layout.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import type { Metadata } from "next";
2+
import "./globals.css";
3+
4+
export const metadata: Metadata = {
5+
title: "Run Until You See",
6+
description: "A Next.js webapp for run until you see functionality",
7+
};
8+
9+
export default function RootLayout({
10+
children,
11+
}: Readonly<{
12+
children: React.ReactNode;
13+
}>) {
14+
return (
15+
<html lang="en">
16+
<body className="antialiased">
17+
{children}
18+
</body>
19+
</html>
20+
);
21+
}

app/page.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
export default function Home() {
2+
return (
3+
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20">
4+
<main className="flex flex-col gap-8 row-start-2 items-center">
5+
<h1 className="text-4xl font-bold text-center">
6+
Run Until You See
7+
</h1>
8+
<p className="text-lg text-center max-w-2xl">
9+
Welcome to your Next.js webapp! This is the foundation for your &ldquo;Run Until You See&rdquo; application.
10+
</p>
11+
<div className="flex gap-4 items-center flex-col sm:flex-row">
12+
<div className="text-sm text-center sm:text-left">
13+
<p className="mb-2">
14+
Get started by editing{" "}
15+
<code className="bg-black/[.05] dark:bg-white/[.06] font-mono font-semibold px-1 py-0.5 rounded">
16+
app/page.tsx
17+
</code>
18+
</p>
19+
<p>Save and see your changes instantly.</p>
20+
</div>
21+
</div>
22+
</main>
23+
<footer className="row-start-3 flex gap-6 flex-wrap items-center justify-center text-sm">
24+
<p>Built with Next.js {" "}</p>
25+
<p></p>
26+
<p>TypeScript</p>
27+
<p></p>
28+
<p>Tailwind CSS</p>
29+
</footer>
30+
</div>
31+
);
32+
}

next.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { NextConfig } from "next";
2+
3+
const nextConfig: NextConfig = {
4+
/* config options here */
5+
};
6+
7+
export default nextConfig;

package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"format:check": "prettier --check .",
1414
"type-check": "tsc --noEmit",
1515
"setup": "./scripts/setup-dev.sh"
16+
"lint": "next lint"
1617
},
1718
"dependencies": {
1819
"next": "15.4.1",
@@ -44,4 +45,8 @@
4445
],
4546
"author": "Curtis Searle",
4647
"license": "Apache-2.0"
47-
}
48+
}
49+
"tailwindcss": "^4",
50+
"typescript": "^5"
51+
}
52+
}

0 commit comments

Comments
 (0)