From 7388a9bda12b2e054a68a4bc65fb7b6a84a9c8e5 Mon Sep 17 00:00:00 2001 From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de> Date: Sun, 29 Sep 2024 17:47:57 +0200 Subject: [PATCH] =?UTF-8?q?=20=20=20=20PreCyse-Logo=20soll=20beim=20draufk?= =?UTF-8?q?licken=20zum=20=E2=80=9EHome=E2=80=9C=20weiterleiten?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App/App.css | 7 +++++++ src/components/Navbar.tsx | 16 +++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/App/App.css b/src/App/App.css index 927fe298..6d860fb2 100644 --- a/src/App/App.css +++ b/src/App/App.css @@ -4001,4 +4001,11 @@ figure img{ .nav-item, .basic-nav-dropdown, .nav-link{ border-radius: 10px; +} + +.navbar-brand .col { + padding-left: 0 !important; + padding-right: 0 !important; + margin-top: auto; + margin-bottom: auto; } \ No newline at end of file diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 72adc0d6..972b95ae 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -121,9 +121,19 @@ export function Navbar() { <BootstrapNavbar className="navbar-custom" expand="lg" bg="bg-transparent" variant="light"/* bg={isLightMode ? "d" : "l"} variant={isLightMode ? "dark" : "light"} */fixed="top"> <Container> <BootstrapNavbar.Brand> - <img src='https://static.igem.wiki/teams/5247/logos-team/precyse-no-slogan.png' style={{maxHeight: "5vh"}}/> - <img src='https://static.igem.wiki/teams/5247/logos-team/line-for-logos-offblack.svg' style={{maxHeight: "5vh"}}/> - <img src='https://static.igem.wiki/teams/5247/logos-team/igem-bielefeld-logo-our-colours.png' style={{maxHeight: "5vh"}}/> + <div className="row"> + <div className="col" style={{width: "fit-content"}}> + <a href='/home'><img src='https://static.igem.wiki/teams/5247/logos-team/precyse-no-slogan.png' style={{maxHeight: "5vh"}}/> </a> + </div> + <div className="col" style={{width: "fit-content"}}> + <img src='https://static.igem.wiki/teams/5247/logos-team/line-for-logos-offblack.svg' style={{maxHeight: "5vh"}}/> + </div> + <div className="col" style={{width: "fit-content"}}> + <img src='https://static.igem.wiki/teams/5247/logos-team/igem-bielefeld-logo-our-colours.png' style={{maxHeight: "5vh"}}/> + + </div> + + </div> </BootstrapNavbar.Brand> <BootstrapNavbar.Toggle aria-controls="basic-navbar-nav"/> <BootstrapNavbar.Collapse id="basic-navbar-nav"> -- GitLab