Skip to content

Commit

Permalink
hahahahh
Browse files Browse the repository at this point in the history
  • Loading branch information
NishantGupt786 committed Mar 7, 2024
1 parent 1c7b42e commit 595b5eb
Show file tree
Hide file tree
Showing 8 changed files with 842 additions and 442 deletions.
400 changes: 258 additions & 142 deletions devsoc24-portal-fe/src/app/edit-idea/edit-idea-form.tsx

Large diffs are not rendered by default.

22 changes: 14 additions & 8 deletions devsoc24-portal-fe/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ export default function HomePage() {
modalType: "JoinTeam",
},
];
const ideaCard = [{
text: "Submit An Idea",
showModal: true,
modalType:"IdeaSubmit",
routeTo: "/submit-idea",
}]
const ideaCard = [
{
text: "View Idea",
showModal: true,
modalType: "IdeaSubmit",
},
{
text: "Submit Idea",
showModal: false,
routeTo: "/submit-idea",
},
];
const router = useRouter();

// useEffect(() => {
Expand All @@ -37,12 +43,12 @@ export default function HomePage() {
// }
// });
return (
<main className="flex min-h-screen flex-col items-start bg-[#F4F5FA] overflow-x-hidden">
<main className="flex min-h-screen flex-col items-start overflow-x-hidden bg-[#F4F5FA]">
<div className="flex h-[10%] w-full items-center gap-x-8 bg-background px-6 py-2">
<Logo className="h-9/10 w-auto" />
<Image src={Dashtitle as HTMLImageElement} alt="title" />
</div>
<div className="mt-4 flex flex-col md:flex-row md:flex-wrap gap-4 w-full px-4">
<div className="mt-4 flex w-full flex-col gap-4 px-4 md:flex-row md:flex-wrap">
<CustomCard
title="Your Devsoc Team"
cardImage="teamCardImg"
Expand Down
6 changes: 3 additions & 3 deletions devsoc24-portal-fe/src/app/submit-idea/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import Logo from "@/components/logo";
import Dashtitle from "@/assets/images/titleDashboard.svg";
import active from "@/assets/images/active.svg"
import SubmitIdeaForm from "./submit-idea-form";
import { ArrowLeft } from 'lucide-react';
import Link from "next/link";

export default function Page() {
return (
Expand All @@ -14,14 +16,12 @@ export default function Page() {
<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]" />
<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>
)
}
Loading

0 comments on commit 595b5eb

Please sign in to comment.