Skip to content

Commit

Permalink
fix: reorder classes in ServicesCard and update chunk size warning li…
Browse files Browse the repository at this point in the history
…mit in Vite config
  • Loading branch information
Hetari committed Jan 14, 2025
1 parent df3fe70 commit 5b3c137
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/components/ServicesCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h3 class="col-span-6 col-start-5 text-nowrap">{{ title }}</h3>
<div
v-html="shape"
class="animate-[spin_10s_linear_infinite] heading-size-3 hidden fill-flax-smoke-400/50 lg:block"
class="heading-size-3 hidden animate-[spin_10s_linear_infinite] fill-flax-smoke-400/50 lg:block"
/>
</div>

Expand All @@ -28,14 +28,16 @@
<div>
<template v-for="(heading, index) in headings" :key="index">
<p
class="flex gap-x-3 font-bold py-1"
:class="{ 'border-y border-flax-smoke-500/50 !py-1.5': index === 1 }"
class="flex gap-x-3 py-1 font-bold"
:class="{
'border-y border-flax-smoke-500/50 !py-1.5': index === 1,
}"
>
<p
class="self-center font-mono text-base font-medium text-flax-smoke-500/70"
>
{{ (index + 1).toString().padStart(2, '0') }}
</p>
<span
class="self-center font-mono text-base font-medium text-flax-smoke-500/70"
>
{{ (index + 1).toString().padStart(2, '0') }}
</span>
{{ heading }}
</p>
</template>
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default defineConfig({
build: {
sourcemap: true,
// terserOptions:
chunkSizeWarningLimit: 1600,
},
plugins: [
vue(),
Expand Down

0 comments on commit 5b3c137

Please sign in to comment.