Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Feat/blog admin forms" #79

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-quill": "^2.0.0",
"react-router-dom": "^6.11.2",
"tailwind-scrollbar-hide": "^1.1.7"
},
Expand Down
6 changes: 3 additions & 3 deletions src/ADMIN/components/AdminHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function AdminHeader() {
</Link>
<Link
className="text-[#7E8180] hover:text-[#009975] transition-all duration-300 cursor-pointer"
to="/admin/blogs/manage-posts"
to="/admin"
>
Blogs
</Link>
Expand All @@ -76,13 +76,13 @@ function AdminHeader() {
<div className="md:flex gap-8 items-center ">
<Link
className="text-[#7E8180] hover:text-[#009975] transition-all duration-300 cursor-pointer"
to="/admin"
to="/"
>
<img src={bell} alt="notification icon" />
</Link>
<Link
className="text-[#7E8180] hover:text-[#009975] transition-all duration-300 cursor-pointer"
to="/admin"
to="/about-us"
>
<img src={profile} alt="profile pic" className="rounded-full" />
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/ADMIN/components/BottomNavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function BottomNavBar() {

<Link
className="text-[#7E8180] hover:text-[#009975] transition-all duration-300 cursor-pointer"
to="/admin/blogs/manage-posts"
to="/blogs"
>
Blogs
</Link>
Expand Down
51 changes: 0 additions & 51 deletions src/ADMIN/components/blogs/BlogsHeader.jsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/ADMIN/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import AddEventPage from "./pages/events/AddEventPage";
import AllEventsPage from "./pages/events/AllEventsPage";
import UpdateEventPage from "./pages/events/UpdateEventPage";
import AdminLayout from "./components/AdminLayout";
import CreatePost from "./pages/blogs/CreatePost";
import ManagePosts from "./pages/blogs/ManagePosts";

export {
AddChapterPage,
Expand All @@ -16,6 +14,4 @@ export {
AllEventsPage,
UpdateEventPage,
AdminLayout,
CreatePost,
ManagePosts,
};
223 changes: 0 additions & 223 deletions src/ADMIN/pages/blogs/CreatePost.jsx

This file was deleted.

Loading