Skip to content

Commit 40e3507

Browse files
committed
"Add Layout and Polish styles"
1 parent 612654c commit 40e3507

4 files changed

Lines changed: 31 additions & 0 deletions

File tree

.DS_Store

10 KB
Binary file not shown.

components/.DS_Store

6 KB
Binary file not shown.

components/Layout.tsx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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</Link>\
16+
<Link href="/events" style=\{\{ marginRight: '1rem' \}\}>Events</Link>\
17+
<Link href="/jobs" style=\{\{ marginRight: '1rem' \}\}>Jobs</Link>\
18+
<Link href="/grants" style=\{\{ marginRight: '1rem' \}\}>Grants</Link>\
19+
<Link href="/tutorials" style=\{\{ marginRight: '1rem' \}\}>Tutorials</Link>\
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+
}

pages/.DS_Store

6 KB
Binary file not shown.

0 commit comments

Comments
 (0)