File tree Expand file tree Collapse file tree 5 files changed +104
-4
lines changed Expand file tree Collapse file tree 5 files changed +104
-4
lines changed Original file line number Diff line number Diff line change 1- export function Angular ( ) {
1+ export function Angular ( { width = 32 } : { width ?: number } ) {
22 return (
33 < svg
44 xmlns = "http://www.w3.org/2000/svg"
55 fill = "none"
66 viewBox = "0 0 223 236"
7- width = "32"
7+ width = { width }
88 >
99 < g clipPath = "url(#a)" >
1010 < path
Original file line number Diff line number Diff line change 1- export function Nx ( ) {
1+ export function Nx ( { width = 32 } : { width ?: number } ) {
22 return (
33 < svg
44 role = "img"
55 aria-label = "Nx"
66 viewBox = "0 0 24 24"
77 xmlns = "http://www.w3.org/2000/svg"
88 fill = "#012f55"
9- width = "32"
9+ width = { width }
1010 >
1111 < title > Nx</ title >
1212 < path d = "M11.987 14.138l-3.132 4.923-5.193-8.427-.012 8.822H0V4.544h3.691l5.247 8.833.005-3.998 3.044 4.759zm.601-5.761c.024-.048 0-3.784.008-3.833h-3.65c.002.059-.005 3.776-.003 3.833h3.645zm5.634 4.134a2.061 2.061 0 0 0-1.969 1.336 1.963 1.963 0 0 1 2.343-.739c.396.161.917.422 1.33.283a2.1 2.1 0 0 0-1.704-.88zm3.39 1.061c-.375-.13-.8-.277-1.109-.681-.06-.08-.116-.17-.176-.265a2.143 2.143 0 0 0-.533-.642c-.294-.216-.68-.322-1.18-.322a2.482 2.482 0 0 0-2.294 1.536 2.325 2.325 0 0 1 4.002.388.75.75 0 0 0 .836.334c.493-.105.46.36 1.203.518v-.133c-.003-.446-.246-.55-.75-.733zm2.024 1.266a.723.723 0 0 0 .347-.638c-.01-2.957-2.41-5.487-5.37-5.487a5.364 5.364 0 0 0-4.487 2.418c-.01-.026-1.522-2.39-1.538-2.418H8.943l3.463 5.423-3.379 5.32h3.54l1.54-2.366 1.568 2.366h3.541l-3.21-5.052a.7.7 0 0 1-.084-.32 2.69 2.69 0 0 1 2.69-2.691h.001c1.488 0 1.736.89 2.057 1.308.634.826 1.9.464 1.9 1.541a.707.707 0 0 0 1.066.596zm.35.133c-.173.372-.56.338-.755.639-.176.271.114.412.114.412s.337.156.538-.311c.104-.231.14-.488.103-.74z" > </ path >
Original file line number Diff line number Diff line change 8383 color : var (--marmicode-primary );
8484 margin : 0 ;
8585}
86+
87+ .section h2 {
88+ color : var (--marmicode-primary );
89+ text-align : center;
90+ font-family : Roboto;
91+ font-size : 2rem ;
92+ font-weight : 500 ;
93+ letter-spacing : 10px ;
94+ margin : 2rem ;
95+ }
96+
97+ .authorsSection {
98+ background-color : # f5edfd ;
99+ }
100+
101+ .authorsContainer {
102+ display : flex;
103+ flex-direction : row;
104+ justify-content : center;
105+ margin : 2rem ;
106+ }
107+
108+ .authorCard {
109+ min-width : 250px ;
110+ max-width : 300px ;
111+ padding : 20px ;
112+ }
113+
114+ .authorSubtitle {
115+ display : flex;
116+ align-items : center;
117+ gap : 0.5rem ;
118+ }
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export default function Home(): JSX.Element {
1919 }
2020 >
2121 < HomepageHeader />
22+ < Authors />
2223 </ Layout >
2324 ) ;
2425}
@@ -87,3 +88,69 @@ function Buttons() {
8788 </ div >
8889 ) ;
8990}
91+
92+ function Authors ( ) {
93+ const author = {
94+ name : 'Younes Jaaidi' ,
95+ subtitles : [
96+ < >
97+ < span role = "img" aria-label = "Cook" >
98+ 👨🏻🍳
99+ </ span >
100+ < span > Software Cook</ span >
101+ </ > ,
102+ < >
103+ < Angular width = { 15 } /> { ' ' }
104+ < Link href = "https://g.dev/younes" target = "about:blank" >
105+ Angular GDE
106+ </ Link >
107+ </ > ,
108+ < >
109+ < Nx width = { 15 } /> { ' ' }
110+ < Link
111+ href = "https://nx.dev/community#:~:text=Younes%20Jaaidi"
112+ target = "about:blank"
113+ >
114+ Nx Champion
115+ </ Link >
116+ </ > ,
117+ < >
118+ < span role = "img" aria-label = "Sailboat" >
119+ ⛵️
120+ </ span >
121+ < span > Mediocre Sailor</ span >
122+ </ > ,
123+ ] ,
124+ } ;
125+
126+ return (
127+ < section className = { clsx ( styles . section , styles . authorsSection ) } >
128+ < h2 > AUTHORS</ h2 >
129+ < section className = { styles . authorsContainer } >
130+ < article className = { clsx ( 'card shadow--lt' , styles . authorCard ) } >
131+ < div className = "avatar avatar--vertical margin-bottom--sm" >
132+ < div className = "avatar__photo avatar__photo--xl" >
133+ < img
134+ src = "/img/younes.jpg"
135+ alt = "Younes Jaaidi"
136+ width = "100"
137+ height = "100"
138+ />
139+ </ div >
140+ < div className = "avatar__intro padding-top--sm" >
141+ < div className = "avatar__name" > { author . name } </ div >
142+ { author . subtitles . map ( ( subtitle , index ) => (
143+ < small
144+ className = { clsx ( 'avatar__subtitle' , styles . authorSubtitle ) }
145+ key = { index }
146+ >
147+ { subtitle }
148+ </ small >
149+ ) ) }
150+ </ div >
151+ </ div >
152+ </ article >
153+ </ section >
154+ </ section >
155+ ) ;
156+ }
You can’t perform that action at this time.
0 commit comments