generated from dwd/boilarplate-remix-tailwind-antd
s1
This commit is contained in:
9
app/routes/admin._index.tsx
Normal file
9
app/routes/admin._index.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import AdminNav from '~/components/AdminNav'
|
||||
|
||||
export default function AdminIndex(){
|
||||
return(
|
||||
<div>
|
||||
<AdminNav />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
0
app/routes/admin.edit-module.tsx
Normal file
0
app/routes/admin.edit-module.tsx
Normal file
17
app/routes/admin.new-module.tsx
Normal file
17
app/routes/admin.new-module.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import AdminNav from '~/components/AdminNav';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import ModuleList from '~/components/ModuleList';
|
||||
import NewModule from '~/components/NewModule';
|
||||
|
||||
|
||||
export default function AdminIndex(){
|
||||
return (
|
||||
<div>
|
||||
<AdminNav />
|
||||
<NewModule />
|
||||
<div>
|
||||
<ModuleList />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
19
app/routes/admin.new-question.tsx
Normal file
19
app/routes/admin.new-question.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
import AdminNav from '~/components/AdminNav';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
|
||||
import NewQuestion from '~/components/AddQuestion'
|
||||
import QuestionList from '~/components/QuestionList'
|
||||
|
||||
|
||||
|
||||
export default function AdminIndex(){
|
||||
return (
|
||||
<div>
|
||||
<AdminNav />
|
||||
<div>
|
||||
<NewQuestion />
|
||||
</div>
|
||||
<QuestionList />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
17
app/routes/admin.new-quiz.tsx
Normal file
17
app/routes/admin.new-quiz.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import AdminNav from '~/components/AdminNav';
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import QuizList from '~/components/QuizList';
|
||||
import NewQuiz from '~/components/NewQuiz';
|
||||
|
||||
|
||||
export default function AdminIndex(){
|
||||
return (
|
||||
<div>
|
||||
<AdminNav />
|
||||
<NewQuiz />
|
||||
<div>
|
||||
<QuizList />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user