-
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 #94 from BacPacNet/v2-landing-page
added footer
- Loading branch information
Showing
9 changed files
with
128 additions
and
31 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import Image from 'next/image' | ||
import React from 'react' | ||
import eventImage from '@assets/event-image.jpg' | ||
import format from 'date-fns/format' | ||
import LoginButtons from '@/components/atoms/LoginButtons' | ||
|
||
export default function UpcomingEvent({ eventDate = '29/07/2024' }) { | ||
return ( | ||
<div> | ||
<p className="text-neutral-700 text-xs font-semibold">Upcoming Event</p> | ||
<div className="pt-6 pb-4"> | ||
<Image src={eventImage} alt="eventImage" /> | ||
</div> | ||
<div className="flex gap-3 items-center pb-4"> | ||
<div className="shadow-medium w-[50px] h-[50px] rounded-lg border-[1px] border-neutral-200 flex flex-col justify-center items-center"> | ||
<p className="text-neutral-400 text-xs font-extrabold">{format(new Date(2024, 1, 11), 'MMM')}</p> | ||
<p className="text-primary-500 text-sm font-extrabold">{format(new Date(2024, 8, 29), 'dd')}</p> | ||
</div> | ||
<div> | ||
<p className="text-xs font-normal text-neutral-700">TECHNO FEST 2024 Live </p> | ||
<p className="text-[10px] font-normal text-neutral-700">Lorem University</p> | ||
</div> | ||
</div> | ||
<div className="text-right"> | ||
<LoginButtons variant="primary" size="extra_small"> | ||
Check Post | ||
</LoginButtons> | ||
</div> | ||
</div> | ||
) | ||
} |
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