Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…telligence into dev
  • Loading branch information
agrattan0820 committed Oct 16, 2023
2 parents 8e0b033 + b320b98 commit 28fa4f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
18 changes: 1 addition & 17 deletions apps/client/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default async function Home() {
<Header session={session} />
<main className="relative flex min-h-[100dvh] flex-col justify-center">
<section className="container mx-auto flex flex-col-reverse items-start justify-center gap-8 px-4 lg:flex-row lg:items-center lg:gap-24">
{runningGame ? (
{runningGame && (
<div className=" absolute left-1/2 top-16 mx-auto w-full -translate-x-1/2 sm:top-8">
<LinkSecondaryButton
href={`/room/${runningGame.roomCode}/game/${runningGame.id}`}
Expand All @@ -37,22 +37,6 @@ export default async function Home() {
Join Back Into {runningGame ? "Game" : "Room"} <FiLogIn />
</LinkSecondaryButton>
</div>
) : (
<div className="absolute left-1/2 top-16 mx-auto w-full -translate-x-1/2 text-center sm:top-8 md:hidden">
<a
href="https://www.producthunt.com/posts/artificial-unintelligence?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-artificial&#0045;unintelligence"
target="_blank"
className="mx-auto flex w-full max-w-fit items-center"
>
<img
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=419632&theme=neutral"
alt="Artificial&#0032;Unintelligence - Compete&#0032;to&#0032;create&#0032;the&#0032;funniest&#0032;AI&#0032;images&#0032;in&#0032;this&#0032;party&#0032;game | Product Hunt"
style={{ width: "250px", height: "54px" }}
width="250"
height="54"
/>
</a>
</div>
)}
<div>
<p className="mb-2">The AI Image Party Game</p>
Expand Down
13 changes: 0 additions & 13 deletions apps/client/src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@ const Footer = () => {
return (
<footer className="absolute bottom-8 left-1/2 w-full -translate-x-1/2 text-center">
<div className="flex flex-col items-center justify-center gap-2 text-xs sm:text-sm">
<a
href="https://www.producthunt.com/posts/artificial-unintelligence?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-artificial&#0045;unintelligence"
target="_blank"
className="mb-2 hidden md:inline-block"
>
<img
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=419632&theme=neutral"
alt="Artificial&#0032;Unintelligence - Compete&#0032;to&#0032;create&#0032;the&#0032;funniest&#0032;AI&#0032;images&#0032;in&#0032;this&#0032;party&#0032;game | Product Hunt"
style={{ width: "250px", height: "54px" }}
width="250"
height="54"
/>
</a>
<p>
Made with 💜 by{" "}
<a
Expand Down

0 comments on commit 28fa4f1

Please sign in to comment.