Skip to content
Snippets Groups Projects
Commit bcbedbaa authored by Jaeyong Lee's avatar Jaeyong Lee
Browse files

Update Main.css

parent 2892e0e9
No related branches found
No related tags found
No related merge requests found
@font-face {
font-family: 'JalnanGothic';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_231029@1.1/JalnanGothic.woff') format('woff');
font-weight: normal;
font-style: normal;
}
.introduction {
font-size: 30px;
background-image: url("../introduction.png");
width: 50%;
height: 50%;
display: flex;
justify-content: center;
align-items: center;
padding: 50px;
flex-wrap: wrap;
}
.introduction p{
color: white;
font-family: "JalnanGothic";
}
Button {
width: 150px;
height: 50px;
font-size: 20px;
font-family:Arial, Helvetica, sans-serif;
transition:
transform .2s;
}
Button:hover{
opacity: 0.7;
transition: all 0.2s ease-out;
}
\ No newline at end of file
frontend/src/introduction.png

2.21 MiB

......@@ -3,7 +3,7 @@ import { useNavigate } from 'react-router-dom';
import { UserContext } from '../Context.js';
import Article from '../components/Article.js';
import React, { useEffect, useState, useContext} from 'react';
import '../css/Main.css'
import axios from 'axios';
axios.defaults.withCredentials = true;
......@@ -40,9 +40,9 @@ function Main() {
return(
<div className="App">
<h1>메인 페이지 니다.</h1>
<h1>식도락에 오신 것을 환영합니다. </h1>
<div className="introduction">
소개 내용을 담을 공간
<p>식당 리뷰를 손쉽게 모아볼 있는 서비스</p>
</div>
<Button>검색</Button>
{listItem}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment