Archived
created base structure of admin page
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
export default function AdminArticlesCreate() {
|
||||
return (
|
||||
<div>
|
||||
<h1>Create a new article</h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
function AdminArticlesPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1>Page to manage articles</h1>
|
||||
<a href="/admin/articles/create">create new article</a> <br />
|
||||
<p>List of existing articles</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default AdminArticlesPage;
|
||||
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
|
||||
export default function AdminCategoriesCreate() {
|
||||
return (
|
||||
<div>
|
||||
<h1>Create a new category</h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from "react";
|
||||
|
||||
export default function AdminCategoriesPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1>Page to manage categories</h1>
|
||||
<a href="/admin/categories/create">create new category</a> <br />
|
||||
<p>List of existing category</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import React from "react";
|
||||
|
||||
export default function AdminPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1>AdminPage to manage explainegy</h1>
|
||||
<a href="/admin/articles/">articles</a> <a href="/admin/categories/">categories</a> <br />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user