Rename project

This commit is contained in:
2021-08-05 15:59:14 +02:00
parent 9fad3a5fd8
commit d3ec05a130
15 changed files with 84 additions and 51 deletions

View File

@@ -1,9 +1,9 @@
FROM node:15.8.0-alpine3.10 FROM node:15.8.0-alpine3.10
RUN mkdir -p /usr/src/artsite RUN mkdir -p /usr/src/ares
WORKDIR /usr/src/artsite WORKDIR /usr/src/ares
COPY . /usr/src/artsite COPY . /usr/src/ares
RUN yarn install RUN yarn install

View File

@@ -1,4 +1,4 @@
# ArtSite 🌍 # Arès 🌍
This is my personnal website. This is my personnal website.
Hosted version : [arthurdanjou.fr](https://arthurdanjou.fr) Hosted version : [arthurdanjou.fr](https://arthurdanjou.fr)
@@ -13,7 +13,7 @@ Hosted version : [arthurdanjou.fr](https://arthurdanjou.fr)
- Automatic working state - Automatic working state
- Wonderfull Mobile-Header - Wonderfull Mobile-Header
- Multi-Language site - Multi-Language site
- Connected to ArtApi (my personal api) - Connected to [Athena](https://github.com/arthurdanjou/athena) (my personal api)
## Tech used ⚙ ## Tech used ⚙
@@ -30,4 +30,4 @@ Hosted version : [arthurdanjou.fr](https://arthurdanjou.fr)
## License 📑 ## License 📑
Copyright © 2020 - [@ArthurDanj](https://arthurdanjou.fr) \ Copyright © 2020 - [@ArthurDanj](https://arthurdanjou.fr) \
This project is [MIT](https://github.com/ArthurDanjou/artsite/blob/master/License) Licensed. This project is [MIT](https://github.com/ArthurDanjou/ares/blob/master/License) Licensed.

View File

@@ -1,5 +1,5 @@
{ {
"name": "artsite", "name": "ares",
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@@ -2,7 +2,7 @@
import {NuxtOptionsHead} from "@nuxt/types/config/head"; import {NuxtOptionsHead} from "@nuxt/types/config/head";
const params = { const params = {
title: 'artsite', title: 'arthurdanjou.fr - Web & Software Developer',
color: '#00a0ff', color: '#00a0ff',
image: '/images/memojies/Hey.png', image: '/images/memojies/Hey.png',
url: 'https://arthurdanjou.fr', url: 'https://arthurdanjou.fr',

View File

@@ -48,7 +48,7 @@ const content = {
const storage = { const storage = {
cookie: { cookie: {
prefix: 'artsite/', prefix: 'arthurdanjou.fr/',
options: { options: {
path: '/' path: '/'
} }
@@ -70,7 +70,7 @@ const robots = {
} }
const redirect = [ const redirect = [
{ from: '/source', to: 'https://github.com/arthurdanjou/artsite' }, { from: '/source', to: 'https://github.com/arthurdanjou/ares' },
{ from: '/twitter', to: 'https://twitter.com/arthurdanj' }, { from: '/twitter', to: 'https://twitter.com/arthurdanj' },
{ from: '/github', to: 'https://github.com/arthurdanjou/' }, { from: '/github', to: 'https://github.com/arthurdanjou/' },
{ from: '/shelf', to: '/blog' }, { from: '/shelf', to: '/blog' },

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,41 @@
<template>
<div
v-if="announce"
class="h-16 bg-black text-center"
>
{{ announce }}
</div>
</template>
<script lang="ts">
import {ref, useAsync, useContext} from "@nuxtjs/composition-api";
export default {
name: "Announcement",
setup() {
const {$axios, $sentry} = useContext()
const announce = ref("")
useAsync(async () => {
const response = await $axios.get('/api/announce', {
headers: {
'Authorization': `Bearer ${process.env.API_TOKEN}`
}
})
if (response.status === 200) {
announce.value = response.data.announce
} else {
$sentry.captureEvent(response.data)
}
})
return {
announce
}
}
}
</script>
<style scoped>
</style>

View File

@@ -1,5 +1,5 @@
<template> <template>
<footer class="footer w-full border-t-2 border-solid border-gray-200 px-4 xl:px-32 dark:border-gray-800 mb-22 md:mb-0"> <footer class="footer w-full border-t-2 border-solid border-gray-200 px-4 xl:px-32 dark:border-gray-800 mb-26 md:mb-0">
<div class="flex flex-col-reverse md:flex-row justify-between pt-4 items-center"> <div class="flex flex-col-reverse md:flex-row justify-between pt-4 items-center">
<div class="inline flex space-x-4"> <div class="inline flex space-x-4">
<a class="link font-semibold" href="https://twitch.com/ArthurDanjou" target="_blank" rel="noopener noreferrer"> <a class="link font-semibold" href="https://twitch.com/ArthurDanjou" target="_blank" rel="noopener noreferrer">

View File

@@ -5,25 +5,25 @@
<nuxt-link to="/"> <nuxt-link to="/">
<img src="~/assets/images/logo-header.png" alt="Logo Circle" class="h-10 left cursor-pointer duration-500"/> <img src="~/assets/images/logo-header.png" alt="Logo Circle" class="h-10 left cursor-pointer duration-500"/>
</nuxt-link> </nuxt-link>
<nav class="right"> <nav class="right flex flex-col md:flex-row items-center hidden md:inline-block">
<div class="flex flex-col md:flex-row items-center"> <div class="flex text-lg">
<div class="flex text-lg"> <nuxt-link class="nav-link" to="/about">
<nuxt-link class="nav-link hidden md:inline-block" to="/about"> {{ $t('header.about') }}
{{ $t('header.about') }} </nuxt-link>
</nuxt-link> <nuxt-link class="nav-link" to="/blog">
<nuxt-link class="nav-link hidden md:inline-block" to="/blog"> {{ $t('header.blog') }}
{{ $t('header.blog') }} </nuxt-link>
</nuxt-link> <nuxt-link class="nav-link" to="/projects">
<nuxt-link class="nav-link hidden md:inline-block" to="/projects"> {{ $t('header.projects') }}
{{ $t('header.projects') }} </nuxt-link>
</nuxt-link> <nuxt-link class="nav-link" to="/contact">
<nuxt-link class="nav-link hidden md:inline-block" to="/contact"> {{ $t('header.contact') }}
{{ $t('header.contact') }} </nuxt-link>
</nuxt-link>
</div>
</div> </div>
</nav>
<div class="w-full z-50 fixed bottom-0 left-0 md:hidden">
<ul <ul
class="dark:text-white dark:bg-black text-sm z-50 bg-white md:hidden fixed bottom-0 left-0 w-full flex items-center justify-around h-20 border-t border-gray-200 border-solid navbar-bottom-items" class="bg-gray-300 dark:bg-gray-700 m-4 rounded-xl dark:text-white text-sm flex items-center justify-around h-20 navbar-bottom-items"
> >
<nuxt-link to="/" class="w-1/5"> <nuxt-link to="/" class="w-1/5">
<li class="h-full w-full font-medium flex flex-col items-center justify-center"> <li class="h-full w-full font-medium flex flex-col items-center justify-center">
@@ -51,7 +51,7 @@
</li> </li>
</nuxt-link> </nuxt-link>
</ul> </ul>
</nav> </div>
<div> <div>
<ul class="flex items-center"> <ul class="flex items-center">
<li @click="changeLanguage()" <li @click="changeLanguage()"

View File

@@ -39,7 +39,7 @@ export default defineComponent({
}, },
cover: { cover: {
type: String, type: String,
default: "artapi.png" default: "athena.png"
}, },
description: { description: {
type: String, type: String,

View File

@@ -8,19 +8,19 @@
"tags": ["tags.mc"] "tags": ["tags.mc"]
}, },
{ {
"slug": "artsite", "slug": "ares",
"title": "ArtSite", "title": "ares",
"description": "works.artsite", "description": "works.ares",
"url": "https://arthurdanjou.fr", "url": "https://arthurdanjou.fr",
"cover": "artsite.png", "cover": "ares.png",
"tags": ["tags.web"] "tags": ["tags.web"]
}, },
{ {
"slug": "artapi", "slug": "athena",
"title": "ArtApi", "title": "Athena",
"description": "works.artapi", "description": "works.athena",
"url": "https://api.arthurdanjou.fr", "url": "https://athena.arthurdanjou.fr",
"cover": "artapi.png", "cover": "athena.png",
"tags": ["tags.api"] "tags": ["tags.api"]
}, },
{ {

View File

@@ -277,8 +277,8 @@ export default {
}, },
works: { works: {
artapi: 'ArtApi is my personal API connected to my various instances', athena: 'Athena is my personal API connected to my various instances',
artsite: 'ArtSite is my personal website creating a single point of contact', ares: 'Ares is my personal website creating a single point of contact',
erisium: 'Erisium is a french minecraft mini-game server.', erisium: 'Erisium is a french minecraft mini-game server.',
linkyjs: 'LinkyJS is my custom and Open-Source url shortener' linkyjs: 'LinkyJS is my custom and Open-Source url shortener'
} }

View File

@@ -281,8 +281,8 @@ export default {
}, },
works: { works: {
artapi: 'ArtApi est mon API personnelle connectée à mes diverses instances.', athena: 'Athena est mon API personnelle connectée à mes diverses instances.',
artsite: 'ArtSite est mon site personnel créant un point de contact unique.', ares: 'Ares est mon site personnel créant un point de contact unique.',
erisium: 'Erisium est un serveur minecraft francophone de mini-jeux.', erisium: 'Erisium est un serveur minecraft francophone de mini-jeux.',
linkyjs: "LinkyJS est mon raccourcisseur d'url personnalisé et Open-Source." linkyjs: "LinkyJS est mon raccourcisseur d'url personnalisé et Open-Source."
} }

View File

@@ -9,14 +9,6 @@
{{ $t('contact.why.description') }} {{ $t('contact.why.description') }}
</h3> </h3>
</section> </section>
<section class="w-full lg:w-3/4 mb-10 mt-4 text-justify">
<h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-gray-400">
{{ $t('contact.services.title') }}
</h1>
<div>
</div>
</section>
<section class="w-full lg:w-3/4 mb-10 mt-4 text-justify"> <section class="w-full lg:w-3/4 mb-10 mt-4 text-justify">
<h1 class="font-bold text-gray-700 text-xl md:text-3xl my-4 dark:text-gray-400"> <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') }}