This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 39b8c2d
Showing
49 changed files
with
5,415 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
<!-- | ||
Copyright 2018 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
|
||
<!-- Set the viewport --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | ||
|
||
<!-- Set character encoding --> | ||
<meta charset="utf-8"> | ||
|
||
<!-- Set title --> | ||
<title>News</title> | ||
|
||
<!-- Request styles --> | ||
<link rel="stylesheet" href="/style/main.css" /> | ||
|
||
</head> | ||
|
||
<body> | ||
<header> | ||
<ul class="navbar"> | ||
<li><a href="/index.html">Home</a></li> | ||
<li><a href="#">World</a></li> | ||
<li><a href="#">Tech</a></li> | ||
<li><a href="#">Contact</a></li> | ||
<li class="profile-icon"><img src="/images/icon/icon.svg" alt="profile icon" /></li> | ||
</ul> | ||
</header> | ||
|
||
<article> | ||
<h1>News</h1> | ||
<section> | ||
<div class="img-container left column"> | ||
<img src="images/home/business.jpg" alt="A person reading the business section of a newspaper"> | ||
</div> | ||
<div class="right column"> | ||
<h2 class="headline">Headline</h2> | ||
<p class="content"> | ||
I love cheese, especially manchego swiss. ☺ Fromage queso jarlsberg cheesy | ||
feet emmental cottage cheese camembert de normandie bocconcini. Cottage cheese | ||
everyone loves cauliflower cheese rubber cheese squirty cheese halloumi cow | ||
fondue. Bocconcini cheese and biscuits everyone loves fondue red leicester | ||
st. agur blue cheese rubber cheese ricotta. Cheesy grin mozzarella. | ||
</p> | ||
</div> | ||
</section> | ||
<section> | ||
<div class="left column"> | ||
<h4 class="list-title">Trending Articles</h4> | ||
<ul class="vertical-list"> | ||
<li class="list-item"><a href="pages/article1.html" class="post-link">Article 1</a></li> | ||
<li class="list-item"><a href="pages/article2.html" class="post-link">Article 2</a></li> | ||
<li class="list-item"><a href="pages/article3.html" class="post-link">Article 3</a></li> | ||
<li class="list-item"><a href="pages/article4.html" class="post-link">Article 4</a></li> | ||
<li class="list-item"><a href="pages/article-missing.html" class="post-link">Non-existent article</a></li> | ||
</ul> | ||
</div> | ||
<div class="right column"> | ||
<h4 class="list-title">Archived Posts</h4> | ||
<ul class="vertical-list"> | ||
<li class="list-item"><a href="pages/post1.html" class="post-link">Archived Post 1</a></li> | ||
<li class="list-item"><a href="pages/post2.html" class="post-link">Archived Post 2</a></li> | ||
<li class="list-item"><a href="pages/post3.html" class="post-link">Archived Post 3</a></li> | ||
<li class="list-item"><a href="pages/post-missing.html" class="post-link">Non-existent Post 4</a></li> | ||
</ul> | ||
</div> | ||
</section> | ||
</article> | ||
|
||
<footer> | ||
<a href="#" class="footer-link">Twitter</a> | ||
<a href="#" class="footer-link">Facebook</a> | ||
<a href="#" class="footer-link">Google+</a> | ||
<a href="#" class="footer-link">Digg</a> | ||
</footer> | ||
|
||
<script src="/js/animation.js"></script> | ||
|
||
<script> | ||
if ('serviceWorker' in navigator) { | ||
window.addEventListener('load', () => { | ||
navigator.serviceWorker.register('/sw.js') | ||
.then(registration => { | ||
console.log(`Service Worker registered! Scope: ${registration.scope}`); | ||
}) | ||
.catch(err => { | ||
console.log(`Service Worker registration failed: ${err}`); | ||
}); | ||
}); | ||
} | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
var el = document.body | ||
|
||
function fadeIn (el) { | ||
el.style.opacity = 0 | ||
|
||
var tick = function () { | ||
el.style.opacity = +el.style.opacity + 0.01 | ||
|
||
if (+el.style.opacity < 1) { | ||
(window.requestAnimationFrame && requestAnimationFrame(tick)) || | ||
setTimeout(tick, 8) | ||
} | ||
} | ||
|
||
tick() | ||
} | ||
|
||
fadeIn(el) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- | ||
Copyright 2018 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
|
||
<!-- Set the viewport --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | ||
|
||
<!-- Set character encoding --> | ||
<meta charset="utf-8"> | ||
|
||
<!-- Set title --> | ||
<title>404 Page</title> | ||
|
||
<!-- Request styles --> | ||
<link rel="stylesheet" href="/style/main.css" /> | ||
</head> | ||
<body> | ||
<h1>404 page</h1> | ||
<p class="padded">Woops! Can't find the page you are requesting.</p> | ||
<br><br> | ||
<a href="../index.html" class="back-link">Home</a> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<!-- | ||
Copyright 2018 Google Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
|
||
<!-- Set the viewport --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | ||
|
||
<!-- Set character encoding --> | ||
<meta charset="utf-8"> | ||
|
||
<!-- Set title --> | ||
<title>Article1</title> | ||
|
||
<!-- Request styles --> | ||
<link rel="stylesheet" href="/style/main.css" /> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<header> | ||
<ul class="navbar"> | ||
<li><a href="/index.html">Home</a></li> | ||
<li class="profile-icon"><img src="/images/icon/icon.svg" alt="profile icon" /></li> | ||
</ul> | ||
</header> | ||
|
||
<article id="post"> | ||
|
||
<section> | ||
|
||
<div class="img-container left column"> | ||
<img src="/images/articles/buildings.jpg" alt="Looking up at skyscrapers"> | ||
</div> | ||
|
||
<div class="right column"> | ||
<h2 class="headline">Article 1</h2> | ||
<p class="content"> | ||
I love cheese, especially manchego swiss. ☺ Fromage queso jarlsberg cheesy | ||
feet emmental cottage cheese camembert de normandie bocconcini. Cottage cheese | ||
everyone loves cauliflower cheese rubber cheese squirty cheese halloumi cow | ||
fondue. Bocconcini cheese and biscuits everyone loves fondue red leicester | ||
st. agur blue cheese rubber cheese ricotta. Cheesy grin mozzarella. | ||
</p> | ||
</div> | ||
|
||
</section> | ||
|
||
</article> | ||
|
||
<footer> | ||
<a href="#" class="footer-link">Twitter</a> | ||
<a href="#" class="footer-link">Facebook</a> | ||
<a href="#" class="footer-link">Google+</a> | ||
<a href="#" class="footer-link">Digg</a> | ||
</footer> | ||
|
||
<script src="/js/animation.js"></script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.