Skip to content

Commit

Permalink
Small tweaks on vertical positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Pabl0cks committed Aug 17, 2024
1 parent 77e48bd commit c917cb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/nextjs/components/extensions-hackathon/Timeline.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
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%]">
<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-[55%] lg:rotate-0 lg:-top-[68px] lg:left-[39%] xl:left-[50%]">
<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">Submission 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%]">
<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>
Expand Down

0 comments on commit c917cb0

Please sign in to comment.