Skip to content

Commit

Permalink
Ft Documentations Frontend (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
SHYAKA-Aime authored Dec 3, 2024
1 parent 330f738 commit 8833480
Show file tree
Hide file tree
Showing 96 changed files with 2,543 additions and 73 deletions.
Empty file modified .babelrc
100755 → 100644
Empty file.
Empty file modified .circleci/config.yml
100755 → 100644
Empty file.
Empty file modified .gitignore
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
Empty file modified __mocks__/fileMock.ts
100755 → 100644
Empty file.
Empty file modified __mocks__/styleMock.ts
100755 → 100644
Empty file.
Empty file modified index.html
100755 → 100644
Empty file.
Empty file modified jest.config.js
100755 → 100644
Empty file.
4 changes: 3 additions & 1 deletion package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,18 @@
"popper.js": "^1.16.1",
"pusher": "^5.2.0",
"pusher-js": "^8.4.0-rc2",
"quill": "^2.0.2",
"react-datepicker": "^4.8.0",
"react-hook-form": "^7.45.4",
"react-hot-toast": "^2.4.1",
"react-i18next": "^11.18.6",
"react-icons": "^4.6.0",
"react-icons": "^4.12.0",
"react-js-pagination": "^3.0.2",
"react-loader-spinner": "^6.1.6",
"react-loading-skeleton": "^3.5.0",
"react-modal": "^3.16.1",
"react-paginate": "^8.1.3",
"react-quill": "^2.0.0",
"react-redux": "^8.0.4",
"react-render-html": "^0.6.0",
"react-router-dom": "^6.4.2",
Expand Down
Empty file modified postcss.config.js
100755 → 100644
Empty file.
Empty file modified public/index.html
100755 → 100644
Empty file.
Empty file modified src/App.tsx
100755 → 100644
Empty file.
Empty file modified src/assets/assets/NotFoundImg.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/avatar.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/bg-error-img.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/bg-image.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/body.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/landing.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/logo.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/logoWhite.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/lpageSvg.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/assets/program-icon.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/avatar.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/logo.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/assets/logoWhite.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified src/components/AddTrainModel.tsx
100755 → 100644
Empty file.
Empty file modified src/components/Button.tsx
100755 → 100644
Empty file.
Empty file modified src/components/CkeckBox.tsx
100755 → 100644
Empty file.
Empty file modified src/components/Counter/Counter.tsx
100755 → 100644
Empty file.
Empty file modified src/components/Dropdown/Threedots.tsx
100755 → 100644
Empty file.
Empty file modified src/components/TableData.tsx
100755 → 100644
Empty file.
Empty file modified src/components/TestTailwind.tsx
100755 → 100644
Empty file.
Empty file modified src/components/pagination.tsx
100755 → 100644
Empty file.
Empty file modified src/components/profileDropdown.tsx
100755 → 100644
Empty file.
30 changes: 23 additions & 7 deletions src/components/sidebar/sidebarItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export const sidebarItems1 = [
icon: <Icon icon="ic:round-people"></Icon>,
title: "Trainees-Applicants",
},
// {
// path: "Applicant-Stages",
// icon: <Icon icon="ic:round-people"></Icon>,
// title: "Applicant-Stages",
// },
{
path: "cohort",
icon: <Icon icon="fa6-solid:graduation-cap"></Icon>,
Expand All @@ -69,6 +74,12 @@ export const sidebarItems1 = [
icon: <Icon icon="heroicons-outline:support"></Icon>,
title: "Tickets",
},
{
path: "documents",
icon: <Icon icon="heroicons:document-20-solid"></Icon>,
title: "Docs",
},

// {
// path: "Trash",
// icon: <Icon icon="fa-solid:trash"></Icon>,
Expand Down Expand Up @@ -114,7 +125,11 @@ export const applicantSidebarItems = [
icon: <Icon icon="heroicons-outline:support"></Icon>,
title: "Tickets",
},

{
path: "documents",
icon: <Icon icon="heroicons:document-20-solid"></Icon>,
title: "Docs",
},
{
path: "blogs",
icon: <Icon icon="mdi:blogger" />,
Expand Down Expand Up @@ -150,20 +165,21 @@ export const traineeSidebarItems = [
icon: <Icon icon="heroicons-outline:support"></Icon>,
title: "Tickets",
},

{
path: "documents",
icon: <Icon icon="heroicons:document-20-solid"></Icon>,
title: "Docs",
},
{
path: "blogs",
icon: <Icon icon="mdi:blogger" />,
title: "Blogs",
},
];



export const sidebarItems2 = [
{
path: "/documents",
icon: <Icon icon="heroicons:document-20-solid"></Icon>,
title: "Docs",
},
{
path: "Trash",
icon: <Icon icon="fa-solid:trash"></Icon>,
Expand Down
Empty file modified src/dummyData/Trainee.json
100755 → 100644
Empty file.
Empty file modified src/hooks/hooks.ts
100755 → 100644
Empty file.
28 changes: 28 additions & 0 deletions src/index.css
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,34 @@ body {
body.light-mode {
background: #ffffff;
}
/* Default toolbar icon styles for light mode */
.ql-toolbar .ql-stroke,
.ql-toolbar .ql-fill {
@apply fill-black stroke-black; /* Icons default to black in light mode */
}

/* Toolbar icon styles for dark mode */
.dark .ql-toolbar .ql-stroke,
.dark .ql-toolbar .ql-fill {
@apply fill-[#262E3D] stroke-neutral-300; /* Icons change to white in dark mode */
}
.ql-toolbar .ql-picker-options {
@apply bg-white text-black shadow-md border border-gray-300; /* Light mode dropdown */
}

.dark .ql-toolbar .ql-picker-options {
@apply bg-gray-800 text-white shadow-lg border border-gray-600;
}
.ql-toolbar .ql-picker,
.ql-toolbar .ql-picker-label {
@apply text-black;
}

.dark .ql-toolbar .ql-picker,
.dark .ql-toolbar .ql-picker-label {
@apply text-white; /* Text color for dark mode */
}


/* Other existing CSS rules for input and label styles */

Expand Down
Empty file modified src/index.tsx
100755 → 100644
Empty file.
Empty file modified src/pages/ApplicationCycle/ApplicationCycle.tsx
100755 → 100644
Empty file.
Empty file modified src/pages/Table.tsx
100755 → 100644
Empty file.
Empty file modified src/pages/TraineApplicant/Trainee.tsx
100755 → 100644
Empty file.
Empty file modified src/pages/Trash/Trash.tsx
100755 → 100644
Empty file.
Loading

0 comments on commit 8833480

Please sign in to comment.