-
-
Notifications
You must be signed in to change notification settings - Fork 20
Created new design events portion #146
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
Open
debjit
wants to merge
26
commits into
the-hustle-home-page
Choose a base branch
from
RP-144
base: the-hustle-home-page
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e91bb90
Created new design events
debjit eb4f58a
Extracted react event section from MediaLayout
debjit b626bfe
Color is showing different in preview.
debjit 7bb7d6d
Updated View All Links
debjit f01aa06
Removed unused code from MediaLayout
debjit f03b6be
Removing font body class added by me.
debjit 3f2567d
Created event section and card with demo data
debjit f34f66e
Footer updated, and it is same for every page
debjit f2e5b87
fix: remove redundant expression
joypoddar 7a60ad6
chore: update events
joypoddar 0cb4e9b
Updated a lot, refer demo or read changes.
debjit e9ebe27
commented-some-unused-codes
debjit d1e838f
Merge branch 'the-hustle-home-page' into RP-144
debjit a282e7c
Updated event and event page with latest logo
debjit b348cbc
Logs Deleted
debjit d43d1b6
Changged to static color for slogan and date
debjit e59b2a6
Link open in new window
debjit 1f68799
Every page can chose there own menu
debjit ae7ded7
Added react play logo to absolute left position
debjit 974734a
added menu links to the layout
debjit a76c49e
wip
debjit 545925f
Merge branch 'the-hustle-home-page' into RP-144
debjit d795e32
Updated header reference
debjit 1f5f7a7
Updated to work with current setup
debjit 9894d36
quick update to style and content
koustov d6991bd
style update
koustov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,38 @@ | ||
| import Image from "next/image"; | ||
| import Link from "next/link"; | ||
| import React from "react"; | ||
|
|
||
| function EventCard({ event }) { | ||
| return ( | ||
| <Link href={event.link || `/events/${event.id}/${event.name}`}> | ||
| <a target={event.external ? "_blank" : undefined}> | ||
| <article className="w-[360px] cursor-pointer hover:scale-105 transition-all"> | ||
| <div className="bg-[#010426] py-28 px-8 rounded-3xl h-[300px] w-[360px]"> | ||
| <Image | ||
| src={require(`/public/logos/${event.logo}`)} | ||
| alt={`${event.name} Banner Logo`} | ||
| layout="responsive" | ||
| width={296} | ||
| height={40} | ||
| /> | ||
| {/* Not sure that we need this section on a logo / banner */} | ||
| <div className={`grid grid-cols-3 mt-1 border border-[#66fec9]`}> | ||
| <div | ||
| className={`col-span-2 text-[#66fec9] font-medium px-1 text-[10px] flex items-center justify-center uppercase`} | ||
| > | ||
| {event.slogan.title} | ||
| </div> | ||
| <div | ||
| className={`text-black bg-[#66fec9] px-1 text-[10px] flex items-center justify-center uppercase`} | ||
| > | ||
| {event.duration} | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </article> | ||
| </a> | ||
| </Link> | ||
| ); | ||
| } | ||
|
|
||
| export default EventCard; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.