Skip to content

Commit

Permalink
fix: pagespeed analysis issues (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlitgrace authored Nov 7, 2024
1 parent a01d896 commit 36ea5e7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/_components/_admin/admin-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const AdminBar = () => {
variant={pathname === item.href ? 'default' : 'ghost'}
className={'grid aspect-square size-11 place-items-center rounded-xl'}
>
<Link href={item.href}>
<Link href={item.href} aria-label={`Goto ${item.label} page`}>
{React.createElement(item.icon, {
variant: pathname === item.href ? 'solid' : 'outline',
className: 'size-5',
Expand Down
4 changes: 2 additions & 2 deletions app/_components/_main/app-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const AppBar = () => {
variant={pathname === item.href ? 'default' : 'ghost'}
className={'grid aspect-square size-11 place-items-center rounded-xl'}
>
<Link href={item.href}>
<Link href={item.href} aria-label={`Goto ${item.label} page`}>
{React.createElement(item.icon, {
variant: pathname === item.href ? 'solid' : 'outline',
className: 'size-5',
Expand All @@ -74,7 +74,7 @@ const AppBar = () => {
variant={'ghost'}
className={'grid aspect-square size-11 place-items-center rounded-xl'}
>
<a href={item.url} target="_blank">
<a href={item.url} target="_blank" aria-label={item.label}>
{React.createElement(item.icon, {
variant: 'outline',
className: 'size-5',
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"clsx": "^2.1.1",
"drizzle-orm": "^0.35.1",
"highlight.js": "^11.10.0",
"highlight.svelte": "^0.0.5",
"highlight.svelte": "^0.0.4",
"isomorphic-dompurify": "^2.16.0",
"jose": "^5.9.4",
"marked": "^14.1.3",
Expand Down

0 comments on commit 36ea5e7

Please sign in to comment.