Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 23d8463

Browse files
chore: improve headings
1 parent 43aa132 commit 23d8463

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

components/index/ExpertiseCategory.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class="lg:mx-6 lg:w-1/3 leading-tight lg:border-t-0"
55
>
66
<div class="lg:ml-8 p-4">
7-
<h2 class="my-2 text-center font-normal" v-text="title" />
7+
<h3 class="my-2 text-center font-normal" v-text="title" />
88
<div class="lg:flex justify-center">
99
<ul class="list-reset">
1010
<!-- eslint-disable-next-line vue/no-v-html -->

components/index/InformationIcon.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="flex flex-col flex-1 my-8 lg:mx-2 xl:mx-8 group transition-all p-4 md:p-8 rounded lg:hover:scale-1025">
33
<slot />
4-
<h2 class="mt-3 text-lg text-center mb-4 group-hover:text-black transition-all" v-text="title" />
4+
<h3 class="mt-3 text-lg text-center mb-4 group-hover:text-black transition-all" v-text="title" />
55

66
<!-- eslint-disable-next-line vue/no-v-html -->
77
<div class="text-justify group-hover:text-black transition-all text-grey-darkest" v-html="content" />

pages/index.vue

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
leave-active-class="fade-out-down"
1616
mode="out-in"
1717
>
18-
<div
18+
<h1
1919
:key="currentSloganIndex"
20-
class="block text-center text-2xl md:text-3xl lg:text-5xl xl:text-7xl text-rains-lightest my-4 opacity-85 text-shadow animated capitalize"
20+
class="block text-center font-normal text-2xl md:text-3xl lg:text-5xl xl:text-7xl text-rains-lightest my-4 opacity-85 text-shadow animated capitalize"
2121
v-html="currentSlogan"
2222
/>
2323
</Transition>
@@ -29,9 +29,9 @@
2929
</section>
3030
<div class="shadow-inner">
3131
<section class="container mx-auto py-16 md:px-4 md:mb-16 lg:mb-32">
32-
<h1 class="text-center my-8 text-xl lg:text-3xl font-normal">
32+
<h2 class="text-center my-8 text-xl lg:text-3xl font-normal">
3333
{{ $t('index.intro.heading') }}
34-
</h1>
34+
</h2>
3535
<p
3636
class="md:text-justify p-4 md:p-8"
3737
v-html="$t('index.intro.text')"
@@ -56,9 +56,9 @@
5656
</div>
5757
</div>
5858
<section class="w-full xl:w-3/4 mx-auto mt-16 py-8 p-4 text-md">
59-
<h1 class="text-center mb-8 text-3xl font-normal">
59+
<h2 class="text-center mb-8 text-3xl font-normal">
6060
{{ $t('index.expertises.heading') }}
61-
</h1>
61+
</h2>
6262
<p class="text-center text-lg my-1">
6363
{{ $t('index.expertises.subheadings[0]') }}
6464
</p>
@@ -104,9 +104,9 @@
104104
</div>
105105
<section class="bg-cta-end shadow-over-grey-darkest text-white">
106106
<div class="container mx-auto p-4 py-64">
107-
<h1 class="text-center font-normal text-3xl text-rains-lightest mb-3 uppercase text-shadow">
107+
<h2 class="text-center font-normal text-3xl text-rains-lightest mb-3 uppercase text-shadow">
108108
{{ $t('index.end.heading') }}
109-
</h1>
109+
</h2>
110110
<p class="text-center">
111111
{{ $t('index.end.subheading') }}
112112
</p>

0 commit comments

Comments
 (0)