-
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
4de06df
commit 26d6d2d
Showing
6 changed files
with
109 additions
and
22 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,19 @@ | ||
import styles from './style.module.css'; | ||
|
||
export type AnnexProps = { | ||
title: string; | ||
content: { key: string; text: string }[]; | ||
}; | ||
|
||
export default function Annex(props: AnnexProps) { | ||
return ( | ||
<div className={styles.annex}> | ||
<div className={styles['section-title']}>{props.title}</div> | ||
<div className={styles['annex-content']}> | ||
{props.content.map((paragraph) => ( | ||
<p key={paragraph.key}>{paragraph.text}</p> | ||
))} | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import Annex, { AnnexProps } from '@/components/cv/annex'; | ||
|
||
import styles from './style.module.css'; | ||
|
||
type AnnexesProps = { | ||
annexes: AnnexProps[]; | ||
}; | ||
|
||
export default function Annexes(props: AnnexesProps) { | ||
return ( | ||
<div className={styles.annexes}> | ||
{props.annexes.map((annex) => ( | ||
<Annex key={annex.title} title={annex.title} content={annex.content} /> | ||
))} | ||
</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