Commit 0c82b571 authored by Lee Soobeom's avatar Lee Soobeom
Browse files

css

parent 33e86a75
...@@ -52,7 +52,7 @@ export default function BoardPage() { ...@@ -52,7 +52,7 @@ export default function BoardPage() {
{/* Link */} {/* Link */}
</div> </div>
<div className="sm:overflow-y-scroll"> <div className="sm:overflow-y-scroll">
<div className="flex flex-row divide-x-2 border-2 border-solid bg-gray-500 border-y-2 h-10 "> <div className="flex flex-row divide-x-2 border-2 border-solid bg-sky-300 border-y-2 h-10 ">
<div className="basis-full">Title</div> <div className="basis-full">Title</div>
<div className="basis-3/12">Date</div> <div className="basis-3/12">Date</div>
<div className="basis-2/12">Clicks</div> <div className="basis-2/12">Clicks</div>
......
...@@ -24,44 +24,43 @@ export function IntoPost() { ...@@ -24,44 +24,43 @@ export function IntoPost() {
<div> <div>
<div> <div>
<div> <div>
<div className="flex flex-row basis-8"> <div className="flex flex-row basis-8 gap-x-1">
<div className="border-2 border-current rounded"> <div className="border-2 border-sky-300 border-current rounded">
<button id={post._id} onClick={handleDeleteClick}> <button id={post._id} onClick={handleDeleteClick}>
delete delete
</button> </button>
</div> </div>
<div className="border-2 border-current rounded"> <div className="border-2 border-sky-300 border-current rounded">
<Link to="/edit" state={post}> <Link to="/edit" state={post}>
<button>update</button> <button>update</button>
</Link> </Link>
</div> </div>
</div> </div>
<div className="flex flex-row"> <div className="flex flex-row gap-x-1">
<div className="flex basis-3/4 border-2 border-black rounded"> <div className="flex basis-3/4 border-2 border-sky-300 rounded">
제목: {post.title} 제목: {post.title}
</div> </div>
<div className="flex basis-1/4 border-2 border-black rounded"> <div className="flex basis-1/4 border-2 border-sky-300 rounded">
작성자: nickname 작성자: {post.user}
</div> </div>
</div> </div>
<div className="flex flex-row"> <div className="flex flex-row gap-x-1">
<div className="flex basis-1/4 border-2 border-black rounded"> <div className="flex basis-1/4 border-2 border-sky-300 rounded">
도시: {post.city} 도시: {post.city}
</div> </div>
<div className="flex basis-1/4 border-2 border-black rounded"> <div className="flex basis-1/4 border-2 border-sky-300 rounded">
테마: {post.theme} 테마: {post.theme}
</div> </div>
<div className="flex basis-1/4 border-2 border-black rounded"> <div className="flex basis-1/4 border-2 border-sky-300 rounded">
작성일: {post.date} 작성일: {post.date}
</div> </div>
<div className="flex basis-1/4 border-2 border-black rounded"> <div className="flex basis-1/4 border-2 border-sky-300 rounded">
조회수: {post.counts} 조회수: {post.counts}
</div> </div>
</div> </div>
</div> </div>
<div className="border-2 border-black rounded h-full">{post.text}</div> <div className="border-2 border-sky-300 rounded h-96">{post.text}</div>
</div> </div>
{/* <Outlet /> */}
</div> </div>
); );
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment