Skip to content

Commit

Permalink
Add timer project to projects
Browse files Browse the repository at this point in the history
  • Loading branch information
kubgus committed Oct 1, 2024
1 parent 73db14b commit 6a20c80
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions src/data/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,12 @@ export default [
year: 2022,
rating: 2,
},
{
title: "timer",
description: "A simple lightning talk timer written in plain HTML and JS.",
github: "https://github.com/kubgus/timer",
website: "https://gustafik.com/timer",
year: 2024,
rating: 1,
}
];
6 changes: 3 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ let tab = "tab-1", translateSelector = "0%";

<section class="content" id="content-2">
<Projects client:only="vue" projects={projects} />
<h1 class="js-remove">Please enable JavaScript to view this page!</h1>
<noscript>
<h1 class="js-remove">Please enable JavaScript to view this page!</h1>
</noscript>
</section>

<section class="content" id="content-3">
Expand All @@ -79,8 +81,6 @@ let tab = "tab-1", translateSelector = "0%";
// I hate Typescript
const selector = Array.from(document.getElementsByClassName("select-indicator") as HTMLCollectionOf<HTMLElement>)[0];

document.querySelectorAll(".js-remove").forEach((e) => e.remove());

function setQuery(key: string, value: string) {
// Never forget.
//
Expand Down

0 comments on commit 6a20c80

Please sign in to comment.