File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed
Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default async function ProfilePage() {
2222 }
2323
2424 // Fetch user profile from database
25- const { data : profile , error : profileError } = await supabase
25+ const { data : profile } = await supabase
2626 . from ( 'profiles' )
2727 . select ( 'class' )
2828 . eq ( 'id' , user . id )
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export default function TutorialConditionals() {
6767 A conditional is a question about the world that leads to different outcomes. It looks like:
6868 </ p >
6969 < p className = "text-lg font-mono bg-amber-200 px-2 py-1 rounded border border-amber-800" >
70- " If this condition is true, do A; otherwise, do B."
70+ " If this condition is true, do A; otherwise, do B."
7171 </ p >
7272 < p className = "text-lg" >
7373 The condition is usually a comparison—like checking if < strong > health ≤ 0</ strong >
@@ -87,7 +87,7 @@ export default function TutorialConditionals() {
8787 < strong className = "font-semibold text-amber-950" > Logic:</ strong > Real programs rarely do the same thing every time. They react.
8888 </ li >
8989 < li >
90- < strong className = "font-semibold text-amber-950" > Safety:</ strong > You can prevent bad actions, e.g., " Only open the gate if the password is correct."
90+ < strong className = "font-semibold text-amber-950" > Safety:</ strong > You can prevent bad actions, e.g., " Only open the gate if the password is correct."
9191 </ li >
9292 < li >
9393 < strong className = "font-semibold text-amber-950" > Complexity:</ strong > By chaining conditions, you can describe rich behavior without writing separate programs.
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ export default function TutorialDictionary() {
7171
7272 < ul className = "list-disc list-inside space-y-2 text-lg pl-4" >
7373 < li >
74- < strong > Key:</ strong > the label (like " health", " name", " attackPower" )
74+ < strong > Key:</ strong > the label (like " health", " name", " attackPower" )
7575 </ li >
7676 < li >
77- < strong > Value:</ strong > the data tied to that label (like 100, " Astra" , 25)
77+ < strong > Value:</ strong > the data tied to that label (like 100, " Astra" , 25)
7878 </ li >
7979 < li >
8080 You use the key to get the value, just like looking up a word in a real dictionary.
@@ -91,7 +91,7 @@ export default function TutorialDictionary() {
9191 </ h2 >
9292 < ul className = "list-disc list-inside space-y-3 text-lg pl-4" >
9393 < li >
94- < strong className = "font-semibold text-amber-950" > Clarity:</ strong > " health" is more readable than stats[0].
94+ < strong className = "font-semibold text-amber-950" > Clarity:</ strong > " health" is more readable than stats[0].
9595 </ li >
9696 < li >
9797 < strong className = "font-semibold text-amber-950" > Flexibility:</ strong > You can add and remove keys without worrying about numeric positions.
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default function TutorialUserInput() {
4848 </ h1 >
4949
5050 < p className = "text-xl italic text-amber-900" >
51- Brave coder! You' ve mastered the greeting (< strong > Hello World</ strong > ) and learned to
51+ Brave coder! You' ve mastered the greeting (< strong > Hello World</ strong > ) and learned to
5252 command the power of < strong > Variables</ strong > . But a true digital fortress does not only
5353 speak… it listens.
5454 </ p >
@@ -121,9 +121,9 @@ Character_Name = input("What name shall be etched onto your armor?")`}</code>
121121 </ pre >
122122
123123 < p className = "text-lg" >
124- If the user types < strong > " Kaelen" </ strong > and presses Enter, the value{ " " }
124+ If the user types < strong > " Kaelen" </ strong > and presses Enter, the value{ " " }
125125 < code className = "font-mono bg-amber-200 px-1 rounded border border-amber-800" >
126- " Kaelen"
126+ " Kaelen"
127127 </ code > { " " }
128128 is instantly sealed into the variable < strong > Character_Name</ strong > .
129129 </ p >
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default function TutorialVariables() {
4343
4444 < p className = "text-xl italic text-amber-900" >
4545 Welcome back, brave coder! Having successfully performed the first incantation,{ " " }
46- < strong className = "font-extrabold text-amber-950" > " Hello World" </ strong > , you proved you
46+ < strong className = "font-extrabold text-amber-950" > " Hello World" </ strong > , you proved you
4747 can command the machine. Now your journey deepens. To build living, breathing digital
4848 worlds, you must learn to store and change the information that powers them. This is the
4949 Variable Quest.
@@ -75,13 +75,13 @@ export default function TutorialVariables() {
7575 .
7676 </ li >
7777 < li >
78- < strong className = "font-semibold text-amber-950" > The Value:</ strong > What’ s stored
79- inside—such as < em > 100</ em > , < em > " Alex" </ em > , or < em > 15</ em > .
78+ < strong className = "font-semibold text-amber-950" > The Value:</ strong > What' s stored
79+ inside—such as < em > 100</ em > , < em > " Alex" </ em > , or < em > 15</ em > .
8080 </ li >
8181 </ ul >
8282
8383 < p className = "text-lg" >
84- Variables can change over time as your program runs, which is why they' re called
84+ Variables can change over time as your program runs, which is why they' re called
8585 < em > variables</ em > .
8686 </ p >
8787 </ section >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export async function updateSession(request: NextRequest) {
1515 return request . cookies . getAll ( ) ;
1616 } ,
1717 setAll ( cookiesToSet ) {
18- cookiesToSet . forEach ( ( { name, value, options } ) => request . cookies . set ( name , value ) ) ;
18+ cookiesToSet . forEach ( ( { name, value } ) => request . cookies . set ( name , value ) ) ;
1919 supabaseResponse = NextResponse . next ( {
2020 request,
2121 } ) ;
You can’t perform that action at this time.
0 commit comments