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,11 +1,10 @@
window.onload = function () {
function update_filter() {
var project_filter = document.getElementById("filter_category");
project_filter.onchange = function () {
if (project_filter.value == 'all') {
window.location.href = '/projects';
}
else {
window.location.href = '/projects/category/' + project_filter.value;
}
console.log(project_filter.value)
if (project_filter.value == 'all') {
window.location.href = '/projects';
}
}
else {
window.location.href = '/projects/category/' + project_filter.value;
}
}

View File

@@ -0,0 +1,5 @@
window.onload = function () {
var current_year = new Date().getFullYear();
var copyright = document.getElementById('cr-year');
copyright.textContent = current_year;
}