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.
feat: added blog section and header animations
- Loading branch information
Showing
10 changed files
with
137 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import Link from 'next/link' | ||
import React from 'react' | ||
|
||
type Props = { | ||
name: string, | ||
by: string, | ||
link: string | ||
} | ||
|
||
const BlogListItem = ({ name, by, link }: Props) => { | ||
return ( | ||
<div className='flex justify-between p-5 border-b-2 border-black first-of-type:border-t-2'> | ||
<div className='flex flex-col px-2 text-lg'> | ||
<h2> | ||
{name} | ||
</h2> | ||
<p className='text-sm font-thin'>A blog by {by}</p> | ||
</div> | ||
<div> | ||
<Link href={link} className='whitespace-nowrap'> | ||
View → | ||
</Link> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default BlogListItem |
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,37 @@ | ||
[ | ||
{ | ||
"name": "Brain Maps Into Building a Technology", | ||
"by": "Suhani", | ||
"link": "https://asdasd.com" | ||
}, | ||
{ | ||
"name": "Brain Maps Into Building a Technology", | ||
"by": "Suhani", | ||
"link": "https://asdasd.com" | ||
}, | ||
{ | ||
"name": "Brain Maps Into Building a Technology", | ||
"by": "Suhani", | ||
"link": "https://asdasd.com" | ||
}, | ||
{ | ||
"name": "Brain Maps Into Building a Technology", | ||
"by": "Suhani", | ||
"link": "https://asdasd.com" | ||
}, | ||
{ | ||
"name": "Brain Maps Into Building a Technology", | ||
"by": "Suhani", | ||
"link": "https://asdasd.com" | ||
}, | ||
{ | ||
"name": "Brain Maps Into Building a Technology", | ||
"by": "Suhani", | ||
"link": "https://asdasd.com" | ||
}, | ||
{ | ||
"name": "Brain Maps Into Building a Technology", | ||
"by": "Suhani", | ||
"link": "https://asdasd.com" | ||
} | ||
] |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.