@@ -3,6 +3,7 @@ import Link from "next/link";
33import { createClient as createServerClient } from "../../lib/supabase/server" ;
44import { Cinzel } from "next/font/google" ;
55import checkUserCompletedQuizzes from "@/lib/checkUserCompletedQuizzes" ;
6+ import { ArrowLeft , ArrowDown , ArrowRight } from "lucide-react" ;
67
78const cinzel = Cinzel ( {
89 subsets : [ "latin" ] ,
@@ -86,43 +87,59 @@ export default async function DashboardPage() {
8687
8788 { /* Tutorials */ }
8889 < div className = "absolute bottom-16 left-1/2 -translate-x-1/2" >
89- < div className = "flex flex-col gap-6 w-64 text-center " >
90+ < div className = "grid grid-cols-[1fr_auto_1fr] gap-4 items-center w-[500px] " >
9091 < Link href = "tutorial-hello-world" className = { getButtonClass ( isHelloWorldComplete ) } >
9192 Hello World
9293 </ Link >
93-
94+ < ArrowRight className = "text-gray-400" size = { 24 } />
9495 < Link href = "tutorial-variables" className = { getButtonClass ( isVariablesComplete ) } >
9596 Variables
9697 </ Link >
9798
98- < Link href = "tutorial-user-input" className = { getButtonClass ( isUserInputComplete ) } >
99- User Input
100- </ Link >
99+ < div className = "col-span-3 flex justify-end pr-12" >
100+ < ArrowDown className = "text-gray-400" size = { 24 } />
101+ </ div >
101102
102103 < Link href = "tutorial-conditionals" className = { getButtonClass ( isConditionalsComplete ) } >
103104 Conditionals
104105 </ Link >
106+ < ArrowLeft className = "text-gray-400" size = { 24 } />
107+ < Link href = "tutorial-user-input" className = { getButtonClass ( isUserInputComplete ) } >
108+ User Input
109+ </ Link >
110+
111+ < div className = "col-span-3 flex justify-start pl-12" >
112+ < ArrowDown className = "text-gray-400" size = { 24 } />
113+ </ div >
105114
106115 < Link href = "tutorial-loops" className = { getButtonClass ( isLoopsComplete ) } >
107116 Loops
108117 </ Link >
109-
118+ < ArrowRight className = "text-gray-400" size = { 24 } />
110119 < Link href = "tutorial-math" className = { getButtonClass ( isMathComplete ) } >
111120 Math
112121 </ Link >
113122
114- < Link href = "tutorial-functions" className = { getButtonClass ( isFunctionsComplete ) } >
115- Functions
116- </ Link >
123+ < div className = "col-span-3 flex justify-end pr-12" >
124+ < ArrowDown className = "text-gray-400" size = { 24 } />
125+ </ div >
117126
118127 < Link href = "tutorial-lists-arrays" className = { getButtonClass ( isListsArraysComplete ) } >
119128 Lists & Arrays
120129 </ Link >
130+ < ArrowLeft className = "text-gray-400" size = { 24 } />
131+ < Link href = "tutorial-functions" className = { getButtonClass ( isFunctionsComplete ) } >
132+ Functions
133+ </ Link >
134+
135+ < div className = "col-span-3 flex justify-start pl-12" >
136+ < ArrowDown className = "text-gray-400" size = { 24 } />
137+ </ div >
121138
122139 < Link href = "tutorial-dictionary" className = { getButtonClass ( isDictionaryComplete ) } >
123140 Dictionary
124141 </ Link >
125-
142+ < ArrowRight className = "text-gray-400" size = { 24 } />
126143 < Link href = "tutorial-recursion" className = { getButtonClass ( isRecursionComplete ) } >
127144 Recursion
128145 </ Link >
0 commit comments