-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from jarrisondev/fix-ticket-details
Fix ticket details
- Loading branch information
Showing
10 changed files
with
83 additions
and
22 deletions.
There are no files selected for viewing
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,3 +1,4 @@ | ||
NEXT_PUBLIC_PROJECT_URL=https://uuljbqkwvruhxomkmxaj.supabase.co | ||
NEXT_PUBLIC_API_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InV1bGpicWt3dnJ1aHhvbWtteGFqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MjIzNjA1NTcsImV4cCI6MjAzNzkzNjU1N30.N42cAcYzp2Q7g2prpu1v-43_Dsk_kWwmK_-45eeNauU | ||
NEXT_PUBLIC_STORAGE_BUCKET= | ||
NEXT_PUBLIC_BASE_URL = https://aforshow-2024.vercel.app |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
'use client' | ||
import { Footer } from "@/components/Footer"; | ||
import Hero from "@/components/Hero"; | ||
import { Sponsors } from "@/components/Sponsors"; | ||
import { Ticket } from "@/components/Ticket"; | ||
import { WelcomeHero } from "@/components/WelcomeHero"; | ||
import { User } from "@/store/useUserStore"; | ||
import { apiClient } from "@/utils/supabase/client"; | ||
|
||
export default async function Page({ params: { userId } }) { | ||
const { data, error } = await apiClient.from('profiles').select('*').eq('id', userId).single(); | ||
const user = data as User | ||
|
||
return ( | ||
<div> | ||
<div className="bg-caBlurBoxes absolute left-[-100px] top-80 h-[200px] w-[200px] blur-[200px] sm:h-[300px] sm:w-[300px]"></div> | ||
<div className="bg-pattern relative flex w-full flex-col gap-[74px] overflow-hidden"> | ||
<div className="w-full absolute -bottom-20 h-[200px]"></div> | ||
<div className="bg-caBlurBoxes absolute right-[-100px] top-20 h-[400px] w-[200px] blur-[200px] sm:h-[300px] sm:w-[300px]"></div> | ||
<WelcomeHero variant="ticket"> | ||
<div className="mt-10"> | ||
<Ticket name={user?.name} avatar={user?.avatar_url} number={user?.count} /> | ||
</div> | ||
</WelcomeHero> | ||
<Sponsors /> | ||
<Footer /> | ||
</div> | ||
</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
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
|
||
html { | ||
background-color: #060606; | ||
scroll-behavior: smooth; | ||
} | ||
|
||
@layer components { | ||
|
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.