Skip to content

Commit

Permalink
Improve accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
TibiNonEst committed Nov 21, 2024
1 parent 1cd5b85 commit 62962bc
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
3 changes: 3 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { defineConfig } from "astro/config";

export default defineConfig({
build: {
inlineStylesheets: "always"
},
image: {
domains: [ "static.tibs.gay" ]
}
Expand Down
2 changes: 2 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Allow: /
4 changes: 2 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const { title } = Astro.props;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{title}</title>
</head>

Expand Down
20 changes: 12 additions & 8 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import { Picture } from 'astro:assets';
<h1>tibs</h1>
</a>
<div class="links">
<a href="https://github.com/TibiNonEst"><i class="fa-brands fa-github"></i></a>
<a href="https://blobfox.coffee/@tibs"><i class="fa-brands fa-mastodon"></i></a>
<a href="https://x.com/TibiNonEst"><i class="fa-brands fa-twitter"></i></a>
<a href="https://twitch.tv/tibinonest"><i class="fa-brands fa-twitch"></i></a>
<a href="https://en.pronouns.page/@tibs"><i class="fa-solid fa-transgender"></i></a>
<a href="https://github.com/TibiNonEst" aria-label="tibs' github"><i class="fa-brands fa-github" aria-hidden="true"></i></a>
<a href="https://blobfox.coffee/@tibs" aria-label="tibs' fediverse"><i class="fa-brands fa-mastodon" aria-hidden="true"></i></a>
<a href="https://x.com/TibiNonEst" aria-label="tibs' twitter"><i class="fa-brands fa-twitter" aria-hidden="true"></i></a>
<a href="https://twitch.tv/tibinonest" aria-label="tibs' twitch"><i class="fa-brands fa-twitch" aria-hidden="true"></i></a>
<a href="https://en.pronouns.page/@tibs" aria-label="tibs' pronouns.page"><i class="fa-solid fa-transgender" aria-hidden="true"></i></a>
</div>
<div class="card">
<p>i am a developer, systems administrator, and networking hobbyist</p>
Expand All @@ -25,7 +25,7 @@ import { Picture } from 'astro:assets';
</main>
</Layout>

<style>
<style lang="scss">
main {
color: var(--text);
background-color: var(--base);
Expand All @@ -40,14 +40,18 @@ import { Picture } from 'astro:assets';
}

h1 {
background-image: linear-gradient(to right, var(--mauve) , var(--lavender));
background-image: linear-gradient(to right, var(--mauve) , var(--lavender-dark));
background-clip: text;
color: transparent;
}

a {
color: var(--lavender);
color: var(--lavender-dark);
text-decoration: none;

&:hover {
color: var(--lavender-darker)
}
}

p {
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "astro/tsconfigs/strict"
}

0 comments on commit 62962bc

Please sign in to comment.