xonecas.io
4828
Sr

stream-together / commit 1a1bbd3

Initial commit

Adds scaffolding and initial folder structure.
Adds a simple landing page
Configured google font usage on the logo

sean2024-06-26 1a1bbd33b976b18e3c2053f72d8a83125cb4f545 parent d4b5959

9 files changed

.gitignore+3−0
@@ -34,3 +34,6 @@ yarn-error.log*
3434 # typescript
3535 *.tsbuildinfo
3636 next-env.d.ts
37+
38+# No need to share vscode settings
39+.vscode
app/components/logo.tsx+26−0
@@ -0,0 +1,26 @@
1+import { Pacifico } from "next/font/google";
2+import Image from "next/image";
3+
4+const pacifico = Pacifico({
5+ subsets: ["latin"],
6+ weight: "400",
7+ variable: "--font-pacifico",
8+});
9+
10+export default function Logo() {
11+ return (
12+ <div className="flex flex-col text-stone-500 pb-16 max-w-3xl">
13+ <div className="flex flex-row items-center justify-start gap-16">
14+ <Image
15+ src="/stream-together.png"
16+ alt="Stream together brand"
17+ width={100}
18+ height={100}
19+ priority
20+ />
21+ <h1 className={`${pacifico.className} text-9xl`}>Steam Together</h1>
22+ </div>
23+ <p className="self-end text-xl font-light italic">You and I, Online!</p>
24+ </div>
25+ );
26+}
app/globals.css+0−30
@@ -1,33 +1,3 @@
11 @tailwind base;
22 @tailwind components;
33 @tailwind utilities;
4-
5-:root {
6- --foreground-rgb: 0, 0, 0;
7- --background-start-rgb: 214, 219, 220;
8- --background-end-rgb: 255, 255, 255;
9-}
10-
11-@media (prefers-color-scheme: dark) {
12- :root {
13- --foreground-rgb: 255, 255, 255;
14- --background-start-rgb: 0, 0, 0;
15- --background-end-rgb: 0, 0, 0;
16- }
17-}
18-
19-body {
20- color: rgb(var(--foreground-rgb));
21- background: linear-gradient(
22- to bottom,
23- transparent,
24- rgb(var(--background-end-rgb))
25- )
26- rgb(var(--background-start-rgb));
27-}
28-
29-@layer utilities {
30- .text-balance {
31- text-wrap: balance;
32- }
33-}
app/layout.tsx+3−6
@@ -1,12 +1,9 @@
11 import type { Metadata } from "next";
2-import { Inter } from "next/font/google";
32 import "./globals.css";
43
5-const inter = Inter({ subsets: ["latin"] });
6-
74 export const metadata: Metadata = {
8- title: "Create Next App",
9- description: "Generated by create next app",
5+ title: "Stream Together",
6+ description: "You and I, online",
107 };
118
129 export default function RootLayout({
@@ -16,7 +13,7 @@ export default function RootLayout({
1613 }>) {
1714 return (
1815 <html lang="en">
19- <body className={inter.className}>{children}</body>
16+ <body className="font-sans text-stone-300 bg-stone-900">{children}</body>
2017 </html>
2118 );
2219 }
app/page.tsx+16−103
@@ -1,113 +1,26 @@
1-import Image from "next/image";
1+import Logo from "./components/logo";
22
33 export default function Home() {
44 return (
5- <main className="flex min-h-screen flex-col items-center justify-between p-24">
6- <div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex">
7- <p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
8- Get started by editing&nbsp;
9- <code className="font-mono font-bold">app/page.tsx</code>
10- </p>
11- <div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:size-auto lg:bg-none">
12- <a
13- className="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0"
14- href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
15- target="_blank"
16- rel="noopener noreferrer"
17- >
18- By{" "}
19- <Image
20- src="/vercel.svg"
21- alt="Vercel Logo"
22- className="dark:invert"
23- width={100}
24- height={24}
25- priority
26- />
27- </a>
5+ <main className="flex min-h-screen flex-col items-center justify-start p-8 gap-20">
6+ <Logo />
7+
8+ <div className="flex flex-row gap-16 text-xl justify-evenly">
9+ <div className="font-sans sm:w-1/2 w-1/6">
10+ A new exciting app to start your next adventure online! It&apos;s
11+ easy, you can do it in 3 simple steps!
2812 </div>
29- </div>
3013
31- <div className="relative z-[-1] flex place-items-center before:absolute before:h-[300px] before:w-full before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-full after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark: …
32- <Image
33- className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert"
34- src="/next.svg"
35- alt="Next.js Logo"
36- width={180}
37- height={37}
38- priority
39- />
14+ <ol className="list-decimal list-inside sm:w-1/2 w-1/6">
15+ <li>Create a new event</li>
16+ <li>Invite your guest by sharing the invite link</li>
17+ <li>Go live!</li>
18+ </ol>
4019 </div>
4120
42- <div className="mb-32 grid text-center lg:mb-0 lg:w-full lg:max-w-5xl lg:grid-cols-4 lg:text-left">
43- <a
44- href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
45- className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
46- target="_blank"
47- rel="noopener noreferrer"
48- >
49- <h2 className="mb-3 text-2xl font-semibold">
50- Docs{" "}
51- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
52- -&gt;
53- </span>
54- </h2>
55- <p className="m-0 max-w-[30ch] text-sm opacity-50">
56- Find in-depth information about Next.js features and API.
57- </p>
58- </a>
59-
60- <a
61- href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
62- className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
63- target="_blank"
64- rel="noopener noreferrer"
65- >
66- <h2 className="mb-3 text-2xl font-semibold">
67- Learn{" "}
68- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
69- -&gt;
70- </span>
71- </h2>
72- <p className="m-0 max-w-[30ch] text-sm opacity-50">
73- Learn about Next.js in an interactive course with&nbsp;quizzes!
74- </p>
75- </a>
76-
77- <a
78- href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
79- className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
80- target="_blank"
81- rel="noopener noreferrer"
82- >
83- <h2 className="mb-3 text-2xl font-semibold">
84- Templates{" "}
85- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
86- -&gt;
87- </span>
88- </h2>
89- <p className="m-0 max-w-[30ch] text-sm opacity-50">
90- Explore starter templates for Next.js.
91- </p>
92- </a>
93-
94- <a
95- href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
96- className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
97- target="_blank"
98- rel="noopener noreferrer"
99- >
100- <h2 className="mb-3 text-2xl font-semibold">
101- Deploy{" "}
102- <span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
103- -&gt;
104- </span>
105- </h2>
106- <p className="m-0 max-w-[30ch] text-balance text-sm opacity-50">
107- Instantly deploy your Next.js site to a shareable URL with Vercel.
108- </p>
109- </a>
110- </div>
21+ <button className="text-rose-100 bg-rose-500 hover:bg-rose-900 active:border-b-rose-900 border-b-8 border-b-rose-950 font-bold text-2xl p-4 rounded-xl shadow-sm shadow-stone-800">
22+ Start your event now!
23+ </button>
11124 </main>
11225 );
11326 }
public/next.svg+0−1
@@ -1 +0,0 @@
1-<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-3 …
public/stream-together.png+0−0
Binary file, not shown.
public/vercel.svg+0−1
@@ -1 +0,0 @@
1-<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v4 …
tailwind.config.ts+3−0
@@ -13,6 +13,9 @@ const config: Config = {
1313 "gradient-conic":
1414 "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
1515 },
16+ fontFamily: {
17+ pacifico: ["var(--font-pacifico)"],
18+ },
1619 },
1720 },
1821 plugins: [],