Skip to content

Commit 80a2589

Browse files
committed
Update landing page and add new font files
1 parent a2ee23b commit 80a2589

27 files changed

+148
-3
lines changed

frontend/src/components/LandingPage/LandingPage.js

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import React from "react";
2+
import lineBg from "../../../static/images/line-background.svg";
3+
import LandingTitle from "./LandingTitle";
24

35
import { slideIn } from "../UI/animations";
46
import styled from "styled-components";
@@ -8,6 +10,23 @@ const Hello = styled.div`
810
var(--animation-timing-function);
911
`;
1012

13+
const Background = styled.div`
14+
background-image: url(${lineBg});
15+
background-repeat: no-repeat;
16+
background-size: 100% auto;
17+
`;
18+
19+
const LandingContainer = styled.div`
20+
padding-top: 20vh;
21+
`;
22+
1123
export default function LandingPage() {
12-
return <Hello className="container">Hello world 123</Hello>;
24+
return (
25+
<Background>
26+
<LandingContainer className="container">
27+
<LandingTitle />
28+
<Hello>Hello world</Hello>
29+
</LandingContainer>
30+
</Background>
31+
);
1332
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import React, { Fragment } from "react";
2+
import styled from "styled-components";
3+
4+
const Title = styled.h1`
5+
text-align: center;
6+
`;
7+
8+
export default function LandingTitle() {
9+
return (
10+
<Fragment>
11+
<Title>Transform image quickly</Title>
12+
</Fragment>
13+
);
14+
}
152 KB
Binary file not shown.
157 KB
Binary file not shown.
149 KB
Binary file not shown.
156 KB
Binary file not shown.
151 KB
Binary file not shown.
157 KB
Binary file not shown.
146 KB
Binary file not shown.
151 KB
Binary file not shown.

0 commit comments

Comments
 (0)