Skip to content

Commit

Permalink
Add some SEO tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dolanske committed Jun 13, 2024
1 parent 40b8c02 commit 2be36e7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
19 changes: 17 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link
rel="icon"
type="image/svg+xml"
href="https://mavulp.github.io/countdown/logo.svg"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/src/style/index.css" />
<title>Countdown</title>
<title>C O U N T D O W N</title>

<meta name="title" content="Hivecom event countdown" />
<meta
name="description"
content="Ever wondered when things are happening? And in how long? Wonder no more!"
/>
<meta name="keywords" content="Countdown, Hivecom, Events" />
<meta name="robots" content="index, follow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<meta name="author" content="dolanske, Mavulp" />
</head>
<body>
<h1>Hivecom countdown</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dayjs.extend(duration)

// One time use component for logic extraction
const Countdown = ul().setup((ctx) => {
// Get the square root of the event count, to more evenly distrubute them
// Get the square root of the event count, to more evenly distrubute them
// across the viewport
const columns = Math.min(3, Math.ceil(Math.sqrt(events.length)))
ctx.style({ 'grid-template-columns': `repeat(${columns}, 1fr)` })
Expand Down

0 comments on commit 2be36e7

Please sign in to comment.