forked from themat7/themat7.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
160 lines (110 loc) · 3.92 KB
/
Copy pathindex.html
File metadata and controls
160 lines (110 loc) · 3.92 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!doctype html>
<html lang= "en">
<head>
<meta charset="utf-8">
<meta name="description" content="Hey, Frazer Watson here, Manchester based Web developer">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="http://www.16027044.webdevmmu.uk/index.html">
<title> Frazer Watson Portfolio </title>
<link rel="stylesheet" type="text/css" href="pwaStyle.css">
<link href="https://fonts.googleapis.com/css?family=Marmelad" rel="stylesheet">
<link rel="manifest" href="manifest.json">
<link href="https://fonts.googleapis.com/css?family=Karma" rel="stylesheet">
</head>
<body>
<div id="outerContainer" class="container">
<main id="inner" class= "container__inner">
<div id="content" class="container__content container__content--link">
<header id = "header" class="header">
<svg id="toggle" class ="header__svg--toggle">
<circle cx="20" cy="20" r="15" stroke="blue" stroke-width="1" fill="blue"></circle></svg>
<nav id ="nav" class="nav">
<ul>
<li class="nav__item nav__item--hover" > <a href="" >About </a></li>
<li class="nav__item nav__item--hover" > <a href="" >CV</a></li>
<li class="nav__item nav__item--hover" > <a href="" >Contact</a></li>
</ul>
</nav>
<h1 class="header__heading "> Frazer Watson. Web Developer based in Manchester.
Currently finishing a degree in Web Development at MMU. </h1>
</header>
<h2 class="container__h2">My Blog posts </h2>
<div class="table">
<div class="table__span">
<h3 class="table__heading">Industry Thoughts </h3>
</div>
<div class ="span">
<p class="span__para span__para--hover"><a href="">My Perspective </a></p>
</div>
</div>
<div class="table">
<div class="table__span">
<h3 class="table__heading">Design Process </h3>
</div>
<div class ="span">
<p class="span__para span__para--hover"><a href=""> Explanation of my development process.</a> </p>
</div>
</div>
<div class="table">
<div class="table__span">
<h3 class="table__heading">SEO and optimization</h3>
</div>
<div class ="span">
<p class="span__para span__para--hover"> <a href="">Discussion of my SEO integration and site optimization </a></p>
</div>
</div>
<h2 class="container__h2"> My projects</h2>
<div class="table">
<div class="table__span">
<h3 class="table__heading">Javascript</h3>
</div>
<div class ="span">
<p class="span__para span__para--hover"> <a href=""> simple binary converter </a></p>
<p class="span__para span__para--hover"> <a href =""> bubble sort </a></p>
</div>
</div>
<footer class="footer">
<span > <a id="footer" href="#top">© 2018 Back To Top</a></span>
</footer>
</div>
</main>
</div>
</body>
<script type="text/javascript" src="colourSwap.js"> </script>
<script src="https://www.gstatic.com/firebasejs/5.9.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyA8FTo8X_lfBHABpeHGLplzceSTZW7NGkU",
authDomain: "my-project-11b44.firebaseapp.com",
databaseURL: "https://my-project-11b44.firebaseio.com",
projectId: "my-project-11b44",
storageBucket: "my-project-11b44.appspot.com",
messagingSenderId: "153477229764"
};
firebase.initializeApp(config);
</script>
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js')
.then(function() {
console.log('Service Worker Registered');
});
}
</script>
<script>
const messaging = firebase.messaging();
messaging.requestPermission()
.then(function() {
console.log('Notification permission granted.');
return messaging.getToken();
})
.then(function(token) {
console.log(token);
})
.catch(function(err) {
console.log('Unable to get permission to notify.', err);
})
</script>
</script>
</html>