paulnicoue/pages/index.vue

63 lines
1.4 KiB
Vue
Raw Normal View History

2022-09-30 16:18:49 +02:00
<template>
<main>
<div class="title">
<h1 class="title__name">Paul Nicoué</h1>
<div class="title__separator"></div>
<h2 class="title__job">Intégrateur web & développeur full stack</h2>
</div>
</main>
2022-09-30 16:18:49 +02:00
</template>
<script setup>
// ----------------------------------------------------------------------------
// HEAD
// ----------------------------------------------------------------------------
definePageMeta({
pageTitleChunk: null
})
</script>
<style lang="scss">
main {
padding: 4rem 2rem;
}
.title {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-width: 50vw;
text-align: center;
&__name {
opacity: 0;
margin: 0 2rem;
2022-12-09 17:05:31 +01:00
animation: fade-in-from-bottom 400ms ease-in-out 600ms forwards;
}
&__separator {
width: 0;
height: 1px;
margin: 0.5rem auto;
background-color: var(--emerald);
2022-12-09 17:05:31 +01:00
animation: expand-width 400ms ease-in-out 200ms forwards;
}
&__job {
opacity: 0;
font-size: var(--h2-font-size);
font-weight: var(--light-font-weight);
margin: 0 2rem;
2022-12-09 17:05:31 +01:00
animation: fade-in-from-top 400ms ease-in-out 600ms forwards;
}
}
</style>