-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Vamsi Krishna Kolli <vamsi@onemyle.com>
- Loading branch information
1 parent
39a94be
commit bc6ef65
Showing
6 changed files
with
227 additions
and
0 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,6 @@ | ||
export const KEYNOTE_SPEAKER = { | ||
name: 'Anthony Shaw', | ||
title: 'Keynote Speaker', | ||
speakerImgUrl: '/images/speakers/anthony-shaw.svg', | ||
speakerImgAlt: "Anthony Shaw's picture", | ||
}; |
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,12 @@ | ||
Anthony Shaw is an active contributor to open source projects and has been recognized as a fellow by the Python Software Foundation, Apache Software Foundation, and Macquarie University. He is the author of the book CPython Internals. | ||
|
||
Active Contributor | ||
- Open Source Projects | ||
|
||
Fellow Recognition | ||
- Python Software Foundation | ||
- Apache Software Foundation | ||
- Macquarie University | ||
|
||
Author | ||
- CPython Internals |
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
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,56 @@ | ||
import Image from 'next/image'; | ||
import { KEYNOTE_SPEAKER } from '@/speakers'; | ||
import { Heading } from './Typography'; | ||
import MdxLayout from '@/components/MdxLayout'; | ||
import AnthonyShawDescription from '@/keynotes/anthonyShaw.mdx'; | ||
|
||
export function KeynoteSpeaker() { | ||
const { name, title, speakerImgUrl, speakerImgAlt } = KEYNOTE_SPEAKER; | ||
return ( | ||
<section | ||
id="keynote-speaker" | ||
className="scroll-mt-20 flex flex-col items-center py-6 w-11/12 lg:w-5/6 mx-auto" | ||
> | ||
<Heading | ||
tagLevel={2} | ||
level={1} | ||
className="text-center my-8 text-secondary-600 dark:text-secondary-400" | ||
> | ||
{title} | ||
</Heading> | ||
<div className="flex flex-col items-center"> | ||
<div className="flex md:flex-row flex-col"> | ||
{/* Left Section */} | ||
<div className="flex flex-col md:w-1/2"> | ||
{/* Speaker Photo */} | ||
<div className="md:w-100"> | ||
<Image | ||
src={speakerImgUrl} | ||
alt={speakerImgAlt} | ||
width={400} | ||
height={400} | ||
className="w-full h-full object-cover" | ||
/> | ||
</div> | ||
{/* Speaker Name */} | ||
<Heading | ||
tagLevel={3} | ||
level={2} | ||
className="text-center my-4 text-secondary-600 dark:text-secondary-400" | ||
> | ||
{name} | ||
</Heading> | ||
</div> | ||
{/* Right Section */} | ||
<div className="bg-primary dark:bg-secondary md:mt-8 text-gray-50 md:w-1/2"> | ||
<div className=""> | ||
<MdxLayout className="text-gray-600 dark:text-gray-400"> | ||
<AnthonyShawDescription /> | ||
</MdxLayout> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |