mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-06 15:18:48 +00:00
do short explain
This commit is contained in:
parent
802cf8a716
commit
36a855e4e7
4 changed files with 74 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
||||||
import "./about.css";
|
import "./about.css";
|
||||||
|
import { useNavigate } from "react-router-dom";
|
||||||
|
|
||||||
function About() {
|
function About() {
|
||||||
|
const navigate = useNavigate();
|
||||||
return (
|
return (
|
||||||
<div className="mainbox">
|
<div className="mainbox">
|
||||||
<div className="intro">
|
<div className="intro">
|
||||||
|
@ -33,6 +35,36 @@ function About() {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="explain">
|
||||||
|
<div className="explain-announce">This is</div>
|
||||||
|
<div
|
||||||
|
className="explain-title generic-title cursor-pointer"
|
||||||
|
onClick={() => navigate("/feed")}
|
||||||
|
>
|
||||||
|
Feather Feed
|
||||||
|
</div>
|
||||||
|
<div className="explain-text">
|
||||||
|
... a social media platform about Birds.
|
||||||
|
<br />
|
||||||
|
Look up our
|
||||||
|
<span
|
||||||
|
className="color-orange cursor-pointer"
|
||||||
|
onClick={() => navigate("/feed")}
|
||||||
|
>
|
||||||
|
{" "}
|
||||||
|
Feed{" "}
|
||||||
|
</span>
|
||||||
|
and
|
||||||
|
<span
|
||||||
|
className="color-orange cursor-pointer"
|
||||||
|
onClick={() => navigate("/register")}
|
||||||
|
>
|
||||||
|
{" "}
|
||||||
|
Sign up{" "}
|
||||||
|
</span>
|
||||||
|
for your daily Feather Feed
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
:root {
|
|
||||||
--margin-mobile: 2rem;
|
|
||||||
}
|
|
||||||
.mainbox {
|
.mainbox {
|
||||||
min-width: 360px;
|
min-width: 360px;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
|
@ -14,6 +11,38 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.explain {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
align-items: center;
|
||||||
|
margin: 3vw;
|
||||||
|
}
|
||||||
|
.explain-announce {
|
||||||
|
width: 90vw;
|
||||||
|
margin: 2vw;
|
||||||
|
font-size: clamp(5rem, 8vw, 15vw);
|
||||||
|
color: white;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.explain-title {
|
||||||
|
margin: 1vw;
|
||||||
|
width: 90vw;
|
||||||
|
font-size: clamp(7rem, 10vw, 17vw);
|
||||||
|
color: var(--Rotkehlchen-orange-default);
|
||||||
|
}
|
||||||
|
.explain-text {
|
||||||
|
margin: 2vw;
|
||||||
|
width: 90vw;
|
||||||
|
max-width: 90vw !important;
|
||||||
|
font-size: clamp(3.5rem, 7vw, 14vw);
|
||||||
|
color: white;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cursor-pointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
.about-title {
|
.about-title {
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
|
@ -31,9 +60,9 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: clamp(30vw, 45vh, 100%);
|
height: clamp(30vw, 45vh, 100%);
|
||||||
margin: 2vw;
|
margin: var(--margin-mobile);
|
||||||
vertical-align: center;
|
vertical-align: center;
|
||||||
margin-block-end: 2rem;
|
margin-block-end: var(--margin-mobile);
|
||||||
}
|
}
|
||||||
.block2 {
|
.block2 {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
|
@ -26,6 +26,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.generic-title {
|
||||||
|
font-family: "Lora";
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-family: "Lora";
|
font-family: "Lora";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
:root {
|
:root {
|
||||||
--header-height: 48px;
|
--header-height: 48px;
|
||||||
--border-radius: 1rem;
|
--border-radius: 1rem;
|
||||||
|
--margin-mobile: 2rem;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue