Skip to content

Commit

Permalink
fix: colors on light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Sep 30, 2023
1 parent eb71990 commit 55d0c5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/website/src/app/cases/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,19 @@ export default async function Page({ params }: { params: { id: string } }) {

const { user, cases } = await caseData.json();

if (!user) {
return <div className="mx-auto max-w-5xl gap-2 p-8">No user found.</div>;
}

return (
<div className="mx-auto flex max-w-5xl flex-col gap-2 px-4 pb-8 md:flex-row md:gap-8">
<div className="from-dark-800 from-82% md:bg-dark-800 sticky top-0 w-full place-self-center bg-gradient-to-b py-8 md:w-auto md:place-self-start">
<div className="dark:from-dark-800 from-82% dark:md:bg-dark-800 sticky top-0 w-full place-self-center bg-gradient-to-b from-white py-8 md:w-auto md:place-self-start md:bg-white">
<UserDisplay user={user} />
</div>

<div className="flex w-full flex-col gap-4 md:pt-8">
{cases.map((case_: any) => (
<div key={case_.case_id} className="bg-dark-400 rounded-lg p-4">
<div key={case_.case_id} className="bg-light-600 dark:bg-dark-400 rounded-lg p-4">
<div>Case: {case_.case_id}</div>
<div>Reason: {case_.reason}</div>
</div>
Expand Down

1 comment on commit 55d0c5e

@vercel
Copy link

@vercel vercel bot commented on 55d0c5e Sep 30, 2023

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:

yuudachi – ./apps/website

yuudachi.vercel.app
yuudachi-discordjs.vercel.app
yuudachi-git-main-discordjs.vercel.app
yuudachi.dev
www.yuudachi.dev

Please sign in to comment.