-
Notifications
You must be signed in to change notification settings - Fork 0
/
outline
46 lines (35 loc) · 2.11 KB
/
outline
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TODO:
GOAL 1: Generate a slug for each post
gatsby.md -> gatsby -> /blog/gatsby
GOAL 2: Generate the blog post page template
GOAL 3: Generate a new page for each post
TODO:
{/* <header className={headerStyle.header}>
<h1>
<Link to="/" className={headerStyle.title}>
{data.site.siteMetadata.title}
</Link>
</h1>
<nav>
<ul className={headerStyle.navList}>
<li><Link className={headerStyle.navItem} activeClassName={headerStyle.activeNavItem} to="/">Home</Link></li>
<li><Link className={headerStyle.navItem} activeClassName={headerStyle.activeNavItem} to="/blog">Blog</Link></li>
<li><Link className={headerStyle.navItem} activeClassName={headerStyle.activeNavItem} to="/about">About</Link></li>
<li><Link className={headerStyle.navItem} activeClassName={headerStyle.activeNavItem} to="/contact">Contact</Link></li>
</ul>
</nav>
</header> */}
<nav className="navbar navbar-expand-lg bg-dark" >
<Link className="navbar-brand brand" to="/">{`{` + data.site.siteMetadata.title + `}`}</Link>
<button className="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span className="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div className="navbar-nav">
<Link className="nav-item nav-link link" to="/" >Home</Link>
<Link className="nav-item nav-link link" to="/blog">Blog</Link>
<Link className="nav-item nav-link link" to="/about">About</Link>
<Link className="nav-item nav-link link" to="/contact">Contact</Link>c
</div>
</div>
</nav>