1seok2

set Intro style

...@@ -2,6 +2,10 @@ body { ...@@ -2,6 +2,10 @@ body {
2 margin: 0; 2 margin: 0;
3 padding: 0; 3 padding: 0;
4 } 4 }
5 +* {
6 + text-decoration: none;
7 + color: #333;
8 +}
5 9
6 .container { 10 .container {
7 display: flex; 11 display: flex;
...@@ -12,3 +16,8 @@ body { ...@@ -12,3 +16,8 @@ body {
12 width: 100vw; 16 width: 100vw;
13 height: 100vh; 17 height: 100vh;
14 } 18 }
19 +
20 +.large-title {
21 + font-size: 2rem;
22 + color: #333
23 +}
...\ No newline at end of file ...\ No newline at end of file
......
1 .body { 1 .body {
2 - border: 1px solid gray;
3 width: 100%; 2 width: 100%;
4 flex-grow: 1; 3 flex-grow: 1;
5 display: flex; 4 display: flex;
......
...@@ -2,9 +2,24 @@ ...@@ -2,9 +2,24 @@
2 height: 120px; 2 height: 120px;
3 background-color: #f3f3f3; 3 background-color: #f3f3f3;
4 display: flex; 4 display: flex;
5 + flex-direction: column;
5 justify-content: center; 6 justify-content: center;
6 align-items: center; 7 align-items: center;
7 font-size: .8rem; 8 font-size: .8rem;
8 width: 100%; 9 width: 100%;
10 +
11 + div {
12 + padding: .3rem 1.6rem;
13 + width: 90%;
14 + text-align: left;
9 color: #aaaaaa; 15 color: #aaaaaa;
16 + &:first-child {
17 + font-size: 1.2rem;
18 + }
19 +
20 + a {
21 + font-size: 1.2rem;
22 + color: #aaaaaa;
23 + }
24 + }
10 } 25 }
...\ No newline at end of file ...\ No newline at end of file
......
1 +.intro {
2 + width: 240px;
3 + padding-bottom: 6rem;
4 +
5 + #id-input {
6 + border: none;
7 + display: block;
8 + width: calc(100% - 1.4rem);
9 + border-bottom: 1px solid #aaa;
10 + margin: 1.2rem 0;
11 + margin-top: 2.4rem;
12 + padding: 0.7rem 0.7rem;
13 + color: #333;
14 + border-radius: .25rem;
15 + &::placeholder {
16 + color: #aaaaaa;
17 + }
18 +
19 + &:focus {
20 + outline: none;
21 + }
22 + }
23 +
24 + #search-button {
25 + width: 100%;
26 + margin: 0;
27 + padding: .8rem .6rem;
28 + border: none;
29 + font-size: .8rem;
30 + color : #fafafa;
31 + background-color: lightskyblue;
32 + border-radius: .25rem;
33 +
34 + &:focus {
35 + outline: none;
36 + border: 1px solid deepskyblue;
37 + }
38 + }
39 +}
...\ No newline at end of file ...\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 **/ 5 **/
6 6
7 import {BASE_URL} from "@src/config/url"; 7 import {BASE_URL} from "@src/config/url";
8 -import {randomTransition} from "@src/components/pageTransition"; 8 +import {randomTransition} from "@src/components/page.transition";
9 import {setState} from "@src/store/state"; 9 import {setState} from "@src/store/state";
10 10
11 export const addEvent = async ( 11 export const addEvent = async (
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
5 **/ 5 **/
6 6
7 import App from './App'; 7 import App from './App';
8 -import {initialTrantition} from "./components/pageTransition"; 8 +import {initialTrantition} from "./components/page.transition";
9 import './assets/style/PageTransition.scss'; 9 import './assets/style/PageTransition.scss';
10 -import {addEvent} from "@src/components/addEvent"; 10 +import {addEvent} from "@src/components/add.event";
11 11
12 window.addEventListener('DOMContentLoaded', () => { 12 window.addEventListener('DOMContentLoaded', () => {
13 /* add div for page transitions */ 13 /* add div for page transitions */
......
...@@ -6,15 +6,20 @@ ...@@ -6,15 +6,20 @@
6 **/ 6 **/
7 7
8 import Title from "@src/components/title"; 8 import Title from "@src/components/title";
9 +import '@src/assets/style/Intro.scss'
9 10
10 const Intro = (): string =>{ 11 const Intro = (): string =>{
11 - return `<div class="home"> 12 + return `<div class="intro">
12 - <lable> 13 + <label for="id-input">
13 - ${Title('인스타 조회하기').Large} 14 + ${Title('SEARCH INSTAGRAM').Large}
14 - <input id="id-input" type="text" name="insta_id" /> 15 + <input
15 - <button id="search-button">조회</button> 16 + id="id-input"
16 - <button id="update-button">업데이</button> 17 + type="text"
17 - </lable> 18 + name="insta_id"
19 + placeholder="INSTAGRAM ID"
20 + />
21 + <button id="search-button">SEARCH</button>
22 + </label>
18 </div>` 23 </div>`
19 } 24 }
20 25
......
...@@ -9,7 +9,18 @@ import '@src/assets/style/Footer.scss' ...@@ -9,7 +9,18 @@ import '@src/assets/style/Footer.scss'
9 const Footer = () : string => { 9 const Footer = () : string => {
10 10
11 return ` 11 return `
12 - <div class="footer">Its my Footer</div> 12 + <div class="footer">
13 + <div>
14 + <a href="mailto:goesnow831@gmail.com">WON SEOG</a>
15 + &nbsp; | &nbsp;
16 + <a href="https://github.com/1seok2">GITHUB</a>
17 + &nbsp; | &nbsp;
18 + <a href="https://goeslog.github.io">BLOG</a>
19 + </div>
20 + <div>
21 + © 2021 goesnow, All rights reserved
22 + </div>
23 + </div>
13 `; 24 `;
14 } 25 }
15 26
......