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
Hide whitespace changes
Inline
Side-by-side
frontend/src/board/board.tsx
View file @
0c82b571
...
@@ -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-
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-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
>
...
...
frontend/src/post/intopost.tsx
View file @
0c82b571
...
@@ -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
>
);
);
}
}
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