mirror of
https://github.com/theoludwig/theoludwig.git
synced 2026-02-28 16:01:00 +01:00
chore: migrate from ESLint/Prettier to Oxc
This commit is contained in:
@@ -4,9 +4,7 @@ import { CurriculumVitaeSection } from "./CurriculumVitaeSection.tsx"
|
||||
|
||||
export interface CurriculumVitaeEducationProps {}
|
||||
|
||||
export const CurriculumVitaeEducation: React.FC<
|
||||
CurriculumVitaeEducationProps
|
||||
> = () => {
|
||||
export const CurriculumVitaeEducation: React.FC<CurriculumVitaeEducationProps> = () => {
|
||||
const t = useTranslations()
|
||||
|
||||
const educations = [
|
||||
@@ -27,20 +25,15 @@ export const CurriculumVitaeEducation: React.FC<
|
||||
title: t("curriculum-vitae.education.iut.years.2021-2022.title"),
|
||||
courses: [
|
||||
t("curriculum-vitae.education.iut.years.2021-2022.courses.java"),
|
||||
t(
|
||||
"curriculum-vitae.education.iut.years.2021-2022.courses.systems-c",
|
||||
),
|
||||
t("curriculum-vitae.education.iut.years.2021-2022.courses.systems-c"),
|
||||
// t(
|
||||
// "curriculum-vitae.education.iut.years.2021-2022.courses.windows-forms",
|
||||
// ),
|
||||
t.rich(
|
||||
"curriculum-vitae.education.iut.years.2021-2022.courses.sql",
|
||||
{
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
t.rich("curriculum-vitae.education.iut.years.2021-2022.courses.sql", {
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
),
|
||||
}),
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -48,49 +41,35 @@ export const CurriculumVitaeEducation: React.FC<
|
||||
title: t("curriculum-vitae.education.iut.years.2022-2023.title"),
|
||||
courses: [
|
||||
t("curriculum-vitae.education.iut.years.2022-2023.courses.web"),
|
||||
t.rich(
|
||||
"curriculum-vitae.education.iut.years.2022-2023.courses.tests",
|
||||
{
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
t.rich("curriculum-vitae.education.iut.years.2022-2023.courses.tests", {
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
),
|
||||
t.rich(
|
||||
"curriculum-vitae.education.iut.years.2022-2023.courses.clean-code",
|
||||
{
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
}),
|
||||
t.rich("curriculum-vitae.education.iut.years.2022-2023.courses.clean-code", {
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
),
|
||||
}),
|
||||
// t("curriculum-vitae.education.iut.years.2022-2023.courses.sql-security"),
|
||||
t.rich(
|
||||
"curriculum-vitae.education.iut.years.2022-2023.courses.systems-c",
|
||||
{
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
t.rich("curriculum-vitae.education.iut.years.2022-2023.courses.systems-c", {
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
),
|
||||
}),
|
||||
],
|
||||
},
|
||||
{
|
||||
year: t("curriculum-vitae.education.iut.years.2023-2024.description"),
|
||||
title: t("curriculum-vitae.education.iut.years.2023-2024.title"),
|
||||
courses: [
|
||||
t.rich(
|
||||
"curriculum-vitae.education.iut.years.2023-2024.courses.web",
|
||||
{
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
t.rich("curriculum-vitae.education.iut.years.2023-2024.courses.web", {
|
||||
strong: (children) => {
|
||||
return <strong>{children}</strong>
|
||||
},
|
||||
),
|
||||
}),
|
||||
t("curriculum-vitae.education.iut.years.2023-2024.courses.ci-cd"),
|
||||
t(
|
||||
"curriculum-vitae.education.iut.years.2023-2024.courses.complexity-algorithms",
|
||||
),
|
||||
t("curriculum-vitae.education.iut.years.2023-2024.courses.complexity-algorithms"),
|
||||
t("curriculum-vitae.education.iut.years.2023-2024.courses.no-sql"),
|
||||
],
|
||||
},
|
||||
|
||||
@@ -4,9 +4,7 @@ import { CurriculumVitaeSection } from "./CurriculumVitaeSection.tsx"
|
||||
|
||||
export interface CurriculumVitaeInterestsProps {}
|
||||
|
||||
export const CurriculumVitaeInterests: React.FC<
|
||||
CurriculumVitaeInterestsProps
|
||||
> = () => {
|
||||
export const CurriculumVitaeInterests: React.FC<CurriculumVitaeInterestsProps> = () => {
|
||||
const t = useTranslations()
|
||||
|
||||
const interests = [
|
||||
@@ -16,22 +14,14 @@ export const CurriculumVitaeInterests: React.FC<
|
||||
},
|
||||
"link-github": (children) => {
|
||||
return (
|
||||
<a
|
||||
href="https://github.com/theoludwig"
|
||||
target="_blank"
|
||||
className="font-semibold"
|
||||
>
|
||||
<a href="https://github.com/theoludwig" target="_blank" className="font-semibold">
|
||||
{children}
|
||||
</a>
|
||||
)
|
||||
},
|
||||
"link-leon": (children) => {
|
||||
return (
|
||||
<a
|
||||
href="https://github.com/leon-ai/leon"
|
||||
target="_blank"
|
||||
className="font-semibold"
|
||||
>
|
||||
<a href="https://github.com/leon-ai/leon" target="_blank" className="font-semibold">
|
||||
{children}
|
||||
</a>
|
||||
)
|
||||
|
||||
@@ -6,9 +6,7 @@ import { Locales } from "../Layout/Header/Locales/Locales.tsx"
|
||||
|
||||
export interface CurriculumVitaeProfileProps {}
|
||||
|
||||
export const CurriculumVitaeProfile: React.FC<
|
||||
CurriculumVitaeProfileProps
|
||||
> = () => {
|
||||
export const CurriculumVitaeProfile: React.FC<CurriculumVitaeProfileProps> = () => {
|
||||
const t = useTranslations()
|
||||
|
||||
return (
|
||||
@@ -30,9 +28,7 @@ export const CurriculumVitaeProfile: React.FC<
|
||||
<h1 className="h3 my-1!">
|
||||
<strong>{t("meta.title")}</strong>
|
||||
</h1>
|
||||
<h2 className="text-muted h5 font-semibold">
|
||||
{t("curriculum-vitae.description")}
|
||||
</h2>
|
||||
<h2 className="text-muted h5 font-semibold">{t("curriculum-vitae.description")}</h2>
|
||||
<h2 className="text-muted h5">
|
||||
<BirthDate />
|
||||
</h2>
|
||||
|
||||
@@ -4,9 +4,7 @@ export interface CurriculumVitaeSectionProps extends React.PropsWithChildren {
|
||||
title: string
|
||||
}
|
||||
|
||||
export const CurriculumVitaeSection: React.FC<CurriculumVitaeSectionProps> = (
|
||||
props,
|
||||
) => {
|
||||
export const CurriculumVitaeSection: React.FC<CurriculumVitaeSectionProps> = (props) => {
|
||||
const { id, icon, title, children } = props
|
||||
|
||||
return (
|
||||
|
||||
@@ -1,16 +1,11 @@
|
||||
import { useTranslations } from "next-intl"
|
||||
import { FaToolbox } from "react-icons/fa"
|
||||
import {
|
||||
SKILL_CATEGORIES,
|
||||
SKILL_NAMES_BY_CATEGORY,
|
||||
} from "../Home/Skills/skills.ts"
|
||||
import { SKILL_CATEGORIES, SKILL_NAMES_BY_CATEGORY } from "../Home/Skills/skills.ts"
|
||||
import { CurriculumVitaeSection } from "./CurriculumVitaeSection.tsx"
|
||||
|
||||
export interface CurriculumVitaeSkillsProps {}
|
||||
|
||||
export const CurriculumVitaeSkills: React.FC<
|
||||
CurriculumVitaeSkillsProps
|
||||
> = () => {
|
||||
export const CurriculumVitaeSkills: React.FC<CurriculumVitaeSkillsProps> = () => {
|
||||
const t = useTranslations()
|
||||
|
||||
const skills = [
|
||||
@@ -23,11 +18,7 @@ export const CurriculumVitaeSkills: React.FC<
|
||||
}),
|
||||
{
|
||||
category: "others",
|
||||
skillNames: [
|
||||
t("fr-FR-main"),
|
||||
t("locales.en-US"),
|
||||
t("home.skills.driving-license"),
|
||||
],
|
||||
skillNames: [t("fr-FR-main"), t("locales.en-US"), t("home.skills.driving-license")],
|
||||
},
|
||||
] as const
|
||||
|
||||
|
||||
Reference in New Issue
Block a user