-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome.js
43 lines (38 loc) · 1.06 KB
/
Home.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import React from "react";
import { Link } from "react-router-dom"; //React-Router import
import "./Home.css";
import imgfile from "./logo/white_logo.png";
const Home = () => {
const parent_div = {
width: "100%",
height: "100%",
textAlign: "center",
};
const title_style = {
marginTop: "10%",
};
const background = {
width: "100%",
height: "100vh",
background: "linear-gradient(-45deg, #F12711, #F5AF19, #F5AF19, #F12711)",
backgroundSize: "400% 400%",
animation: "gradient 13s ease infinite",
};
return (
<div style={background}>
<div style={parent_div}>
<img className="logo" src={imgfile} />
<div style={title_style}>
<div className="container2">
<span className="text1">편리한 쇼핑을 도와 주는</span>
<span className="text2">셀프 과일 계산대</span>
</div>
</div>
<Link to="/selectupload">
<div className="title_yellow_button">시작하기</div>
</Link>
</div>
</div>
);
};
export default Home;