mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-29 19:30:35 +01:00
Working
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
// Build Configuration: https://go.nuxtjs.dev/config-build
|
// Build Configuration: https://go.nuxtjs.dev/config-build
|
||||||
export default {
|
export default {
|
||||||
babel: {
|
babel: {
|
||||||
plugins: [['@babel/plugin-proposal-private-methods', { loose: true }]],
|
plugins: [
|
||||||
|
['@babel/plugin-proposal-private-methods', { loose: true }]
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<section v-if="age" class="w-full flex items-center justify-center my-12">
|
<section v-if="age" 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 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">
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
{{ $t('home.about.description', {age: age}) }}
|
{{ $t('home.about.description', {age: age}) }}
|
||||||
</p>
|
</p>
|
||||||
<div class="flex justify-center md:justify-start">
|
<div class="flex justify-center md:justify-start">
|
||||||
<Button content="home.about.about" link="about"/>
|
<Button content="home.about.about" link="about" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -23,9 +23,10 @@
|
|||||||
import {defineComponent, useAsync, useContext} from "@nuxtjs/composition-api";
|
import {defineComponent, useAsync, useContext} from "@nuxtjs/composition-api";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "AboutHome",
|
name: "About",
|
||||||
setup() {
|
setup() {
|
||||||
const {$axios, $sentry, app} = useContext()
|
const {$axios, $sentry, app} = useContext()
|
||||||
|
|
||||||
const age = useAsync(async () => {
|
const age = useAsync(async () => {
|
||||||
const response = await $axios.get('/api/informations', {
|
const response = await $axios.get('/api/informations', {
|
||||||
headers: {
|
headers: {
|
||||||
@@ -17,10 +17,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {computed, useAsync, useContext} from "@nuxtjs/composition-api";
|
import {computed, defineComponent, useAsync, useContext} from "@nuxtjs/composition-api";
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
name: "Announcement",
|
name: "Announce",
|
||||||
setup() {
|
setup() {
|
||||||
const {$axios, $sentry, app} = useContext()
|
const {$axios, $sentry, app} = useContext()
|
||||||
|
|
||||||
@@ -60,5 +60,5 @@ export default {
|
|||||||
getHoverColor,
|
getHoverColor,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
@@ -15,6 +15,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "SkillsAbout"
|
name: "PresentationAbout"
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {computed, onMounted, ref, useRouter, useStore} from "@nuxtjs/composition-api";
|
import {computed, useRouter, useStore} from "@nuxtjs/composition-api";
|
||||||
import {State} from "~/types/types";
|
import {State} from "~/types/types";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<main class="flex flex-col items-center mb-8 px-4 xl:px-32">
|
<main class="flex flex-col items-center mb-8 px-4 xl:px-32">
|
||||||
<Banner />
|
<Banner />
|
||||||
<AboutHome />
|
<About />
|
||||||
<PostsHome />
|
<PostsHome />
|
||||||
<ProjectsHome />
|
<ProjectsHome />
|
||||||
<AdHome />
|
<AdHome />
|
||||||
|
|||||||
Reference in New Issue
Block a user