Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
survey
Commits
107b6098
Commit
107b6098
authored
Jun 27, 2022
by
Jiwon Yoon
Browse files
CreateForm Page
parent
a676b97b
Changes
2
Show whitespace changes
Inline
Side-by-side
frontend/src/App.tsx
View file @
107b6098
...
@@ -3,6 +3,7 @@ import RootPage from "./Pages/RootPage";
...
@@ -3,6 +3,7 @@ import RootPage from "./Pages/RootPage";
import
HomePage
from
"
./Pages/HomePage
"
;
import
HomePage
from
"
./Pages/HomePage
"
;
import
LoginPage
from
"
./Pages/LoginPage
"
;
import
LoginPage
from
"
./Pages/LoginPage
"
;
import
SignUpPage
from
"
./Pages/SignUpPage
"
;
import
SignUpPage
from
"
./Pages/SignUpPage
"
;
import
CreateSurveyFormPage
from
"
./Pages/CreateSurveyFormPage
"
;
import
{
BrowserRouter
,
Route
,
Routes
}
from
"
react-router-dom
"
;
import
{
BrowserRouter
,
Route
,
Routes
}
from
"
react-router-dom
"
;
import
"
tailwindcss/tailwind.css
"
;
import
"
tailwindcss/tailwind.css
"
;
...
@@ -14,6 +15,7 @@ export const App = () => {
...
@@ -14,6 +15,7 @@ export const App = () => {
<
Route
index
element
=
{
<
HomePage
/>
}
/>
<
Route
index
element
=
{
<
HomePage
/>
}
/>
<
Route
path
=
"login"
element
=
{
<
LoginPage
/>
}
/>
<
Route
path
=
"login"
element
=
{
<
LoginPage
/>
}
/>
<
Route
path
=
"signup"
element
=
{
<
SignUpPage
/>
}
/>
<
Route
path
=
"signup"
element
=
{
<
SignUpPage
/>
}
/>
<
Route
path
=
"create"
element
=
{
<
CreateSurveyFormPage
/>
}
/>
</
Route
>
</
Route
>
</
Routes
>
</
Routes
>
</
BrowserRouter
>
</
BrowserRouter
>
...
...
frontend/src/Pages/CreateSurveyFormPage.tsx
0 → 100644
View file @
107b6098
import
React
from
"
react
"
;
import
"
tailwindcss/tailwind.css
"
;
const
CreateSurveyFormPage
=
()
=>
(
<
div
>
설문조사를 직접 만들 수 있는 페이지
</
div
>
);
export
default
CreateSurveyFormPage
;
\ No newline at end of file
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