Remove PageTitle + Fix page description

This commit is contained in:
2021-08-31 21:18:37 +02:00
parent 025b3d87ed
commit 22f2c4e9d3
7 changed files with 8 additions and 20 deletions

View File

@@ -16,16 +16,6 @@ const translations = {
close: 'Fermer le menu' close: 'Fermer le menu'
}, },
part: {
about: 'A propos',
contact: 'Me contacter',
projects: 'Mes projets',
blog: 'Mon blog',
env: 'Mon environnement',
newsletter: 'Ma newsletter',
services: 'Mes services'
},
services: { services: {
description: 'Je fourni tout ce dont vous avez besoin pour créer votre site internet parfait', description: 'Je fourni tout ce dont vous avez besoin pour créer votre site internet parfait',
1: { 1: {

View File

@@ -1,6 +1,5 @@
<template> <template>
<main class="flex flex-col items-center mb-8 px-4 xl:px-64"> <main class="flex flex-col items-center mb-8 px-4 xl:px-64">
<PageTitle title="part.about"/>
<PresentationAbout /> <PresentationAbout />
<SkillsAbout /> <SkillsAbout />
<InterestsAbout /> <InterestsAbout />

View File

@@ -1,7 +1,6 @@
<template> <template>
<main v-if="posts" class="blog flex flex-col items-center w-full px-4 xl:px-16"> <main v-if="posts" class="blog flex flex-col items-center w-full px-4 xl:px-16">
<PageTitle title="part.blog" /> <p class="text-gray-700 dark:text-gray-400 text-xl mt-4 mb-8 text-justify">
<p class="text-gray-700 dark:text-gray-400 text-xl mt-4 mb-8">
{{ $t('blog.description') }} {{ $t('blog.description') }}
</p> </p>
<h1 v-if="posts.length === 0" class="text-xl font-bold text-center my-8 w-full">{{ $t('blog.no_posts') }}</h1> <h1 v-if="posts.length === 0" class="text-xl font-bold text-center my-8 w-full">{{ $t('blog.no_posts') }}</h1>

View File

@@ -1,7 +1,8 @@
<template> <template>
<main class="contact flex flex-col items-center px-4 xl:px-64"> <main class="contact flex flex-col items-center px-4 xl:px-64">
<PageTitle class="self-center" title="part.contact" /> <p class="text-gray-700 dark:text-gray-400 text-xl mt-4 mb-8 text-justify">
<p class="text-justify text-gray-700 dark:text-gray-400 text-xl mb-8 mt-4">{{ $t('contact.description') }}</p> {{ $t('contact.description') }}
</p>
<section class="w-full mb-8 text-justify"> <section class="w-full mb-8 text-justify">
<h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-gray-400 text-center"> <h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-gray-400 text-center">
{{ $t('contact.why.title') }} {{ $t('contact.why.title') }}

View File

@@ -1,7 +1,8 @@
<template> <template>
<main class="flex flex-col items-center px-4 xl:px-64"> <main class="flex flex-col items-center px-4 xl:px-64">
<PageTitle title="part.env" /> <p class="text-gray-700 dark:text-gray-400 text-xl mt-4 mb-8 text-justify">
<p class="text-justify text-gray-700 dark:text-gray-400 text-xl my-8">{{ $t('env.title.description') }}</p> {{ $t('env.title.description') }}
</p>
<EnvGroup> <EnvGroup>
<EnvTitle title="env.title.ide"> <EnvTitle title="env.title.ide">
<DevelopmentIcon /> <DevelopmentIcon />

View File

@@ -1,8 +1,7 @@
<template> <template>
<main class="flex flex-col mb-12 px-4 xl:px-64"> <main class="flex flex-col mb-12 px-4 xl:px-64">
<PageTitle class="self-center" title="part.newsletter"/>
<section class="flex flex-col 2xl:flex-row items-center py-8"> <section class="flex flex-col 2xl:flex-row items-center py-8">
<div class="ml-2 text-lg leading-6 text-justify dark:text-gray-400 text-gray-700"> <div class="text-gray-700 dark:text-gray-400 text-xl mt-4 mb-8 text-justify">
<p>{{ $t('newsletter.description') }}</p> <p>{{ $t('newsletter.description') }}</p>
</div> </div>
</section> </section>

View File

@@ -1,6 +1,5 @@
<template> <template>
<main v-if="projects" class="flex flex-col items-center px-4 xl:px-32"> <main v-if="projects" class="flex flex-col items-center px-4 xl:px-32">
<PageTitle title="part.projects" />
<h1 v-if="projects.length === 0" class="text-xl font-bold text-center my-8 w-full">{{ $t('projects.no_project') }}</h1> <h1 v-if="projects.length === 0" class="text-xl font-bold text-center my-8 w-full">{{ $t('projects.no_project') }}</h1>
<section v-else class="flex flex-col justify-around items-center w-full"> <section v-else class="flex flex-col justify-around items-center w-full">
<h1 class="text-gray-700 dark:text-gray-400 text-xl mt-4 mb-8">{{ $t('projects.description') }}</h1> <h1 class="text-gray-700 dark:text-gray-400 text-xl mt-4 mb-8">{{ $t('projects.description') }}</h1>