diff --git a/apps/cookbook/src/components/logos/angular.tsx b/apps/cookbook/src/components/logos/angular.tsx index 44098c6..cc043ad 100644 --- a/apps/cookbook/src/components/logos/angular.tsx +++ b/apps/cookbook/src/components/logos/angular.tsx @@ -1,10 +1,10 @@ -export function Angular() { +export function Angular({ width = 32 }: { width?: number }) { return ( Nx diff --git a/apps/cookbook/src/pages/index.module.css b/apps/cookbook/src/pages/index.module.css index bee5b9c..ef121c4 100644 --- a/apps/cookbook/src/pages/index.module.css +++ b/apps/cookbook/src/pages/index.module.css @@ -83,3 +83,36 @@ color: var(--marmicode-primary); margin: 0; } + +.section h2 { + color: var(--marmicode-primary); + text-align: center; + font-family: Roboto; + font-size: 2rem; + font-weight: 500; + letter-spacing: 10px; + margin: 2rem; +} + +.authorsSection { + background-color: #f5edfd; +} + +.authorsContainer { + display: flex; + flex-direction: row; + justify-content: center; + margin: 2rem; +} + +.authorCard { + min-width: 250px; + max-width: 300px; + padding: 20px; +} + +.authorSubtitle { + display: flex; + align-items: center; + gap: 0.5rem; +} diff --git a/apps/cookbook/src/pages/index.tsx b/apps/cookbook/src/pages/index.tsx index 5d3cf62..e5261bf 100644 --- a/apps/cookbook/src/pages/index.tsx +++ b/apps/cookbook/src/pages/index.tsx @@ -19,6 +19,7 @@ export default function Home(): JSX.Element { } > + ); } @@ -87,3 +88,69 @@ function Buttons() { ); } + +function Authors() { + const author = { + name: 'Younes Jaaidi', + subtitles: [ + <> + + 👨🏻‍🍳 + + Software Cook + , + <> + {' '} + + Angular GDE + + , + <> + {' '} + + Nx Champion + + , + <> + + ⛵️ + + Mediocre Sailor + , + ], + }; + + return ( +
+

AUTHORS

+
+
+
+
+ Younes Jaaidi +
+
+
{author.name}
+ {author.subtitles.map((subtitle, index) => ( + + {subtitle} + + ))} +
+
+
+
+
+ ); +} diff --git a/apps/cookbook/static/img/younes.jpg b/apps/cookbook/static/img/younes.jpg new file mode 100644 index 0000000..a80d1db Binary files /dev/null and b/apps/cookbook/static/img/younes.jpg differ