Verified Commit 229541c0 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Add example index.html and Caddyfile for development

To make it easier to develop the navbar, add an example html file with
Caddyfile to serve the files.
parent a6008aeb
encode gzip
handle /css/*.svg {
uri replace css img
# Arch Linux common CSS Styles
Common Arch Linux SASS and CSS styles.
## Navbar development
make sass-watcher
xdg-open http://localhost:8000/example/index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Arch Linux Navigation Bar</title>
<link rel="stylesheet" href="../css/navbar.css" type="text/css" media="screen" title="no title" charset="utf-8">
document.addEventListener('DOMContentLoaded', (event) => {
.then(response => {
return response.text()
.then(data => {
document.querySelector("body").innerHTML = data;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment