diff --git a/src/assets/svgs/main/next.svg b/src/assets/svgs/main/next.svg new file mode 100644 index 000000000..7e53e0d72 --- /dev/null +++ b/src/assets/svgs/main/next.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/PageContent/WhatsNext.astro b/src/components/PageContent/WhatsNext.astro index 6d4fdf0e4..66de6f5e4 100644 --- a/src/components/PageContent/WhatsNext.astro +++ b/src/components/PageContent/WhatsNext.astro @@ -1,5 +1,6 @@ --- import i18next, { t } from "i18next" +import NextSvg from "~/assets/svgs/main/next.svg?raw" export type Props = { content: Record } const { content = {} } = Astro.props as Props --- @@ -11,23 +12,10 @@ const { content = {} } = Astro.props as Props Object.keys(content).map((key) => (
  • - - - {" "} - {key} + <> + + {key} +
  • )) @@ -62,7 +50,7 @@ const { content = {} } = Astro.props as Props .whats-next { padding: 0; @apply border-[1px] border-solid border-primary dark:border-dark-primary overflow-hidden; - border-radius: 27px; + border-radius: 10px; } .whats-next li:first-child { border-top: 0; @@ -75,9 +63,10 @@ const { content = {} } = Astro.props as Props .whats-next li a { width: 100%; display: inline-flex; - padding: 20px 30px; + padding: 16px 20px; + gap: 8px; } .whats-next li a:hover { - @apply bg-normal dark:bg-dark-normal; + @apply bg-white dark:bg-dark-normal; }