Fix padding on all pages

This commit is contained in:
2021-07-03 11:44:58 +02:00
parent c99629dbcd
commit b8b453aee6
9 changed files with 975 additions and 73 deletions

View File

@@ -25,7 +25,7 @@
</a> </a>
</p> </p>
<br class="md:hidden"/> <br class="md:hidden"/>
<span class="inline dark:text-dark-200 text-gray-600 text-xs"> <span class="inline dark:text-gray-400 text-gray-600 text-xs">
{{ $t('footer.links_click') }} {{ $t('footer.links_click') }}
</span> </span>
</div> </div>

View File

@@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<Header /> <Header />
<Nuxt class="z-10 pt-16 lg:pt-24 content px-5 xl:px-32"/> <Nuxt class="z-10 pt-16 lg:pt-24 content"/>
<Footer /> <Footer />
</div> </div>
</template> </template>

View File

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

View File

@@ -1,5 +1,5 @@
<template> <template>
<main v-if="post" class="blog flex flex-col items-center px-5 xl:px-84 mb-16 md:mb-32"> <main v-if="post" class="blog flex flex-col items-center px-5 xl:px-72 mb-16 md:mb-32">
<div class="mt-8 md:mt-32 flex flex-col justify-around py-8 w-full"> <div class="mt-8 md:mt-32 flex flex-col justify-around py-8 w-full">
<div> <div>
<div class="mb-4 flex"> <div class="mb-4 flex">

View File

@@ -1,5 +1,5 @@
<template> <template>
<main v-if="posts" class="blog flex flex-col items-center w-full"> <main v-if="posts" class="blog flex flex-col items-center w-full px-5 xl:px-16">
<PageTitle title="part.blog" /> <PageTitle title="part.blog" />
<p class="text-gray-700 dark:text-gray-400 text-xl mt-4"> <p class="text-gray-700 dark:text-gray-400 text-xl mt-4">
{{ $t('blog.description') }} {{ $t('blog.description') }}

View File

@@ -1,8 +1,8 @@
<template> <template>
<main class="contact flex flex-col items-center px-5 xl:px-64"> <main class="contact flex flex-col items-center px-5 xl:px-48">
<PageTitle title="part.contact" /> <PageTitle title="part.contact" />
<section class="w-full lg:w-3/4 mb-10 mt-4 text-center"> <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"> <h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-gray-400">
{{ $t('contact.why.title') }} {{ $t('contact.why.title') }}
</h1> </h1>
<h3 class="text-md md:text-lg"> <h3 class="text-md md:text-lg">
@@ -10,7 +10,7 @@
</h3> </h3>
</section> </section>
<section class="w-full lg:w-3/4 mb-10 mt-4 text-center"> <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"> <h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-gray-400">
{{ $t('contact.available.title') }} {{ $t('contact.available.title') }}
</h1> </h1>
<h3 class="text-lg md:text-lg"> <h3 class="text-lg md:text-lg">

View File

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

View File

@@ -1,12 +1,12 @@
<template> <template>
<main v-if="projects" class="work flex flex-col items-center"> <main v-if="projects" class="work flex flex-col items-center px-5 xl:px-48">
<PageTitle title="part.projects" /> <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>
<div v-else class="flex flex-col justify-around items-center py-10 w-full"> <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> <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 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 justify-center"> <div class="flex py-4 w-full flex-wrap justify-center">
<div class="md:mx-8 my-4 w-full lg:w-auto" v-for="project in projects"> <div class="md:mx-4 my-4 w-full lg:w-auto" v-for="project in projects">
<Project <Project
:title="project.title" :title="project.title"
:cover="project.cover" :cover="project.cover"

File diff suppressed because it is too large Load Diff