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
survey
Commits
5412127f
Commit
5412127f
authored
Jul 04, 2022
by
Jiwon Yoon
Browse files
필요없는 부분 삭제
parent
c00364bb
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/home/Home.tsx
View file @
5412127f
import
React
from
"
react
"
;
import
React
from
"
react
"
;
import
{
Link
}
from
"
react-router-dom
"
;
import
{
Link
}
from
"
react-router-dom
"
;
type
HomeProps
=
{
export
const
Home
=
()
=>
(
title
?:
string
;
};
export
const
Home
=
({
title
=
"
Simple Survey Form
"
}:
HomeProps
)
=>
(
<
div
className
=
"flex flex-col place-items-center"
>
<
div
className
=
"flex flex-col place-items-center"
>
<
div
className
=
"justify-end text-center text-3xl text-black h-16 mt-12"
>
<
div
className
=
"justify-end text-center text-3xl text-black h-16 mt-12"
>
가장 쉽게 설문지를 만드세요!
가장 쉽게 설문지를 만드세요!
</
div
>
</
div
>
<
div
className
=
"flex flex-col place-items-center container"
>
<
div
className
=
"flex flex-col place-items-center container"
>
<
div
>
<
div
>
<
Link
to
=
"/create"
className
=
"flex h-14 w-28 items-center border-2 border-themeColor font-bold text-black bg-gray-200 hover:bg-themeColor rounded-lg "
>
<
Link
<
div
className
=
"text-center w-28 font-bold text-black place-items-center"
>
+
</
div
>
to
=
"/create"
className
=
"flex h-14 w-28 items-center border-2 border-themeColor font-bold text-black bg-gray-200 hover:bg-themeColor rounded-lg "
>
<
div
className
=
"text-center w-28 font-bold text-black place-items-center"
>
+
</
div
>
</
Link
>
</
Link
>
</
div
>
</
div
>
<
p
className
=
"text-center text-xl text-black"
>
<
p
className
=
"text-center text-xl text-black"
>
Create now!
</
p
>
Create now!
</
p
>
</
div
>
</
div
>
<
div
className
=
"flex justify-center"
>
<
div
className
=
"flex justify-center"
>
<
img
src
=
"https://3hbgf23vu0wr11wkpae5igwe-wpengine.netdna-ssl.com/wp-content/uploads/2021/04/SurveyExample_v3.jpg"
<
img
src
=
"https://3hbgf23vu0wr11wkpae5igwe-wpengine.netdna-ssl.com/wp-content/uploads/2021/04/SurveyExample_v3.jpg"
className
=
"object-scale-down justify-center"
className
=
"object-scale-down justify-center"
/>
/>
</
div
>
</
div
>
</
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