Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit d4e82ef

Browse files
committed
footer changes
1 parent 5122100 commit d4e82ef

File tree

5 files changed

+61
-0
lines changed

5 files changed

+61
-0
lines changed

src/components/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { checkForCookie } from "../background/api/auth";
1919
import { TopBanner } from "./basicElements/TopBanner";
2020
import { FFLoading } from "./basicElements/Loading";
2121
import { CookieStatus } from "../background/redux/actions/tokenTypes";
22+
import {BottomBanner} from "./basicElements/BottomBanner";
2223

2324
// this takes the redux store and maps everything that is needed to the function props
2425
const mapState = (state: SystemState) => ({
@@ -64,6 +65,7 @@ function App(props: Props): ReactElement {
6465
</main>
6566
</div>
6667
<Footer />
68+
<BottomBanner/>
6769
<PermanentAssets />
6870
</BrowserRouter>
6971
</div>

src/components/Router/Router.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Error404 from "../pages/errors/Error404";
55
import Login from "../basicElements/Login";
66
import Registration from "../pages/Registration";
77
import FileSystem, {filesBaseUrl} from "../pages/filesytem/Filesystem";
8+
import Profile from "../pages/profile/Profile";
89

910
export default function Router(): ReactElement {
1011

@@ -20,6 +21,7 @@ export default function Router(): ReactElement {
2021
<Redirect to={"/"}/>
2122
</Route>
2223
<Route path={"/registration"} component={Registration}/>
24+
<Route path={"/profile"} component={Profile}/>
2325
<Route path={"*"} component={Error404}/>
2426
</Switch>
2527
)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import React, {ReactElement} from "react";
2+
3+
export function BottomBanner():ReactElement {
4+
return(
5+
<div className="d-flex justify-content-center bg-dark queer-banner p-1">
6+
Queer Lives Matter
7+
</div>
8+
)
9+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React, {Props, ReactElement, useState} from "react";
2+
import {Container} from "react-bootstrap";
3+
import {genitiveOfWord} from "../../../background/methods/grammar/germanGrammar";
4+
import {SystemState} from "../../../background/redux/actions/sytemState";
5+
6+
export default function Profile() : ReactElement {
7+
8+
return (
9+
<Container>
10+
<h2>
11+
Profile
12+
</h2>
13+
</Container>
14+
);
15+
}

src/style/helpers.scss

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
11
.text-shadow-none{
22
text-shadow: none;
33
}
4+
5+
.queer-banner{
6+
color:white;
7+
border-top: 5px solid $primary;
8+
text-align: center;
9+
background: linear-gradient(
10+
124deg,
11+
#000000,
12+
#784f16,
13+
#fe0000,
14+
#fe8c01,
15+
#ffe500,
16+
#11a00b,
17+
#0643b3,
18+
#c32ede
19+
);
20+
background-size: 1800% 1800%;
21+
animation: rainbow 18s ease infinite;
22+
@keyframes rainbow {
23+
0%{
24+
color: white;
25+
background-position:0 82%;
26+
}
27+
50%{
28+
color: black;
29+
background-position:100% 19%;
30+
}
31+
100%{
32+
color: white;
33+
background-position:0 82%;
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)