-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: past editions page * refactor: change code-of-conduct link color * chore: remove lockfile * chore: remove abbrevation * chore: keep only year in cards * chore: backdrop blur in past edition card * style: past edition page * chore: update card style * chore: remove border-bottom --------- Co-authored-by: Ace <[email protected]>
- Loading branch information
1 parent
b640fef
commit e342602
Showing
6 changed files
with
64 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import React from 'react' | ||
import {ExternalLink} from 'lucide-react' | ||
const PastEditonCard = ({ url }) => { | ||
let year = url.split('.')[1] | ||
return ( | ||
<div className='bg-white bg-opacity-10 backdrop-blur-lg bg-clip-padding shadow-lg p-4 w-full mx-auto border-[1.66px] border-[#FFFFFF66] rounded-xl '> | ||
<div className='flex items-center flex-wrap justify-between'> | ||
<h1 className='text-2xl text-white font-semibold'>{year}</h1> | ||
<div> | ||
<a href={url} rel='noreferrer' target='_blank' className='flex hover:scale-95 transiti items-center justify-center'> | ||
<p className='mr-2 text-white text-sm'>View Website</p> | ||
<ExternalLink color='white' size={19} /> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
|
||
<iframe src={url} height={250} width={'100%'} scrolling='no' className='pointer-events-none overflow-hidden rounded-lg my-4' /> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default PastEditonCard |
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,6 @@ | ||
[ | ||
"https://conference.2023.asyncapi.com/", | ||
"https://conference.2022.asyncapi.com/", | ||
"https://conference.2021.asyncapi.com/", | ||
"https://conference.2020.asyncapi.com/" | ||
] |
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 |
---|---|---|
|
@@ -28,6 +28,10 @@ | |
{ | ||
"title": "Sponsors", | ||
"ref": "/#sponsors" | ||
}, | ||
{ | ||
"title":"Past Editions", | ||
"ref":"/editions" | ||
} | ||
] | ||
|
||
|
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,26 @@ | ||
import React from 'react' | ||
import PastEditonCard from '../../components/PastEditionCard' | ||
import pastEditionsArchiveLinks from '../../config/editions.json' | ||
const PastEditions = () => { | ||
return ( | ||
<div > | ||
<title>Past Editions | AACoT</title> | ||
<div className='my-[70px]'> | ||
<h1 className='text-5xl sm:text-4xl sm:w-full text-white my-4 text-center w-1/2 mx-auto font-bold'> | ||
Past Editions of | ||
</h1> | ||
<h1 className='text-5xl sm:text-4xl px-10 py-4 rounded-full bg-violet-700 text-white my-4 text-center w-fit mx-auto font-bold'>AsyncAPI Conf</h1> | ||
</div> | ||
|
||
<div className='w-3/4 sm:w-10/12 my-10 mx-auto grid grid-cols-2 sm:grid-cols-1 gap-[60px]'> | ||
{ | ||
pastEditionsArchiveLinks.map((item, index) => { | ||
return <PastEditonCard key={index} url={item} /> | ||
}) | ||
} | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default PastEditions |