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