zengarden-bits/index.html

101 lines
4.4 KiB
HTML
Raw Normal View History

2022-12-07 23:30:23 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Site title</title>
<meta name="description" content="Site description">
<link rel="shortcut icon" type="image/png" href="assets/images/icon-192x192.png">
<link rel="shortcut icon" sizes="196x196" href="assets/images/icon-192x192.png">
<link rel="apple-touch-icon" href="assets/images/icon-192x192.png">
<!-- Link to the stylesheet -->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="assets/fonts/fonts.css">
</head>
<body>
<header>
<h1>
<a href="#home">Zen Garden Websites</a>
</h1>
<nav>
<a href="#about">About</a>
<a href="#examples">Examples</a>
<a href="#contact">Contact</a>
</nav>
</header>
<main>
<section id="home">
<a href="#about"><img src="assets/images/enso.png" alt="Enso" /></a>
</section>
<section id="about">
2022-12-08 15:43:27 +00:00
2022-12-07 23:30:23 +00:00
<h2>About</h2>
2022-12-08 15:43:27 +00:00
<p>This website consists of just two files: a single HTML file and a single CSS file. This is based on a mix of Dave Sheas <a href="http://www.csszengarden.com/">CSS Zen Garden</a> and the <a href="https://github.com/cadars/john-doe">single HTML webpage</a> from Adam Newbold. The goal of this website is to show what can be done with just one simple CSS and one simple HTML file. It aims to illustrate how simple web development can be.</p>
<h2>Advantages</h2>
<p>The simple approach has many advantages (and some disadvantages) and is all about minimalism. Zen Garden Websites are easy to build, easy to maintain and cheap or even <a href="https://pages.github.com/">free to host</a>.</p>
2022-12-07 23:30:23 +00:00
</section>
<section id="examples">
<h2>Examples</h2>
<div class="examples">
2022-12-08 10:16:52 +00:00
<div>
<a href="https://john-doe.neocities.org"><img src="assets/images/johndoe.png" alt="John Doe" /></a>by <a href="https://github.com/cadars/john-doe">cadars</a>
</div>
2022-12-08 10:12:51 +00:00
<div>
<a href="https://jhvanderschee.github.io/democratizepublishing/matt-mullenweg"><img src="assets/images/matt.png" alt="Matt Mulderberg" /></a>by <a href="https://github.com/jhvanderschee/democratizepublishing">jhvanderschee</a>
</div>
<div>
<a href="https://www.semkrikke.nl/"><img src="assets/images/semkrikke1.jpg" alt="Sem Krikke" /></a>by <a href="https://github.com/jhvanderschee/semkrikke/">jhvanderschee</a>
</div>
2022-12-08 12:02:54 +00:00
<div>
2022-12-08 12:13:01 +00:00
<a href="https://jhvanderschee.github.io/francois/"><img src="assets/images/francois.png" alt="Francois" /></a>by <a href="https://github.com/jhvanderschee/francois/">jhvanderschee</a>
2022-12-08 12:02:54 +00:00
</div>
2022-12-08 10:12:51 +00:00
<div>
<a href="#home"><img src="assets/images/zengardenwebsites.png" alt="Zen Garden Websites" /></a>by <a href="https://github.com/jhvanderschee/zengardenwebsites">jhvanderschee</a>
</div>
2022-12-07 23:30:23 +00:00
</div>
</section>
<section id="contact">
<h2>Contact</h2>
2022-12-08 15:52:34 +00:00
<p>My name is Joost van der Schee you can contact me by sending an e-mail to <a href="mailto:joost@vdschee.nl">joost@vdschee.nl</a>. Do you want to submit your own website? Great! Just build your website and send me the link and/or submit a <a href="https://github.com/jhvanderschee/zengardenwebsites">pull request</a>.</p>
2022-12-07 23:30:23 +00:00
</section>
</main>
<footer>
2022-12-08 15:31:09 +00:00
<img src="assets/images/unalome.png" alt="Unalome" />
2022-12-07 23:30:23 +00:00
<span>&copy; 2022 - zen garden websites</span>
</footer>
<script type="text/javascript">
2022-12-08 14:43:53 +00:00
/* Add eventlistener to hash links */
var els = document.querySelectorAll('a[href^="#"]');
els.forEach(function(el) {
el.addEventListener('click',function(e) {
setActiveLink(el.getAttribute('href'))
});
});
/* Set the actice hash/class function */
function setActiveLink(hash) {
var links = document.querySelectorAll('a[href^="#"]');
links.forEach(function(link) {
link.classList.remove('active');
if(link.getAttribute('href')==hash) link.classList.add('active');
});
}
2022-12-07 23:30:23 +00:00
/* Make sure a hash is loaded */
if (window.location.hash == '') window.location.href = '#home';
2022-12-08 14:43:53 +00:00
setActiveLink(window.location.hash);
2022-12-07 23:30:23 +00:00
</script>
</body>
</html>