mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-31 12:17:53 +01:00
Move v-if
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<section v-if="age" class="w-full flex items-center justify-center my-12">
|
<section class="w-full flex items-center justify-center my-12">
|
||||||
<div class="flex flex-col md:flex-row justify-between items-center">
|
<div class="flex flex-col md:flex-row justify-between items-center">
|
||||||
<div class="mb-12 md:mb-0 w-full md:w-1/2 flex justify-center">
|
<div class="mb-12 md:mb-0 w-full md:w-1/2 flex justify-center">
|
||||||
<img src="@/assets/images/memojies/Hat.png" alt="It's me !" class="xl:w-1/2" />
|
<img src="@/assets/images/memojies/Hat.png" alt="It's me !" class="xl:w-1/2" />
|
||||||
</div>
|
</div>
|
||||||
<div class="md:w-1/2 text-justify">
|
<div v-if="age" class="md:w-1/2 text-justify">
|
||||||
<h2 class="text-4xl font-bold text-center md:text-justify">
|
<h2 class="text-4xl font-bold text-center md:text-justify">
|
||||||
{{ $t('home.about.title') }}
|
{{ $t('home.about.title') }}
|
||||||
</h2>
|
</h2>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<section v-if="posts" class="w-full flex items-center justify-center my-12">
|
<section class="w-full flex items-center justify-center my-12">
|
||||||
<div class="flex flex-col items-center text-center">
|
<div class="flex flex-col items-center text-center">
|
||||||
<div class="flex flex-col items-center">
|
<div class="flex flex-col items-center">
|
||||||
<h2 class="font-bold text-3xl">
|
<h2 class="font-bold text-3xl">
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{{ $t('blog.description') }}
|
{{ $t('blog.description') }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full lg:w-1/2 mt-20 grid grid-cols-1 gap-y-24 mb-8 sm:mb-24 text-left">
|
<div v-if="posts" class="w-full lg:w-1/2 mt-20 grid grid-cols-1 gap-y-24 mb-8 sm:mb-24 text-left">
|
||||||
<Post
|
<Post
|
||||||
v-for="post in posts"
|
v-for="post in posts"
|
||||||
:key="post.slug"
|
:key="post.slug"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<section v-if="projects" class="w-full flex items-center justify-center my-12">
|
<section class="w-full flex items-center justify-center my-12">
|
||||||
<div class="flex flex-col items-center text-center">
|
<div class="flex flex-col items-center text-center">
|
||||||
<div class="flex flex-col items-center">
|
<div class="flex flex-col items-center">
|
||||||
<h2 class="font-bold text-3xl">
|
<h2 class="font-bold text-3xl">
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
{{ $t('projects.description') }}
|
{{ $t('projects.description') }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid grid-cols-1 gap-x-4 gap-y-8 mb-8 sm:mb-20 sm:grid-cols-3 text-left">
|
<div v-if="projects" class="grid grid-cols-1 gap-x-4 gap-y-8 mb-8 sm:mb-20 sm:grid-cols-3 text-left">
|
||||||
<Project
|
<Project
|
||||||
v-for="project in projects"
|
v-for="project in projects"
|
||||||
:key="project.name"
|
:key="project.name"
|
||||||
|
|||||||
Reference in New Issue
Block a user