mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-10 04:28:50 +00:00
Feed and user Feed done
This commit is contained in:
parent
9cf6531f02
commit
04f4198ebf
29 changed files with 331 additions and 10621 deletions
26
code/frontend/src/components/naggingFooter/NaggingFooter.tsx
Normal file
26
code/frontend/src/components/naggingFooter/NaggingFooter.tsx
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { useNavigate } from "react-router-dom";
|
||||
import "./naggingFooter.css";
|
||||
import LogInButton from "../buttons/LogInButton";
|
||||
import SignUpButton from "../buttons/SignUpButton";
|
||||
|
||||
export default function NaggingFooter() {
|
||||
const navigate = useNavigate();
|
||||
return (
|
||||
<div className="footer-container">
|
||||
<img
|
||||
className="header-icon header-icon-feather"
|
||||
src="/assets/icons/BirdIconO.ico"
|
||||
alt="featherIcon"
|
||||
onClick={() => navigate("/")}
|
||||
/>
|
||||
<p className="header-title" onClick={() => navigate("/")}>
|
||||
Feather Feed
|
||||
</p>
|
||||
<div className="footer-spacer" />
|
||||
<div className="signup-button">
|
||||
<SignUpButton />
|
||||
</div>
|
||||
<LogInButton />
|
||||
</div>
|
||||
);
|
||||
}
|
61
code/frontend/src/components/naggingFooter/naggingFooter.css
Normal file
61
code/frontend/src/components/naggingFooter/naggingFooter.css
Normal file
|
@ -0,0 +1,61 @@
|
|||
.footer-container {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100vw;
|
||||
min-height: 32px;
|
||||
max-height: 15vh;
|
||||
background-color: var(--Rotkehlchen-gray);
|
||||
z-index: 2000;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.footer-container {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.header-title {
|
||||
white-space: nowrap;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
margin-left: 0.3rem;
|
||||
margin-right: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.footer-spacer {
|
||||
flex: 1 1 2rem;
|
||||
min-width: 0.5rem;
|
||||
max-width: 2.5rem;
|
||||
}
|
||||
|
||||
.signup-button,
|
||||
.footer-container button,
|
||||
.header-icon-feather {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.signup-button {
|
||||
white-space: nowrap;
|
||||
font-size: 0.95rem;
|
||||
margin-right: 0.2rem;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.footer-container button {
|
||||
margin: 0 !important;
|
||||
padding: 8px;
|
||||
margin-right: 6px !important;
|
||||
}
|
||||
|
||||
.header-icon-feather {
|
||||
width: 30px;
|
||||
margin: 0px !important;
|
||||
margin-left: 6px !important;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue