generated from GDGVIT/template
-
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.
- Loading branch information
1 parent
c21d368
commit 274297b
Showing
8 changed files
with
21 additions
and
13 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
import Image from 'next/image'; | ||
import Button from './Button'; | ||
import { FC, ReactNode } from 'react'; | ||
import fameImage from '@/assets/fame.png' | ||
import { title } from 'process'; | ||
import Card from './Card'; | ||
interface Props { | ||
title: ReactNode; | ||
i: number | ||
i: number; | ||
img: string; | ||
} | ||
const FameCard: FC<Props> = ({ title, i }) => { | ||
const FameCard: FC<Props> = ({ title, i, img }) => { | ||
return ( | ||
<Card bg={'white'} i={i}> | ||
<div className='w-full p-5 border-2 border-black rounded-md '> | ||
<Image src={fameImage} layout='responsive' width={300} height={300} alt='Logo' /> | ||
<div className='w-full border-2 border-black rounded-md aspect-square overflow-hidden'> | ||
<Image src={img} className='w-full object-cover h-auto aspect-square' width={300} height={300} alt='Logo' /> | ||
</div> | ||
<h2 className='my-3 font-mono text-3xl'> | ||
<h2 className='my-3 font-mono text-1xl'> | ||
{title} | ||
</h2> | ||
</Card> | ||
); | ||
} | ||
|
||
export default FameCard; | ||
export default FameCard; |
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 |
---|---|---|
|
@@ -55,6 +55,7 @@ const Footer: FC<Props> = ({bg}) => { | |
</h1> | ||
</div> | ||
</div> | ||
<p className='pl-2 flex gap-1 text-sm items-center'><Icon icon='mail' xsmall name='mail' link='mailto:[email protected]' /> [email protected]</p> | ||
<div className='lg:m-0 gap-3 flex justify-between'> | ||
{socials.map((social, i) => <Icon small key={"soc" + i} {...social} />)} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
[ | ||
{ | ||
"title": "Best Club Award 2020" | ||
"title": "Best Club Award 2020", | ||
"img":"/fame.png" | ||
}, | ||
{ | ||
"title": "Poll Police Project" | ||
"title": "Poll Police Project", | ||
"img":"/fame.png" | ||
}, | ||
{ | ||
"title": "Built the tech for some of India's largest college fests" | ||
"title": "Built the tech for some of India's largest college fests", | ||
"img":"/riviera.png" | ||
}, | ||
{ | ||
"title": "K number of participants" | ||
"title": "2000+ participants in events", | ||
"img":"/2000.jpeg" | ||
} | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.