From 11345a1288ca55713da285f2a97ac295fc8c9b86 Mon Sep 17 00:00:00 2001 From: kinou-p Date: Sun, 16 Feb 2025 12:58:44 +0100 Subject: [PATCH] delete resume --- my-app/src/components/language.tsx | 9 +++++---- my-app/src/css/mine.css | 10 +++++----- my-app/src/pages/contact.tsx | 2 +- my-app/src/pages/home.tsx | 4 ++-- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/my-app/src/components/language.tsx b/my-app/src/components/language.tsx index 4229012..671e814 100644 --- a/my-app/src/components/language.tsx +++ b/my-app/src/components/language.tsx @@ -102,10 +102,10 @@ const Listbox = styled('ul')( `, ); -const AnimatedListbox = React.forwardRef(function AnimatedListbox( - props: MenuListboxSlotProps, - ref: React.ForwardedRef, -) { +const AnimatedListbox = React.forwardRef< + HTMLUListElement, + Omit +>(function AnimatedListbox(props, ref) { const { ownerState, ...other } = props; const popupContext = React.useContext(PopupContext); @@ -128,6 +128,7 @@ const AnimatedListbox = React.forwardRef(function AnimatedListbox( ); }); + const MenuItem = styled(BaseMenuItem)( ({ theme }) => ` list-style: none; diff --git a/my-app/src/css/mine.css b/my-app/src/css/mine.css index eacd75f..b0868e1 100644 --- a/my-app/src/css/mine.css +++ b/my-app/src/css/mine.css @@ -80,11 +80,11 @@ body { display: flex; flex-direction: row; width: 50vw; - margin-right: 7vw; - /* align-self: flex-end; */ - justify-content: right; - /* float: right; */ - } + /* margin: 0 auto; Centers the menu horizontally */ + margin-left: 7vw; + justify-content: center; /* Centers the menu items inside */ +} + .title { color:black; diff --git a/my-app/src/pages/contact.tsx b/my-app/src/pages/contact.tsx index ac95ffe..249d2e7 100644 --- a/my-app/src/pages/contact.tsx +++ b/my-app/src/pages/contact.tsx @@ -16,7 +16,7 @@ function Contact() Gmail
- contact@alexandre-pommier.com + apommier@student.42.fr
GitHub diff --git a/my-app/src/pages/home.tsx b/my-app/src/pages/home.tsx index 9f06201..49b755a 100644 --- a/my-app/src/pages/home.tsx +++ b/my-app/src/pages/home.tsx @@ -22,11 +22,11 @@ function Home() Je suis ouvert à de nombreuses propositions en rapport avec mes études et suis prêt à discuter de mon parcours plus amplement lors d’un entretien. */}
{t("description")}
-
+ {/*
{t("resume")} -
+
*/}
{t("project")}