Skip to content

Commit 0c5a403

Browse files
feat: add variables placeholder page to test greyness
1 parent 3e74042 commit 0c5a403

File tree

2 files changed

+65
-6
lines changed

2 files changed

+65
-6
lines changed

src/app/dashboard/page.tsx

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,21 @@ export default async function DashboardPage() {
7676

7777
{/* tutorials */}
7878
<div className="absolute bottom-16 left-1/2 -translate-x-1/2">
79-
<Link
80-
href="tutorial-hello-world"
81-
className={isHelloWorldComplete ? greenButtonClass : greyButtonClass}
82-
>
83-
Hello World
84-
</Link>
79+
<div className="flex flex-col gap-16">
80+
<Link
81+
href="tutorial-variables"
82+
className={isVariablesComplete ? greenButtonClass : greyButtonClass}
83+
>
84+
Variables
85+
</Link>
86+
87+
<Link
88+
href="tutorial-hello-world"
89+
className={isHelloWorldComplete ? greenButtonClass : greyButtonClass}
90+
>
91+
Hello World
92+
</Link>
93+
</div>
8594
</div>
8695
</main>
8796
);
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
"use client";
2+
3+
import BackToDashBoardLink from "@/components/back-to-dashboard-link";
4+
import { Cinzel } from "next/font/google";
5+
6+
const cinzel = Cinzel({
7+
subsets: ["latin"],
8+
weight: ["400", "700"],
9+
});
10+
11+
// body text (Times New Roman= more readable)
12+
const bodyFontClass = "font-serif text-amber-950";
13+
// titles (Cinzel font)
14+
const cinzelTitleClass = cinzel.className;
15+
16+
export default function TutorialHelloWorld() {
17+
return (
18+
// Background of scroll
19+
<div
20+
className="min-h-screen p-4 md:p-12"
21+
style={{
22+
backgroundImage: "url('/geminiblurred.png')",
23+
backgroundSize: "cover",
24+
backgroundPosition: "center",
25+
backgroundColor: "#fef3c7",
26+
}}
27+
>
28+
<div className="inline-block p-4" style={{ zIndex: 10 }}>
29+
<BackToDashBoardLink />
30+
</div>
31+
32+
{/* "scroll"*/}
33+
<article
34+
className={`max-w-4xl mx-auto bg-amber-100 p-8 md:p-12 shadow-2xl shadow-amber-950/70 space-y-8
35+
${bodyFontClass} border border-amber-800 transform rotate-[-0.5deg]
36+
rounded-t-[4rem] rounded-b-lg`}
37+
>
38+
{/* title*/}
39+
<h1
40+
className={`text-4xl md:text-5xl font-bold ${cinzelTitleClass}
41+
border-b-4 border-amber-900 pb-4 mb-8 text-center uppercase`}
42+
>
43+
Quest: The Artisan&apos;s Toolkit - Mastering the Variable Vaults
44+
</h1>
45+
46+
<hr className="my-8 border-amber-900/50" />
47+
</article>
48+
</div>
49+
);
50+
}

0 commit comments

Comments
 (0)