Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
travel
Commits
0c82b571
Commit
0c82b571
authored
Jul 21, 2022
by
Lee Soobeom
Browse files
css
parent
33e86a75
Changes
2
Show whitespace changes
Inline
Side-by-side
frontend/src/board/board.tsx
View file @
0c82b571
...
...
@@ -52,7 +52,7 @@ export default function BoardPage() {
{
/* Link */
}
</
div
>
<
div
className
=
"sm:overflow-y-scroll"
>
<
div
className
=
"flex flex-row divide-x-2 border-2 border-solid bg-
gra
y-
5
00 border-y-2 h-10 "
>
<
div
className
=
"flex flex-row divide-x-2 border-2 border-solid bg-
sk
y-
3
00 border-y-2 h-10 "
>
<
div
className
=
"basis-full"
>
Title
</
div
>
<
div
className
=
"basis-3/12"
>
Date
</
div
>
<
div
className
=
"basis-2/12"
>
Clicks
</
div
>
...
...
frontend/src/post/intopost.tsx
View file @
0c82b571
...
...
@@ -24,44 +24,43 @@ export function IntoPost() {
<
div
>
<
div
>
<
div
>
<
div
className
=
"flex flex-row basis-8"
>
<
div
className
=
"border-2 border-current rounded"
>
<
div
className
=
"flex flex-row basis-8
gap-x-1
"
>
<
div
className
=
"border-2
border-sky-300
border-current rounded"
>
<
button
id
=
{
post
.
_id
}
onClick
=
{
handleDeleteClick
}
>
delete
</
button
>
</
div
>
<
div
className
=
"border-2 border-current rounded"
>
<
div
className
=
"border-2
border-sky-300
border-current rounded"
>
<
Link
to
=
"/edit"
state
=
{
post
}
>
<
button
>
update
</
button
>
</
Link
>
</
div
>
</
div
>
<
div
className
=
"flex flex-row"
>
<
div
className
=
"flex basis-3/4 border-2 border-
black
rounded"
>
<
div
className
=
"flex flex-row
gap-x-1
"
>
<
div
className
=
"flex basis-3/4 border-2 border-
sky-300
rounded"
>
제목:
{
post
.
title
}
</
div
>
<
div
className
=
"flex basis-1/4 border-2 border-
black
rounded"
>
작성자:
nickname
<
div
className
=
"flex basis-1/4 border-2 border-
sky-300
rounded"
>
작성자:
{
post
.
user
}
</
div
>
</
div
>
<
div
className
=
"flex flex-row"
>
<
div
className
=
"flex basis-1/4 border-2 border-
black
rounded"
>
<
div
className
=
"flex flex-row
gap-x-1
"
>
<
div
className
=
"flex basis-1/4 border-2 border-
sky-300
rounded"
>
도시:
{
post
.
city
}
</
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
}
</
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
}
</
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
}
</
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
>
{
/* <Outlet /> */
}
</
div
>
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment