Design work
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
{% include 'header.html' %}
|
||||
<section id="error">
|
||||
{{ post | safe }}
|
||||
</section>
|
||||
<main>
|
||||
<div id="error-container">
|
||||
<div id='error'>
|
||||
<h2>{{ code }}: {{ description }}</h2>
|
||||
<p>{{ long_description }}</p>
|
||||
<a href='/'>Click here to return to our homepage</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{% include 'footer.html' %}
|
@@ -1,5 +1,5 @@
|
||||
<footer>
|
||||
<p>© 2024 Jake Charman. This site uses cookies.</p>
|
||||
<p>© <span id="cr-year"></span> Jake Charman. This site uses cookies.</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -11,10 +11,17 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<script src="/static/js/filter_projects.js"></script>
|
||||
<script src="/static/js/update_copyright.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<div id="logo">
|
||||
<a href='/'><h1>Jake Charman</h1></a>
|
||||
<nav id="top-nav">
|
||||
<a href="/">About</a>
|
||||
<a href="/projects/">Projects</a>
|
||||
</nav>
|
||||
<div id="logo-container">
|
||||
<div id="logo">
|
||||
<a href='/'><h1>Jake Charman</h1></a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<main>
|
||||
<nav id="filter">
|
||||
<label for="filter_category">Filter:</label>
|
||||
<select id="filter_category" name="filter_category">
|
||||
<select id="filter_category" name="filter_category" onchange="update_filter()">
|
||||
<option value="all">All Categories</option>
|
||||
{% for category in all_categories %}
|
||||
<option {{ 'selected' if current_category == category }} value="{{ category }}">{{all_categories.get(category).get('title')}}</option>
|
||||
@@ -14,7 +14,7 @@
|
||||
<section id="projects">
|
||||
{% for row in articles %}
|
||||
<div class="project">
|
||||
<img src="{{ row.image }}">
|
||||
<img class="project-thumb" src="/projects/image/{{ row.image }}">
|
||||
{% if row.get('link') is not none %}
|
||||
<a href="{{ row.link }}"><h3>{{ row.title }}</h3></a>
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user