-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:fix ui alignment, add loaction and date time section
- Loading branch information
Showing
25 changed files
with
1,323 additions
and
490 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
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
38 changes: 22 additions & 16 deletions
38
src/components/EventsPage/CardComponents/PreviewCard/PreviewCard.style.jsx
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 |
---|---|---|
@@ -1,40 +1,46 @@ | ||
import tw from 'twin.macro'; | ||
import styled from 'styled-components'; | ||
import { PrimaryButton } from '@/components/shared/Typography/Buttons'; | ||
import { HeroGreenPrimaryButton, HeroPrimaryButton } from '@/components/Hero Section/styles'; | ||
|
||
export const PreviewCardContainer = styled.div` | ||
${tw`w-full h-auto max-w-[280px] xxxs:max-h-[480px] xsm:max-w-[350px] xsm:max-h-[600px] xl:max-w-[460px] xl:h-[605.6px] bg-gradient-to-b from-[#002929] to-[#22002b] rounded-lg shadow-lg border border-[#074870] flex flex-col justify-between items-center p-6 mb-16 gap-y-2`} | ||
${tw`w-full h-auto max-w-[390px] max-h-[500px] xl:h-[606px] bg-gradient-to-b from-[#002929] to-[#22002b] rounded-lg shadow-lg border border-[#074870] flex flex-col justify-between items-center p-5 mb-16 gap-y-4`} | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
box-shadow: 0 0 15px 4px rgba(255, 255, 255, 0.4); | ||
@media (max-width: 390px) { | ||
${tw`p-4`}// Adjust padding for smaller screens | ||
} | ||
`; | ||
|
||
export const PreviewCardContent = styled.div` | ||
${tw`w-full max-w-[300px] xl:max-w-[380px] text-center text-white text-xs lg:text-sm font-normal font-montserrat leading-[21px] tracking-wide`} | ||
${tw`w-full max-w-[350px] text-center text-white text-xs lg:text-sm font-normal font-montserrat leading-[21px] tracking-wide`} | ||
`; | ||
|
||
export const PreviewMoreInfoButton = styled(HeroPrimaryButton)` | ||
${tw`flex justify-center items-center w-auto h-auto pl-4 pr-4 pt-2 pb-2`} | ||
box-shadow: 0 0 5px #ff3d7f, 0 0 3px #ff3d7f, 0 0 5px #ff3d7f; | ||
transition: | ||
box-shadow 0.3s ease, | ||
transform 0.3s ease; | ||
&:hover { | ||
transform: scale(1.05); | ||
} | ||
`; | ||
|
||
export const PreviewMoreInfoButton = styled(PrimaryButton)` | ||
${tw`w-[150px]`} | ||
export const PreviewMoreInfoButton2 = styled(HeroGreenPrimaryButton)` | ||
${tw`flex justify-center items-center w-auto h-auto p-4 `} | ||
box-shadow: | ||
0 0 5px #ff3d7f, | ||
0 0 3px #ff3d7f, | ||
0 0 5px #ff3d7f; | ||
box-shadow: 0 0 5px #ffffff0d, 0 0 3px #ffffff0d, 0 0 5px #ffffff0d; | ||
transition: | ||
box-shadow 0.3s ease, | ||
transform 0.3s ease; | ||
&:hover { | ||
transform: scale(1.05); | ||
box-shadow: | ||
0 0 5px #ff3d7f, | ||
0 0 10px #ff3d7f, | ||
0 0 15px #ff3d7f, | ||
0 0 20px #ff3d7f; | ||
} | ||
`; |
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,9 @@ | ||
export const Topics = ['Rank', 'Name of college']; | ||
|
||
export const Info = [ | ||
{ Rank: '1', college: 'National Institute Of Technology', Students: '100' }, | ||
{ Rank: '2', college: 'Indian Institute Of Technology', Students: '80' }, | ||
{ Rank: '3', college: 'Birla Institute Of Technology', Students: '70' }, | ||
{ Rank: '4', college: 'Institute of Engineering and Technology', Students: '60' }, | ||
{ Rank: '5', college: 'Jawaharlal Nehru Technological University', Students: '50' }, | ||
]; |
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
Oops, something went wrong.