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

Fix PostWrite(진행중)

parent cdbcbb01
No related branches found
No related tags found
No related merge requests found
import { Map, MapMarker } from "react-kakao-maps-sdk";
import React, { useRef, useState, useEffect, useContext } from 'react';
import '../css/SearchMapByKeyword.css'
const { kakao } = window;
......
......@@ -41,6 +41,10 @@ button:active {
width: 30vw;
}
.App .PostWrite{
margin-right: auto;
}
.App :not(style) {
margin: 10px;
}
\ No newline at end of file
@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;
}
@font-face {
font-family: 'Pretendard-Regular';
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
......@@ -5,8 +13,30 @@
font-style: normal;
}
#postForm{
margin-left: auto;
margin-right: auto;
}
#test{
font-family: 'Pretendard-Regular';
font-size: 20px;
font-weight: 500;
}
#writeTitle{
font-family: 'JalnanGothic';
font-weight: 700;
font-size: 20px;
}
#writeContent{
font-family: 'Pretendard-Regular';
font-weight: 700;
font-size: 20px;
width: 95%;
height: 6.25em;
resize: none;
}
\ No newline at end of file
......@@ -128,14 +128,14 @@ function PostWrite() {
return (
<>
<section style={{ display: "flex" }}>
<section className='PostWrite' style={{ display: "flex" }}>
<div>
<SearchMap loc={location} setLoc={setLocation}></SearchMap>
</div>
<div>
<form onSubmit={onSubmit}>
<form id='postForm' onSubmit={onSubmit}>
<div style={{ display: "flex" }}>
<input readOnly={true} type="text" placeholder="장소 키워드" value={location.keyword} />
<input id='test' readOnly={true} type="text" placeholder="장소 키워드" value={location.keyword} />
<button type="button" onClick={() => {
setLocation({
keyword: "",
......@@ -145,7 +145,7 @@ function PostWrite() {
</div>
<div style={{ display: "grid" }}>
<label>제목</label>
<input
<input id='writeTitle'
type="text"
name='title'
onChange={onTextChange}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment