Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline update #43

Merged
merged 5 commits into from
Aug 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions packages/nextjs/components/extensions-hackathon/Timeline.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
export const Timeline = () => {
return (
<div className="flex flex-col w-full min-h-[120vh] lg:min-h-[400px] gap-3 lg:gap-5 bg-accent items-center border border-1 border-t-0 border-black p-12">
<div className="flex flex-col w-full min-h-[100vh] lg:min-h-[400px] gap-3 lg:gap-5 bg-accent items-center border border-1 border-t-0 border-black p-12">
<h1 className="text-4xl">Timeline</h1>
<div className="min-w-full lg:mt-32 flex flex-1 lg:flex-grow-0">
<div className="flex flex-col items-center lg:flex-row justify-center gap-3 lg:gap-5 flex-1">
<div className="h-[80%] w-[20px] lg:w-[80%] lg:h-[20px] bg-base-200 flex justify-between relative">
<div className="flex flex-col space-y-2 items-center absolute rotate-90 text-center lg:rotate-0 lg:-top-[68px] lg:left-[10%]">
<h2 className="m-0">Application open</h2>
<p className="m-0 font-bold mb-4">Aug 21</p>
<div className="h-[70%] w-[20px] lg:w-[80%] lg:h-[20px] bg-base-200 flex justify-between relative">
<div className="flex flex-col space-y-2 items-center absolute rotate-90 text-center lg:rotate-0 top-[5%] lg:-top-[68px] lg:left-[10%]">
<h2 className="m-0">Hackathon Starts</h2>
<p className="m-0 font-bold mb-4">Aug 20</p>
<div className="!mt-8 bg-black min-w-[28px] min-h-[1px] rotate-90"></div>
</div>
<div className="flex flex-col space-y-2 items-center absolute rotate-90 text-center top-[45%] lg:rotate-0 lg:-top-[68px] lg:left-[45%]">
<h2 className="m-0">Application closed</h2>
<p className="m-0 font-bold">Aug 23</p>
<div className="flex flex-col space-y-2 items-center absolute rotate-90 text-center top-[50%] lg:rotate-0 lg:-top-[68px] lg:left-[39%] xl:left-[50%]">
<h2 className="m-0">Submissions Closed</h2>
<p className="m-0 font-bold">Sep 2</p>
<div className="!mt-8 bg-black min-w-[28px] min-h-[1px] rotate-90"></div>
</div>
<div className="flex flex-col space-y-2 items-center absolute rotate-90 text-center bottom-0 -right-[86px] lg:rotate-0 lg:-top-[68px] lg:right-[10%]">
<h2 className="m-0">Result live</h2>
<p className="m-0 font-bold">Aug 24</p>
<div className="flex flex-col space-y-2 items-center absolute rotate-90 text-center bottom-[5%] -right-[86px] lg:rotate-0 lg:-top-[68px] lg:right-[10%]">
<h2 className="m-0">Winners Announcement</h2>
<p className="m-0 font-bold">Sep 6</p>
<div className="!mt-8 bg-black min-w-[28px] min-h-[1px] rotate-90"></div>
</div>
</div>
Expand Down
Loading