Skip to content

Commit 604952c

Browse files
committed
upd: Read more on chapter cards centered
1 parent 62f5356 commit 604952c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ declare module 'vue' {
1818
CarbonLogoYoutube: typeof import('virtual:vite-icons/carbon/logo-youtube')['default']
1919
CarbonLogoGithub: typeof import('virtual:vite-icons/carbon/logo-github')['default']
2020
CarbonLogoTwitter: typeof import('virtual:vite-icons/carbon/logo-twitter')['default']
21+
CarbonArrowRight: typeof import('virtual:vite-icons/carbon/arrow-right')['default']
2122
}
2223
}
2324

src/pages/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686

8787
<div>
8888
<div
89-
class="flex items-center mt-2 text-gray-700 dark:text-gray-200"
89+
class="flex justify-center mt-2 text-gray-700 dark:text-gray-200"
9090
>
9191
<router-link
9292
:to="chapter.route"
@@ -98,7 +98,7 @@
9898
hover:underline
9999
"
100100
>
101-
Read More
101+
<span>Read More <carbon-arrow-right class="inline" /></span>
102102
</router-link>
103103
</div>
104104
</div>
@@ -110,7 +110,7 @@
110110
</template>
111111

112112
<script setup lang="ts">
113-
import { isDark, chapters } from "~/logic";
113+
import { isDark, chapters } from '~/logic'
114114
</script>
115115

116116
<route lang="yaml">

0 commit comments

Comments
 (0)