File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ { \rtf1 \ansi \ansicpg1252 \cocoartf2821
2+ \cocoatextscaling0 \cocoaplatform0 { \fonttbl \f0 \fswiss \fcharset0 Helvetica ; }
3+ { \colortbl ; \red255 \green255 \blue255 ; }
4+ { \*\expandedcolortbl ; ; }
5+ \paperw11900 \paperh16840 \margl1440 \margr1440 \vieww11520 \viewh8400 \viewkind0
6+ \pard \tx720 \tx1440 \tx2160 \tx2880 \tx3600 \tx4320 \tx5040 \tx5760 \tx6480 \tx7200 \tx7920 \tx8640 \pardirnatural \partightenfactor0
7+
8+ \f0 \fs24 \cf0 import React from 'react' ; \
9+ import Link from 'next/link' ; \
10+ \
11+ const Layout = ( \{ children \} : \{ children : React . ReactNode \} ) => \{ \
12+ return ( \
13+ < div > \
14+ < nav style = \{\{ padding : '1rem' , backgroundColor : 'var(--purple)' , color : 'white' \} \}> \
15+ < Link href = "/" style = \{\{ marginRight : '1rem' , fontWeight : 600 \} \}> Home < / L i n k > \
16+ < Link href = "/events" style = \{\{ marginRight : '1rem' \} \}> Events < / L i n k > \
17+ < Link href = "/jobs" style = \{\{ marginRight : '1rem' \} \}> Jobs < / L i n k > \
18+ < Link href = "/grants" style = \{\{ marginRight : '1rem' \} \}> Grants < / L i n k > \
19+ < Link href = "/tutorials" style = \{\{ marginRight : '1rem' \} \}> Tutorials < / L i n k > \
20+ < Link href = "/chapters" > Chapters</ Link > \
21+ </nav > \
22+ < main style = \{\{ padding : '2rem' \} \}> \{children \}</main > \
23+ < footer style = \{\{ textAlign : 'center' , padding : '2rem' , backgroundColor : '#f2f2f2' \} \}> \
24+ \'a9 Ladies of Code \{new Date().getFullYear()\} | Built with \uc0\u55357 \u56476 \
25+ </footer > \
26+ </div>\
27+ );\
28+ \};\
29+ \
30+ export default Layout;\
31+ }
You can’t perform that action at this time.
0 commit comments