generated from theodorusclarence/ts-nextjs-tailwind-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
8 changed files
with
98 additions
and
21 deletions.
There are no files selected for viewing
Binary file not shown.
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,52 @@ | ||
'use client'; | ||
|
||
import { Inter } from 'next/font/google'; | ||
import Image from 'next/image'; | ||
import React from 'react'; | ||
import ReactMarkdown from 'react-markdown'; | ||
import rehypeRaw from 'rehype-raw'; | ||
|
||
const font = Inter({ weight: '400', subsets: ['latin'] }); | ||
|
||
import clsxm from '@/lib/clsxm'; | ||
|
||
import { HomePage } from '@/types/Homepage'; | ||
|
||
interface SkillsProps { | ||
homePage: HomePage; | ||
} | ||
|
||
const SkillSummary = ({ homePage }: SkillsProps) => { | ||
return ( | ||
<div | ||
className={clsxm( | ||
'flex md:flex-row flex-col-reverse gap-6 w-full', | ||
font.className, | ||
)} | ||
> | ||
<div className='md:w-1/4 flex items-center justify-center md:bg-amber-100/75 dark:bg-transparent rounded-3xl'> | ||
<Image | ||
src='https://res.cloudinary.com/dwrurydlt/image/upload/v1710444087/full-stack-developer.png' | ||
height={0} | ||
width={375} | ||
alt='full-stack development' | ||
/> | ||
</div> | ||
<div className='text-lg antialiased md:w-3/4'> | ||
<ReactMarkdown className='mb-4' rehypePlugins={[rehypeRaw]}> | ||
{homePage.skills.fullStack} | ||
</ReactMarkdown> | ||
|
||
<ReactMarkdown className='mb-4' rehypePlugins={[rehypeRaw]}> | ||
{homePage.skills.languages} | ||
</ReactMarkdown> | ||
|
||
<ReactMarkdown className='mb-4' rehypePlugins={[rehypeRaw]}> | ||
{homePage.skills.latest} | ||
</ReactMarkdown> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SkillSummary; |
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