-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af7df3d
commit f68bb13
Showing
11 changed files
with
117 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const AddAnnouncementIndex = () => { | ||
return ( | ||
<div className="flex justify-center"> | ||
<div className="container">AddAnnouncementIndex</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AddAnnouncementIndex; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/components/posted-announcement/PostedAnnouncementIndex.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const PostedAnnouncementIndex: React.FC = () => { | ||
return ( | ||
<div className="flex justify-center"> | ||
<div className="container">PostedAnnouncement</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default PostedAnnouncementIndex; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
import { | ||
BsBookmarkHeart, | ||
BsEnvelope, | ||
BsFolder, | ||
BsGear, | ||
BsPersonX, | ||
} from "react-icons/bs"; | ||
import { FiMenu } from "react-icons/fi"; | ||
|
||
export const ICONS = { | ||
MENU: FiMenu, | ||
Envelope: BsEnvelope, | ||
Favorite: BsBookmarkHeart, | ||
Posted: BsFolder, | ||
SignOut: BsPersonX, | ||
Settings: BsGear, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import { ROUTES } from "./routes"; | ||
|
||
export const MENU_NAV = [ROUTES.MESSAGES]; | ||
export const MENU_NAV = [ROUTES.MESSAGES, ROUTES.SETTINGS]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { NextPage } from "next"; | ||
import { NextSeo } from "next-seo"; | ||
import AddAnnouncementIndex from "../../components/add-announcement/AddAnnouncementIndex"; | ||
import { ROUTES } from "../../constants/routes"; | ||
|
||
const AddAnnouncement: NextPage = () => { | ||
return ( | ||
<> | ||
<NextSeo title={ROUTES.ADD_ANNOUNCEMENTS.name} /> | ||
<AddAnnouncementIndex /> | ||
</> | ||
); | ||
}; | ||
|
||
export default AddAnnouncement; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { NextPage } from "next"; | ||
import { NextSeo } from "next-seo"; | ||
import PostedAnnouncementIndex from "../../components/posted-announcement/PostedAnnouncementIndex"; | ||
import { ROUTES } from "../../constants/routes"; | ||
|
||
const PostedAnnouncements: NextPage = () => { | ||
return ( | ||
<> | ||
<NextSeo title={ROUTES.POSTED_ANNOUNCEMENTS.name} /> | ||
<PostedAnnouncementIndex /> | ||
</> | ||
); | ||
}; | ||
|
||
export default PostedAnnouncements; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
//import axios from "../constants/axios"; | ||
|
||
class AnnouncementService { | ||
private static instance: AnnouncementService; | ||
public static getInstance(): AnnouncementService { | ||
if (!this.instance) { | ||
this.instance = new AnnouncementService(); | ||
} | ||
return this.instance; | ||
} | ||
constructor() { | ||
console.log("AnnouncementService constructor"); | ||
} | ||
|
||
// here put all announcements requests | ||
} | ||
|
||
export default AnnouncementService; |