generated from CodeChefVIT/template
-
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.
Merge pull request #13 from NishantGupt786/master
FAT PR
- Loading branch information
Showing
9 changed files
with
950 additions
and
747 deletions.
There are no files selected for viewing
518 changes: 292 additions & 226 deletions
518
devsoc24-portal-fe/src/app/edit-idea/edit-idea-form.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
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,27 +1,32 @@ | ||
"use client" | ||
|
||
"use client"; | ||
import Image from "next/image"; | ||
import Logo from "@/components/logo"; | ||
import Dashtitle from "@/assets/images/titleDashboard.svg"; | ||
import active from "@/assets/images/active.svg" | ||
import { ToastContainer, toast } from "react-toastify"; | ||
import { ArrowLeft } from "lucide-react"; | ||
import Link from "next/link"; | ||
import EditIdeaForm from "./edit-idea-form"; | ||
|
||
export default function Page() { | ||
return ( | ||
<main className="flex min-[931px]:min-h-screen flex-col min-[931px]:h-[100vh] h-[200%] items-start bg-[#F4F5FA] overflow-x-hidden"> | ||
<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" /> | ||
</div> | ||
<div className="flex h-[100vh] w-[4.7rem] max-[445px]:w-[3.7rem] items-start justify-center gap-x-8 bg-background px-6 py-2 pt-12"> | ||
<Image src={active as HTMLImageElement} alt="title" className="scale-150 max-[445px]:scale-[3.5]" /> | ||
</div> | ||
<div className="mt-[11vh] ml-[4.7rem] max-[445px]:ml-[3.7rem] absolute pt-5 pl-5 bg-[#F4F5FA] w-[91.9vw] flex flex-col max-[931px]:justify-center "> | ||
<p className="text-black text-4xl font-medium mb-4">Edit Your Idea For Devsoc24</p> | ||
<EditIdeaForm /> | ||
</div> | ||
|
||
|
||
</main> | ||
) | ||
} | ||
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" /> | ||
</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="/"> | ||
<ArrowLeft className="text-[#0019FF]" /> | ||
</Link> | ||
</div> | ||
<div className="absolute ml-[4.7rem] mt-[11vh] flex w-[91.9vw] flex-col bg-[#F4F5FA] pl-5 pt-5 max-[931px]:justify-center max-[445px]:ml-[3.7rem] "> | ||
<p className="mb-4 text-4xl font-medium text-black"> | ||
Idea Submission For Devsoc24 | ||
</p> | ||
<EditIdeaForm /> | ||
</div> | ||
</main> | ||
</> | ||
); | ||
} |
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,27 +1,33 @@ | ||
"use client" | ||
"use client"; | ||
|
||
import Image from "next/image"; | ||
import Logo from "@/components/logo"; | ||
import Dashtitle from "@/assets/images/titleDashboard.svg"; | ||
import active from "@/assets/images/active.svg" | ||
import { ToastContainer, toast } from "react-toastify"; | ||
import SubmitIdeaForm from "./submit-idea-form"; | ||
import { ArrowLeft } from 'lucide-react'; | ||
import { ArrowLeft } from "lucide-react"; | ||
import Link from "next/link"; | ||
|
||
export default function Page() { | ||
return ( | ||
<main className="flex min-[931px]:min-h-screen flex-col min-[931px]:h-[100vh] h-[200%] items-start bg-[#F4F5FA] overflow-x-hidden"> | ||
<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" /> | ||
</div> | ||
<div className="flex h-[100vh] w-[4.7rem] max-[445px]:w-[3.7rem] items-start justify-center gap-x-8 bg-background px-6 py-2 pt-12"> | ||
<Link href="/"><ArrowLeft className="text-[#0019FF]" /></Link> | ||
</div> | ||
<div className="mt-[11vh] ml-[4.7rem] max-[445px]:ml-[3.7rem] absolute pt-5 pl-5 bg-[#F4F5FA] w-[91.9vw] flex flex-col max-[931px]:justify-center "> | ||
<p className="text-black text-4xl font-medium mb-4">Submit An Idea For Devsoc24</p> | ||
<SubmitIdeaForm /> | ||
</div> | ||
</main> | ||
) | ||
} | ||
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" /> | ||
</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="/"> | ||
<ArrowLeft className="text-[#0019FF]" /> | ||
</Link> | ||
</div> | ||
<div className="absolute ml-[4.7rem] mt-[11vh] flex w-[91.9vw] flex-col bg-[#F4F5FA] pl-5 pt-5 max-[931px]:justify-center max-[445px]:ml-[3.7rem] "> | ||
<p className="mb-4 text-4xl font-medium text-black"> | ||
Idea Submission For Devsoc24 | ||
</p> | ||
<SubmitIdeaForm /> | ||
</div> | ||
</main> | ||
</> | ||
); | ||
} |
Oops, something went wrong.