File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,15 @@ import CustomParagraph from '../shared/CustomParagraph.astro';
50
50
<span >
51
51
<CustomLink
52
52
href =" https://github.com/carlosjorger/carlosjorger.github.io"
53
+ arialLabel =" Github project link"
53
54
>
54
55
Published
55
56
</CustomLink >
56
57
in
57
- <CustomLink href =" https://pages.github.com/" >
58
+ <CustomLink
59
+ href =" https://pages.github.com/"
60
+ arialLabel =" Github pages link"
61
+ >
58
62
Github Page
59
63
</CustomLink >
60
64
<span ></span >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import HamburgerMenuIcon from './HamburgerMenuIcon.astro';
11
11
class =" m-0 flex list-none flex-row justify-between p-0.5 max-sm:hidden [&>li]:self-center"
12
12
>
13
13
<li class =" p-1" >
14
- <Link href =" #" arialLabel =" Go to presentation" >
14
+ <Link href =" #home " arialLabel =" Go to presentation" >
15
15
<IconElement iconType =" house" height =" h-6" width =" w-7" />
16
16
</Link >
17
17
</li >
Original file line number Diff line number Diff line change 1
1
---
2
2
export interface Props {
3
3
href: string ;
4
+ arialLabel: string ;
4
5
}
5
- const { href = ' ' } = Astro .props ;
6
+ const { href = ' ' , arialLabel } = Astro .props ;
6
7
---
7
8
8
9
<a
9
10
class =" bg-gradient-to-r from-teal-300 to-teal-300 bg-[length:0%_15%] bg-[0%_100%] bg-no-repeat text-teal-300 no-underline transition-all duration-300 ease-out visited:text-teal-300 hover:bg-[length:100%_15%] hover:ease-in-out active:bg-transparent"
10
11
href ={ href }
12
+ aria-label ={ arialLabel }
11
13
>
12
14
<slot />
13
15
</a >
Original file line number Diff line number Diff line change
1
+ /// <reference path="../.astro/types.d.ts" />
1
2
/// <reference types="astro/client" />
You can’t perform that action at this time.
0 commit comments