do small changes from PR comments

This commit is contained in:
Niklas 2025-06-24 20:26:08 +02:00 committed by BlankAccountsUsername
parent a6d94dae3e
commit a41b5ff6cb
3 changed files with 4 additions and 10 deletions

View file

@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta <meta
name="description" name="description"
content="A social media platform for Birds - Feather Feed" content="A social media platform about Birds - Feather Feed"
/> />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />

View file

@ -22,7 +22,7 @@ function Header() {
// TODO // TODO
const logOut = async () => { const logOut = async () => {
try { try {
const response = await axios.delete("http://localhost:3001/api/user/delete"); const response = await axios.delete("http://localhost:3001/api/user/logout");
} catch (err: any) { } catch (err: any) {
console.error("error: ", err.response.data); console.error("error: ", err.response.data);
} }
@ -66,7 +66,7 @@ function Header() {
); );
return ( return (
<div className="outest-container" > <>
<header className="base-header"> <header className="base-header">
<div className="header-icon"> <img className="header-icon-feather" src='/assets/icons/BirdIconO.ico' alt="featherIcon" /> </div> <div className="header-icon"> <img className="header-icon-feather" src='/assets/icons/BirdIconO.ico' alt="featherIcon" /> </div>
<p className="header-title"> <p className="header-title">
@ -82,7 +82,7 @@ function Header() {
> >
{DrawerList} {DrawerList}
</SwipeableDrawer> </SwipeableDrawer>
</div> </>
); );
} }

View file

@ -1,9 +1,3 @@
.outest-container {
display: flex;
flex-direction: row;
justify-content: baseline;
z-index: 1000000;
}
.base-header { .base-header {
z-index: 10; z-index: 10;
width: 100vw; width: 100vw;