Skip to content

Commit

Permalink
changes made
Browse files Browse the repository at this point in the history
  • Loading branch information
Abh1noob committed Mar 14, 2024
1 parent 1d2f25b commit 096be3e
Show file tree
Hide file tree
Showing 6 changed files with 254 additions and 212 deletions.
11 changes: 6 additions & 5 deletions devsoc24-portal-fe/src/app/home/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,14 @@ export default function HomePage() {
<>
<ToastContainer />
<main className="max-w-screen flex h-fit flex-col items-start overflow-x-hidden bg-[#F4F5FA] lg:h-screen">
<div className="flex h-[10%] w-full items-center justify-between gap-x-8 bg-background px-6 py-2">
<div className="flex flex-row gap-8">
<Logo className="h-9/10 w-auto" />
<Image src={Dashtitle as HTMLImageElement} alt="title" />
<div className="flex h-[8vh] w-full items-center justify-between gap-x-8 bg-background px-2 lg:px-6 py-2">
<div className="flex flex-row lg:gap-8 gap-4">
<Logo className="h-9/10 w-auto scale-[0.75] lg:scale-[1] " />
<Image src={Dashtitle as HTMLImageElement} alt="title" className="lg:w-auto w-[30vw]"/>

</div>
<DropdownMenu>
<DropdownMenuTrigger className="mr-10">
<DropdownMenuTrigger className="mr-2 lg:mr-10">
{/* This bkl is causing Hydration Error */}
{/* <Button variant="ghost" size="icon">
<User />
Expand Down
37 changes: 34 additions & 3 deletions devsoc24-portal-fe/src/app/submit-idea/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ export default function Page() {
return (
<>
<main className="flex h-[200%] flex-col items-start overflow-x-hidden bg-[#F4F5FA] min-[931px]:h-[100vh] min-[931px]:min-h-screen">
<div className="flex h-[10%] w-full items-center gap-x-8 bg-background px-3 py-2">
<Logo className="h-9/10 w-auto" />
<Image src={Dashtitle as HTMLImageElement} alt="title" />
{/* OG CODE */}
{/* <div className="flex flex-row gap-4 lg:gap-8 bg-white w-full">
<Logo className="h-9/10 w-auto scale-[0.75] lg:scale-[1] " />
<Image
src={Dashtitle as HTMLImageElement}
alt="title"
className="w-[30vw] lg:w-auto"
/>
</div>
<div className="flex h-[100vh] w-[4.7rem] items-start justify-center gap-x-8 bg-background px-6 py-2 pt-12 max-[445px]:w-[3.7rem]">
<Link href="/home">
Expand All @@ -25,7 +30,33 @@ export default function Page() {
Idea Submission For Devsoc24
</p>
<SubmitIdeaForm />
</div> */}

{/* I Like this one */}
<div className="flex flex-col">
<div className="flex h-[8vh] w-full flex-row justify-center gap-4 bg-white lg:gap-8 px-6">
<Link href="/home" className="self-center fixed left-10">
<ArrowLeft className="text-[#0019FF]" />
</Link>
<div className="flex flex-row items-center">
<Logo className="h-9/10 w-auto scale-[0.75] lg:scale-[1] " />
<Image
src={Dashtitle as HTMLImageElement}
alt="title"
className="w-[30vw] lg:w-auto"
/>
</div>
</div>
<div className="">
<p className="mb-4 text-4xl font-medium text-black text-center m-4 md:my-12">
Idea Submission For Devsoc24
</p>
<div className="">
<SubmitIdeaForm />
</div>
</div>
</div>

</main>
</>
);
Expand Down
Loading

0 comments on commit 096be3e

Please sign in to comment.