paulnicoue/pages/index.vue

67 lines
1.5 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>
2023-01-10 10:28:09 +01:00
<div class="title__separator" aria-hidden="true"></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>
2023-01-06 15:46:20 +01:00
// --------------------------------------------------
2022-09-30 16:18:49 +02:00
// HEAD
2023-01-06 15:46:20 +01:00
// --------------------------------------------------
2022-09-30 16:18:49 +02:00
definePageMeta({
pageTitleChunk: null
})
</script>
2023-01-11 15:16:55 +01:00
<style lang="scss" scoped>
// --------------------------------------------------
// INDEX STYLE
// --------------------------------------------------
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;
2023-01-10 10:28:09 +01:00
background-color: var(--accent-color);
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>