1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

feat(portfolio): add Fusey

This commit is contained in:
2025-05-11 17:28:02 +02:00
parent 69af1bccc3
commit a43bfb4a0d
10 changed files with 40 additions and 31 deletions

View File

@ -40,8 +40,8 @@ These configurations are stored in the `.gitconfig` file in your home directory
```sh
[user]
name = Username
email = email@example.com
name = Username
email = email@example.com
```
You can find more information and useful `git` configurations in the [official documentation](https://git-scm.com/docs/git-config).
@ -268,7 +268,7 @@ Sometimes, you want to compare what commits have been made between two branches,
```sh
[alias]
diff-commits = !sh -c 'echo -n "Commits in $2 not in $1 \\(" && printf "%d" $(git cherry -v $1 $2 | wc -l) && echo "\\)" && git cherry -v $1 $2 && echo "" && echo -n "Commits in $1 not in $2 \\(" && printf "%d" $(git cherry -v $2 $1 | wc -l) && echo "\\)" && git cherry -v $2 $1' -
diff-commits = !sh -c 'echo -n "Commits in $2 not in $1 \\(" && printf "%d" $(git cherry -v $1 $2 | wc -l) && echo "\\)" && git cherry -v $1 $2 && echo "" && echo -n "Commits in $1 not in $2 \\(" && printf "%d" $(git cherry -v $2 $1 | wc -l) && echo "\\)" && git cherry -v $2 $1' -
```
With this alias, we can compare the commits between `main` and `develop` branches for example:

View File

@ -140,6 +140,10 @@
"title": "Open-Source"
},
"portfolio": {
"fusey": {
"description": "ARK: Survival Ascended Wiki and Player stats tracker.",
"title": "Fusey"
},
"carolo": {
"description": "Strategy board game similar to chess which allows grandiose moves (only available in French).",
"title": "Carolo"

View File

@ -140,6 +140,10 @@
"title": "Open-Source"
},
"portfolio": {
"fusey": {
"description": "ARK: Survival Ascended Wiki et suivi des statistiques des joueurs.",
"title": "Fusey"
},
"carolo": {
"description": "Jeu de plateau stratégique similaire aux échecs qui permet des coups grandioses, reposant sur des enchaînements remarquables.",
"title": "Carolo"

View File

@ -9,18 +9,25 @@ export const Portfolio: React.FC<PortfolioProps> = () => {
const t = useTranslations()
const items: PortfolioProject[] = [
{
id: "fusey",
title: t("home.portfolio.fusey.title"),
description: t("home.portfolio.fusey.description"),
link: "https://fusey.gg",
image: "/images/portfolio/Fusey.webp",
},
{
id: "carolo",
title: t("home.portfolio.carolo.title"),
description: t("home.portfolio.carolo.description"),
link: "https://carolo.theoludwig.fr/",
link: "https://carolo.theoludwig.fr",
image: "/images/portfolio/Carolo.webp",
},
{
id: "leon",
title: t("home.portfolio.leon.title"),
description: t("home.portfolio.leon.description"),
link: "https://getleon.ai/",
link: "https://getleon.ai",
image: "/images/portfolio/Leon.webp",
},
]

View File

@ -33,7 +33,7 @@ export const PortfolioItem: React.FC<PortfolioItemProps> = (props) => {
<div className="flex justify-center">
<Image
quality={100}
className="size-[300px] transition-opacity duration-500 group-hover:opacity-20 dark:group-hover:opacity-5"
className="size-[300px] rounded-xl transition-opacity duration-500 group-hover:opacity-20 dark:group-hover:opacity-5"
width={300}
height={300}
src={image}

View File

@ -2,7 +2,6 @@
import { classNames } from "@repo/config-tailwind/classNames"
import { usePathname, useRouter } from "@repo/i18n/routing"
import type { Locale } from "@repo/utils/constants"
import { LOCALES } from "@repo/utils/constants"
import { useLocale } from "next-intl"
import { useEffect, useRef } from "react"
@ -16,7 +15,7 @@ export interface LocalesProps {}
export const Locales: React.FC<LocalesProps> = () => {
const router = useRouter()
const pathname = usePathname()
const localeCurrent = useLocale() as Locale
const localeCurrent = useLocale()
const {
value: isVisibleMenu,