Fix translations

This commit is contained in:
2021-04-20 14:47:09 +02:00
parent 9ad3a3b704
commit bce8f926ee
8 changed files with 15 additions and 50 deletions

View File

@@ -1,9 +1,6 @@
<template>
<h1
class="mt-16 md:mt-32 font-bold text-2xl md:text-5xl mr-2 inline mb-4 border-b-3 border-solid border-indigo-600"
>
<h1 class="mt-16 md:mt-32 font-bold text-3xl md:text-5xl mr-2 inline mb-4 border-b-3 border-solid border-indigo-600">
{{ this.$t(title) }}
<slot />
</h1>
</template>

View File

@@ -8,11 +8,11 @@ export default {
},
part: {
about: 'About',
about: 'About me',
blog: 'My blog',
work: 'My work',
contact: 'Contact me',
env: 'My Environment'
env: 'My environment'
},
footer: {
@@ -227,7 +227,7 @@ export default {
software: 'Software',
web: 'Web',
api: 'API',
mc: 'MineCraft'
mc: 'Minecraft'
},
experiences: {

View File

@@ -12,7 +12,7 @@ export default {
contact: 'Me contacter',
projects: 'Mes projets',
blog: 'Mon blog',
env: 'Mon Environnement'
env: 'Mon environnement'
},
footer: {
@@ -222,7 +222,7 @@ export default {
software: 'Logiciel',
web: 'Web',
api: 'API',
mc: 'MineCraft'
mc: 'Minecraft'
},
experiences: {

View File

@@ -1,12 +1,6 @@
<template>
<main class="about flex flex-col items-center mb-8 px-5 xl:px-64">
<PageTitle
title="part.about"
>
<svg class="inline-block icon" height="40" width="40" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
</svg>
</PageTitle>
<PageTitle title="part.about"/>
<PresentationAbout />
<SkillsAbout />
<InterestsAbout />

View File

@@ -1,20 +1,13 @@
<template>
<main v-if="posts" class="blog flex flex-col items-center w-full">
<PageTitle
title="part.blog"
color="green"
>
<svg class="inline-block icon" height="40" width="40" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
</PageTitle>
<PageTitle title="part.blog" />
<p class="text-gray-700 dark:text-gray-400 text-xl mt-4">
{{ $t('blog.description') }}
</p>
<h1 v-if="posts.length === 0" class="text-xl font-bold text-center my-8 w-full">{{ $t('blog.no_posts') }}</h1>
<div class="w-full" v-else>
<div class="flex py-8 w-full flex-wrap" >
<div class="md:mx-3 my-2" v-for="post in posts">
<div class="flex py-8 w-full flex-wrap">
<div class="md:mx-8 my-4 w-full lg:w-auto" v-for="post in posts">
<Post
:title="post.title"
:cover="post.cover"

View File

@@ -1,13 +1,6 @@
<template>
<main class="contact flex flex-col items-center px-5 xl:px-64">
<PageTitle
title="part.contact"
>
<svg class="inline-block icon" height="40" width="40" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
</svg>
</PageTitle>
<PageTitle title="part.contact" />
<section class="w-full lg:w-3/4 mb-10 mt-4 text-center">
<h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-dark-100">
{{ $t('contact.why.title') }}

View File

@@ -1,12 +1,6 @@
<template>
<main class="flex flex-col items-center px-5 xl:px-64">
<PageTitle
title="part.env"
>
<svg class="inline icon" height="40" width="40" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 4a2 2 0 114 0v1a1 1 0 001 1h3a1 1 0 011 1v3a1 1 0 01-1 1h-1a2 2 0 100 4h1a1 1 0 011 1v3a1 1 0 01-1 1h-3a1 1 0 01-1-1v-1a2 2 0 10-4 0v1a1 1 0 01-1 1H7a1 1 0 01-1-1v-3a1 1 0 00-1-1H4a2 2 0 110-4h1a1 1 0 001-1V7a1 1 0 011-1h3a1 1 0 001-1V4z" />
</svg>
</PageTitle>
<PageTitle title="part.env" />
<p class="text-gray-700 dark:text-gray-400 text-xl my-8">{{ $t('env.title.description') }}</p>
<EnvGroup>
<EnvTitle title="env.title.ide">

View File

@@ -1,18 +1,12 @@
<template>
<main v-if="projects" class="work flex flex-col items-center">
<PageTitle
title="part.projects"
>
<svg class="inline-block icon" height="40" width="40" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
</PageTitle>
<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>
<div v-else class="flex flex-col justify-around items-center py-10 w-full">
<h1 class="text-gray-700 dark:text-gray-400 text-xl mt-4">{{ $t('projects.description') }}</h1>
<div class="flex flex-col items-center md:items-start md:flex-row flex-wrap w-full space-y-3 md:space-y-0">
<div class="flex py-8 w-full flex-wrap" >
<div class="md:mx-3 my-2 w-full lg:w-auto" v-for="project in projects">
<div class="flex py-8 w-full flex-wrap justify-center">
<div class="md:mx-8 my-4 w-full lg:w-auto" v-for="project in projects">
<Project
:title="project.title"
:cover="project.cover"