-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix sidebar styling issues, add useMemo to createClient & update depe…
…ndencies
- Loading branch information
1 parent
9e4c154
commit 9ab9179
Showing
13 changed files
with
421 additions
and
413 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
import { createClient } from "@/utils/supabase/server"; | ||
import { cookies } from "next/headers"; | ||
|
||
export default async function Index() { | ||
const cookieStore = cookies(); | ||
const supabase = createClient(cookieStore); | ||
// const { data, error } = await supabase.from("users").select("email"); | ||
// console.log("� ~ Index ~ data:", data); | ||
// console.log("� ~ Index ~ error:", error); | ||
|
||
return ( | ||
<div className=""> | ||
<div> | ||
<h1>Project Dashboard</h1> | ||
|
||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
import { Button } from "./ui/button"; | ||
import AuthButton from "./AuthButton"; | ||
import MobileSidebar from "./MobileSidebar"; | ||
|
||
export default function Sidebar() { | ||
return ( | ||
<aside className="hidden min-h-svh w-52 flex-col items-start gap-2 border-r md:flex"> | ||
<section className="p-4"> | ||
<h2>Your Project</h2> | ||
{/* <Button variant="link">Project</Button> */} | ||
</section> | ||
<aside className=" hidden h-full min-w-52 flex-col items-start gap-2 border-r p-2 md:flex"> | ||
<h1 className=" self-center text-lg font-medium">GLA Project Tracker</h1> | ||
<div className=" flex h-full w-full flex-col justify-between"> | ||
<div className=" p-4"> | ||
<h2>Your Project</h2> | ||
</div> | ||
<AuthButton /> | ||
</div> | ||
</aside> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.