Design work

This commit is contained in:
2025-01-03 23:25:38 +00:00
parent 028103d321
commit 032481d465
10 changed files with 95 additions and 37 deletions

View File

@@ -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' %}

View File

@@ -1,5 +1,5 @@
<footer>
<p>&copy 2024 Jake Charman. This site uses cookies.</p>
<p>&copy <span id="cr-year"></span> Jake Charman. This site uses cookies.</p>
</footer>
</body>
</html>

View File

@@ -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>

View File

@@ -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 %}