From 61172d59e3493549864fb26fc53a65812bb14813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Tue, 30 May 2023 21:51:27 +0200 Subject: [PATCH] feat: migrate progressively to full name instead of nickname --- .devcontainer/devcontainer.json | 2 +- .env.example | 2 +- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 8 ++++---- LICENSE | 2 +- README.md | 8 ++++---- components/Footer.tsx | 2 +- components/Head.tsx | 8 ++++---- components/Header/index.tsx | 4 ++-- components/Profile/ProfileInfo.tsx | 2 +- components/Profile/ProfileList/index.tsx | 12 +++++------- components/Profile/ProfileLogo.tsx | 4 ++-- components/Profile/SocialMediaList/index.tsx | 2 +- components/Skills/skills.ts | 6 +----- cypress/component/Footer.cy.tsx | 2 +- cypress/e2e/common/Header.cy.ts | 4 ++-- docker-compose.yml | 4 ++-- jsonresume-theme-custom/scripts/main.js | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- pages/404.tsx | 2 +- pages/500.tsx | 2 +- pages/blog/[slug].tsx | 2 +- pages/blog/index.tsx | 2 +- posts/thream-v1-0-0.md | 12 ++++++------ public/images/skills/Hyper.svg | 1 - ...ual_Studio_Code.png => VisualStudioCode.png} | Bin resume.jsonc | 8 ++++---- utils/getAge.ts | 16 ++++++++-------- 29 files changed, 61 insertions(+), 68 deletions(-) delete mode 100644 public/images/skills/Hyper.svg rename public/images/skills/{Visual_Studio_Code.png => VisualStudioCode.png} (100%) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a33f86d..4ec72ba 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "Divlo", + "name": "theoludwig", "dockerComposeFile": "./docker-compose.yml", "service": "workspace", "workspaceFolder": "/workspace", diff --git a/.env.example b/.env.example index bc60517..9faeffc 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,2 @@ -COMPOSE_PROJECT_NAME=divlo +COMPOSE_PROJECT_NAME=theoludwig PORT=3000 diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index c2c3589..8a0c550 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -60,7 +60,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -. +. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2a217e9..235ea61 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,10 +1,10 @@ # 💡 Contributing -Thanks a lot for your interest in contributing to **divlo.fr**! 🎉 +Thanks a lot for your interest in contributing to **theoludwig.fr**! 🎉 ## Code of Conduct -**divlo.fr** adopted the [Contributor Covenant](https://www.contributor-covenant.org/) as its Code of Conduct, and we expect project participants to adhere to it. Please read [the full text](./CODE_OF_CONDUCT.md) so that you can understand what actions will and will not be tolerated. +**theoludwig.fr** adopted the [Contributor Covenant](https://www.contributor-covenant.org/) as its Code of Conduct, and we expect project participants to adhere to it. Please read [the full text](./CODE_OF_CONDUCT.md) so that you can understand what actions will and will not be tolerated. ## Types of contributions @@ -21,7 +21,7 @@ Thanks a lot for your interest in contributing to **divlo.fr**! 🎉 - Make sure your **code passes the tests**. -If you're adding new features to **divlo.fr**, please include tests. +If you're adding new features to **theoludwig.fr**, please include tests. ## Commits @@ -68,4 +68,4 @@ docker compose up --build ### Services started -- website: `http://127.0.0.1:3000` +- `website`: diff --git a/LICENSE b/LICENSE index 04e85c3..25dddde 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) Divlo +Copyright (c) Théo LUDWIG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 213a82a..3675538 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

Théo LUDWIG (Divlo)

+

Théo LUDWIG

Developer Full Stack • Open-Source enthusiast @@ -11,8 +11,8 @@ Twitter YouTube Twitch - Website - Email + Website + Email


@@ -21,7 +21,7 @@ ```json { - "name": "Théo LUDWIG (Divlo)", + "name": "Théo LUDWIG", "pronouns": "He/Him", "birthDate": "31/03/2003", "nationality": "Alsace, France", diff --git a/components/Footer.tsx b/components/Footer.tsx index c568449..aa42945 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -21,7 +21,7 @@ export const Footer: React.FC = (props) => { href='/' className='text-yellow hover:underline dark:text-yellow-dark' > - Théo LUDWIG (Divlo) + Théo LUDWIG {' '} | {t('common:all-rights-reserved')}

diff --git a/components/Head.tsx b/components/Head.tsx index 00a756d..4186dce 100644 --- a/components/Head.tsx +++ b/components/Head.tsx @@ -9,10 +9,10 @@ interface HeadProps { export const Head: React.FC = (props) => { const { - title = 'Théo LUDWIG (Divlo)', - image = 'https://divlo.fr/images/icon-96x96.png', - description = 'Théo LUDWIG (Divlo) - Developer Full Stack • Passionate about High-Tech', - url = 'https://divlo.fr/' + title = 'Théo LUDWIG', + image = 'https://theoludwig.fr/images/icon-96x96.png', + description = 'Théo LUDWIG - Developer Full Stack • Passionate about High-Tech', + url = 'https://theoludwig.fr/' } = props return ( diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 6ab54e0..356feb0 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -20,11 +20,11 @@ export const Header: React.FC = (props) => { width={60} height={60} src='/images/divlo_icon_small.png' - alt='Divlo' + alt='Théo LUDWIG' priority /> - Théo LUDWIG (Divlo) + Théo LUDWIG diff --git a/components/Profile/ProfileInfo.tsx b/components/Profile/ProfileInfo.tsx index 11a6aa6..566d76e 100644 --- a/components/Profile/ProfileInfo.tsx +++ b/components/Profile/ProfileInfo.tsx @@ -6,7 +6,7 @@ export const ProfileInformation: React.FC = () => { return (

- Théo LUDWIG (Divlo) + Théo LUDWIG

{t('home:about.description')}

diff --git a/components/Profile/ProfileList/index.tsx b/components/Profile/ProfileList/index.tsx index cb55db3..b1562b3 100644 --- a/components/Profile/ProfileList/index.tsx +++ b/components/Profile/ProfileList/index.tsx @@ -1,7 +1,7 @@ import useTranslation from 'next-translate/useTranslation' import { useMemo } from 'react' -import { DIVLO_BIRTH_DATE, DIVLO_BIRTH_DATE_STRING, getAge } from 'utils/getAge' +import { BIRTH_DATE, BIRTH_DATE_STRING, getAge } from 'utils/getAge' import { ProfileItem } from './ProfileItem' @@ -9,7 +9,7 @@ export const ProfileList: React.FC = () => { const { t } = useTranslation('home') const age = useMemo(() => { - return getAge(DIVLO_BIRTH_DATE) + return getAge(BIRTH_DATE) }, []) return ( @@ -20,15 +20,13 @@ export const ProfileList: React.FC = () => { /> ) diff --git a/components/Profile/ProfileLogo.tsx b/components/Profile/ProfileLogo.tsx index 45fed50..331e64a 100644 --- a/components/Profile/ProfileLogo.tsx +++ b/components/Profile/ProfileLogo.tsx @@ -1,11 +1,11 @@ import Image from 'next/image' -import DivloLogo from 'public/images/divlo_logo.png' +import Logo from 'public/images/divlo_logo.png' export const ProfileLogo: React.FC = () => { return (
- Divlo + Théo LUDWIG
) } diff --git a/components/Profile/SocialMediaList/index.tsx b/components/Profile/SocialMediaList/index.tsx index ba37dbb..8a95d39 100644 --- a/components/Profile/SocialMediaList/index.tsx +++ b/components/Profile/SocialMediaList/index.tsx @@ -31,7 +31,7 @@ export const SocialMediaList: React.FC = () => { - + diff --git a/components/Skills/skills.ts b/components/Skills/skills.ts index 03ff457..de7c4b5 100644 --- a/components/Skills/skills.ts +++ b/components/Skills/skills.ts @@ -88,16 +88,12 @@ export const skills = { }, 'Visual Studio Code': { link: 'https://code.visualstudio.com/', - image: '/images/skills/Visual_Studio_Code.png' + image: '/images/skills/VisualStudioCode.png' }, Git: { link: 'https://git-scm.com/', image: '/images/skills/Git.png' }, - Hyper: { - link: 'https://hyper.is/', - image: '/images/skills/Hyper.svg' - }, Ubuntu: { link: 'https://ubuntu.com/', image: '/images/skills/Ubuntu.png' diff --git a/cypress/component/Footer.cy.tsx b/cypress/component/Footer.cy.tsx index f36bd35..03b8de4 100644 --- a/cypress/component/Footer.cy.tsx +++ b/cypress/component/Footer.cy.tsx @@ -4,7 +4,7 @@ describe('