File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
import i18next , { t } from " i18next"
3
+ import NextSvg from " ~/assets/svgs/main/next.svg?raw"
3
4
export type Props = { content: Record <string , string > }
4
5
const { content = {} } = Astro .props as Props
5
6
---
@@ -11,23 +12,10 @@ const { content = {} } = Astro.props as Props
11
12
Object .keys (content ).map ((key ) => (
12
13
<li >
13
14
<a href = { content [key ]} >
14
- <svg
15
- style = " margin-right: 26px"
16
- xmlns = " http://www.w3.org/2000/svg"
17
- width = " 6"
18
- height = " 10"
19
- viewBox = " 0 0 6 10"
20
- fill = " none"
21
- class = " text-black dark:text-white"
22
- >
23
- <path
24
- fill-rule = " evenodd"
25
- clip-rule = " evenodd"
26
- d = " M6 5.00024C6 5.2319 5.90774 5.44971 5.74019 5.61356L1.51387 9.74655C1.16802 10.0845 0.60566 10.0845 0.259811 9.74655C0.0922641 9.5827 -2.77618e-08 9.36488 -3.78877e-08 9.13323C-4.80137e-08 8.90157 0.0922641 8.68376 0.259811 8.51991L3.85925 4.99997L0.259811 1.4803C0.0922638 1.31645 -3.89091e-07 1.09863 -3.99217e-07 0.866979C-4.09343e-07 0.635323 0.0922637 0.417505 0.259811 0.253658C0.60566 -0.0845528 1.1683 -0.0845528 1.51387 0.253658L5.74019 4.38665C5.90774 4.55049 6 4.76831 6 4.99996L6 5.00024Z"
27
- fill = " currentColor"
28
- />
29
- </svg >{ " " }
30
- { key }
15
+ <>
16
+ <Fragment set :html = { NextSvg } />
17
+ { key }
18
+ </>
31
19
</a >
32
20
</li >
33
21
))
@@ -62,7 +50,7 @@ const { content = {} } = Astro.props as Props
62
50
.whats-next {
63
51
padding: 0;
64
52
@apply border-[1px] border-solid border-primary dark:border-dark-primary overflow-hidden;
65
- border-radius: 27px ;
53
+ border-radius: 10px ;
66
54
}
67
55
.whats-next li:first-child {
68
56
border-top: 0;
@@ -75,9 +63,10 @@ const { content = {} } = Astro.props as Props
75
63
.whats-next li a {
76
64
width: 100%;
77
65
display: inline-flex;
78
- padding: 20px 30px;
66
+ padding: 16px 20px;
67
+ gap: 8px;
79
68
}
80
69
.whats-next li a:hover {
81
- @apply bg-normal dark:bg-dark-normal;
70
+ @apply bg-white dark:bg-dark-normal;
82
71
}
83
72
</style >
You can’t perform that action at this time.
0 commit comments