Skip to content

Commit

Permalink
fixing lighthouse issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Jul 30, 2024
1 parent 1b8fba5 commit b0519b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
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: *
Disallow:
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function App() {
target="_blank"
rel="noopener noreferrer"
>
<Button variant="outline" size="icon">
<Button variant="outline" size="icon" aria-label="GitHub">
<GithubIcon className="h-[1.2rem] w-[1.2rem]" />
</Button>
</a>
Expand Down
1 change: 1 addition & 0 deletions src/components/mode-toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default function ModeToggle() {
aria-label={
theme === "dark" ? "Switch to light mode" : "Switch to dark mode"
}
title={theme === "dark" ? "Switch to light mode" : "Switch to dark mode"}
className="relative flex items-center justify-center p-2 transition-transform duration-300 hover:bg-gray-100 dark:hover:bg-gray-800"
>
{theme === "dark" ? (
Expand Down

0 comments on commit b0519b4

Please sign in to comment.