generated from t3-oss/create-t3-turbo
-
-
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.
* coming soon * more coming soon * tweak things around coming soon
- Loading branch information
1 parent
9fd1f34
commit 4aef35c
Showing
12 changed files
with
105 additions
and
46 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
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,13 +1,17 @@ | ||
import type { Metadata } from "next"; | ||
|
||
import ComingSoon from "~/components/coming-soon"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Analytics", | ||
}; | ||
|
||
export default function Analytics() { | ||
export default function PlayersPage() { | ||
return ( | ||
<div> | ||
<h1>Analytics</h1> | ||
</div> | ||
<ComingSoon title={"Analytics"}> | ||
<div className="flex flex-col items-center"> | ||
<h2>"Analytics is under construction</h2> | ||
</div> | ||
</ComingSoon> | ||
); | ||
} |
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,11 @@ | ||
import ComingSoon from "~/components/coming-soon"; | ||
|
||
export default function DashboardPokemon() { | ||
return ( | ||
<div> | ||
<h1>DASHBOARD POKEMON PAGE</h1> | ||
</div> | ||
<ComingSoon title="Pokemon"> | ||
<div className="flex flex-col items-center"> | ||
<h2>Pokemon Team Management is under construction</h2> | ||
</div> | ||
</ComingSoon> | ||
); | ||
} |
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,11 @@ | ||
import ComingSoon from "~/components/coming-soon"; | ||
|
||
export default function TournamentHistory() { | ||
return ( | ||
<div> | ||
<h1>Tournament History</h1> | ||
</div> | ||
<ComingSoon title="Tournament History"> | ||
<div className="flex flex-col items-center"> | ||
<h2>Tournament History is under construction</h2> | ||
</div> | ||
</ComingSoon> | ||
); | ||
} |
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 |
---|---|---|
@@ -1,19 +1,11 @@ | ||
import PlayersTable from "~/app/players/players-table"; | ||
import { getProfiles } from "~/app/server-actions/profiles/actions"; | ||
import ComingSoon from "~/components/coming-soon"; | ||
|
||
const columns = [ | ||
{ | ||
key: "username", | ||
label: "Username", | ||
}, | ||
{ | ||
key: "pronouns", | ||
label: "Pronouns", | ||
}, | ||
]; | ||
|
||
export default async function PlayersPage() { | ||
const players = await getProfiles(); | ||
|
||
return <PlayersTable columns={columns} players={players} />; | ||
export default function PlayersPage() { | ||
return ( | ||
<ComingSoon title={"Player Profiles"}> | ||
<div className="flex flex-col items-center"> | ||
<h2>Player profiles are under construction</h2> | ||
</div> | ||
</ComingSoon> | ||
); | ||
} |
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,22 @@ | ||
import type { ReactNode } from "react"; | ||
|
||
interface ComingSoonProps { | ||
title: string; | ||
children: ReactNode; | ||
} | ||
export default function ComingSoon({ | ||
title, | ||
children, | ||
}: Readonly<ComingSoonProps>) { | ||
return ( | ||
<div className="flex min-h-screen flex-col pt-4"> | ||
<div className="animate-fade-in space-y-6 rounded-xl bg-white/10 p-8 text-center shadow-xl backdrop-blur-lg"> | ||
<div className="space-y-2"> | ||
<h1 className="text-4xl font-bold">{title}</h1> | ||
{children} | ||
</div> | ||
<p className="text-xl">Coming Soon</p> | ||
</div> | ||
</div> | ||
); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4aef35c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nextjs – ./
nextjs-battlestadium.vercel.app
nextjs-git-main-battlestadium.vercel.app
battlestadium.gg
www.battlestadium.gg