-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_header.php
114 lines (106 loc) · 3.89 KB
/
_header.php
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Award-winning journalist. Coding instructor. Web developer. Feminist.">
<meta name="keywords" content="Alexandra,Millatmal,developer,engineer,software,Ruby,Rails,JavaScript,journalism,coder,journalist">
<meta name="author" content="Alexandra Millatmal">
<link rel='shortcut icon' href='alex.ico' type='image/x-icon'/ >
<title>Alexandra Millatmal</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700" rel="stylesheet">
<link href="css/toolkit-minimal.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
</head>
<body>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-102779384-1', 'auto');
ga('send', 'pageview');
</script>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="nav item
<?php
if ($active && $active == "home")
echo "active";
?>
">
<a href="/">About</a>
</li>
<li class="nav-item
<?php
if ($active && $active == "work")
echo "active";
?>
">
<a class="nav-link" href="./work">Work</a>
</li>
<li class="nav-item
<?php
if ($active && $active == "talks")
echo "active";
?>
">
<a class="nav-link" href="./talks">Talks</a>
</li>
<!-- <li class="nav-item
<?php
// if ($active && $active == "writing")
// echo "active";
?>
">
<a class="nav-link" href="./writing">Writing</a>
</li> -->
<li class="social"><a href="http://www.twitter.com/halfghaninNE" target="_blank"><span class="icon icon-twitter"></span></a></li>
<li class="social"><a href="http://www.github.com/halfghaninNE" target="_blank"><span class="icon icon-github"></span></a></li>
<li class="social"><a href="http://www.linkedin.com/in/alexandrajmh" target="_blank"><span class="icon icon-linkedin"></span></a></li>
</ul>
</div>
</div>
</nav>
<nav class="navbar navbar-default navbar-mobile navbar-bottom">
<div class="container-fluid">
<ul class="nav navbar-nav navbar-mobile bottom-nav-flex">
<li class="nav item
<?php
if ($active && $active == "home")
echo "active";
?>
">
<a href="/">About</a>
</li>
<li class="nav-item
<?php
if ($active && $active == "work")
echo "active";
?>
">
<a class="nav-link" href="./work">Work</a>
</li>
<li class="nav-item
<?php
if ($active && $active == "talks")
echo "active";
?>
">
<a class="nav-link" href="./talks">Talks</a>
</li>
<!-- <li class="nav-item
<?php
// if ($active && $active == "writing")
// echo "active";
?>
">
<a class="nav-link" href="./writing">Writing</a>
</li> -->
</ul>
</div>
</nav>