@campxdev/shared 1.11.17 → 1.11.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.11.17",
3
+ "version": "1.11.18",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -1,87 +1,39 @@
1
- export const CareerIcon = () => {
1
+ export const ExamResultIcon = () => {
2
2
  return (
3
3
  <>
4
4
  <svg
5
- width="20"
6
- height="20"
7
- version="1.1"
8
- id="_x32_"
9
5
  xmlns="http://www.w3.org/2000/svg"
10
- xmlnsXlink="http://www.w3.org/1999/xlink"
11
- viewBox="0 0 512 512"
12
- xmlSpace="preserve"
6
+ width="15.3"
7
+ height="20.3"
8
+ viewBox="0 0 15.3 20.3"
13
9
  >
14
- <style type="text/css"></style>
15
- <g>
16
- <path
17
- className="st0"
18
- d="M216.759,239.367l36.235-36.243c-42.142-19.36-93.728-11.743-128.391,22.92
19
- c-44.488,44.496-44.488,116.872,0,161.352c44.48,44.497,116.864,44.497,161.353,0c34.663-34.663,42.275-86.249,22.912-128.395
20
- l-36.235,36.243c3.592,21.121-2.672,43.6-18.951,59.879c-26.693,26.685-70.12,26.685-96.809,0
21
- c-26.697-26.693-26.697-70.113,0-96.806C173.146,242.039,195.631,235.775,216.759,239.367z"
22
- />
23
- <path
24
- className="st0"
25
- d="M356.787,256.392c18.353,55.516,5.53,119.183-38.562,163.278c-62.279,62.276-163.616,62.276-225.896,0
26
- c-62.276-62.276-62.276-163.616,0-225.884c44.103-44.111,107.762-56.932,163.286-38.57l-5.274-48.749
27
- c-66.375-14.824-138.732,3.49-190.282,55.037c-80.08,80.079-80.08,210.368,0,290.44c80.071,80.07,210.356,80.07,290.431,0
28
- c51.551-51.555,69.861-123.9,55.032-190.27L356.787,256.392z"
29
- />
30
- <path
31
- className="st0"
32
- d="M288.667,206.181l-78.346,78.35c-7.385-1.682-15.43,0.314-21.183,6.06c-8.91,8.906-8.91,23.352,0,32.266
33
- c8.913,8.913,23.356,8.913,32.273,0c5.754-5.753,7.735-13.802,6.061-21.182l78.349-78.342l96.727,10.469l3.856-3.86L512,124.342
34
- l-112.203-12.136L387.649,0.003L278.197,109.455l0.589,5.432L288.667,206.181z M394.138,209.939l-67.609-7.318l23.533-23.541
35
- l-0.153-0.142l67.891,7.341L394.138,209.939z M393.647,134.481l68.528,7.42l-23.663,23.674l-68.529-7.42L393.647,134.481z
36
- M370.094,49.828l7.412,68.525l-23.659,23.658l-7.408-68.516L370.094,49.828z M325.72,94.198l7.349,67.888l-0.154-0.157
37
- l-23.537,23.541l-7.321-67.621L325.72,94.198z"
38
- />
39
- </g>
10
+ <path
11
+ id="mobile"
12
+ d="M13.833,0H7.167A4.172,4.172,0,0,0,3,4.167V15.833A4.172,4.172,0,0,0,7.167,20h6.667A4.172,4.172,0,0,0,18,15.833V4.167A4.172,4.172,0,0,0,13.833,0Zm2.5,15.833a2.5,2.5,0,0,1-2.5,2.5h-2.5V17.5a.833.833,0,1,0-1.667,0v.833h-2.5a2.5,2.5,0,0,1-2.5-2.5V4.167a2.5,2.5,0,0,1,2.5-2.5h6.667a2.5,2.5,0,0,1,2.5,2.5Zm-2.5-2.5a.833.833,0,0,1-.833.833H8A.833.833,0,1,1,8,12.5h5A.833.833,0,0,1,13.833,13.333Zm-5-2.5A.833.833,0,0,0,9.667,10V9.167h1.667V10A.833.833,0,0,0,13,10V6.667a2.5,2.5,0,1,0-5,0V10A.833.833,0,0,0,8.833,10.833Zm1.667-5a.833.833,0,0,1,.833.833V7.5H9.667V6.667A.833.833,0,0,1,10.5,5.833Z"
13
+ transform="translate(-2.85 0.15)"
14
+ stroke="#fff"
15
+ stroke-width="0.3"
16
+ />
40
17
  </svg>
41
18
  </>
42
19
  )
43
20
  }
44
21
 
45
- export const ExamResultIcon = () => {
22
+ export const CareerIcon = () => {
46
23
  return (
47
- <>
48
- <svg
49
- fill="#000000"
50
- height="24"
51
- width="24"
52
- version="1.1"
53
- id="Capa_1"
54
- xmlns="http://www.w3.org/2000/svg"
55
- xmlnsXlink="http://www.w3.org/1999/xlink"
56
- viewBox="0 0 204 204"
57
- xmlSpace="preserve"
58
- >
59
- <path
60
- d="M139.185,157.339h25.175l-27.223,29.022v-26.974C137.137,158.257,138.056,157.339,139.185,157.339z M108.805,44.654
61
- l7.761-1.004l-4.845-6.953L108.805,44.654z M179.518,5v142.339h-40.333c-6.644,0-12.048,5.405-12.048,12.048V204H29.482
62
- c-2.762,0-5-2.239-5-5V5c0-2.761,2.238-5,5-5h145.035C177.279,0,179.518,2.239,179.518,5z M95.746,65.76
63
- c0.568,0.208,1.148,0.307,1.721,0.307c2.038,0,3.953-1.256,4.694-3.281l2.765-7.546l18.084-2.34l4.595,6.594
64
- c0.973,1.395,2.526,2.142,4.106,2.142c0.987,0,1.984-0.292,2.854-0.898c2.266-1.579,2.822-4.695,1.244-6.96l-21.377-30.677
65
- c-0.008-0.011-0.019-0.02-0.027-0.031c-0.138-0.196-0.303-0.372-0.47-0.547c-0.061-0.064-0.113-0.141-0.177-0.201
66
- c-0.132-0.124-0.286-0.226-0.432-0.336c-0.117-0.088-0.225-0.189-0.348-0.266c-0.094-0.059-0.202-0.098-0.301-0.151
67
- c-0.193-0.103-0.384-0.209-0.588-0.285c-0.014-0.005-0.025-0.014-0.039-0.019c-0.117-0.043-0.237-0.057-0.354-0.091
68
- c-0.183-0.052-0.364-0.11-0.552-0.141c-0.166-0.028-0.33-0.03-0.496-0.04c-0.157-0.01-0.313-0.028-0.471-0.024
69
- c-0.169,0.005-0.333,0.034-0.5,0.056c-0.155,0.02-0.31,0.033-0.464,0.068c-0.166,0.038-0.324,0.099-0.486,0.154
70
- c-0.145,0.049-0.292,0.089-0.434,0.153c-0.192,0.086-0.369,0.197-0.549,0.306c-0.09,0.055-0.185,0.091-0.273,0.152
71
- c-0.01,0.007-0.018,0.017-0.028,0.024c-0.201,0.142-0.382,0.31-0.561,0.481c-0.061,0.058-0.132,0.107-0.19,0.167
72
- c-0.121,0.128-0.219,0.278-0.326,0.419c-0.092,0.121-0.197,0.234-0.276,0.362c-0.052,0.083-0.086,0.18-0.134,0.267
73
- c-0.111,0.205-0.222,0.409-0.303,0.626c-0.005,0.013-0.013,0.023-0.017,0.036L92.772,59.345
74
- C91.822,61.938,93.153,64.81,95.746,65.76z M108.899,152.339c0-2.761-2.238-5-5-5H53.25c-2.762,0-5,2.239-5,5c0,2.761,2.238,5,5,5
75
- h50.65C106.661,157.339,108.899,155.1,108.899,152.339z M130.157,121.839c0-2.761-2.238-5-5-5H53.25c-2.762,0-5,2.239-5,5
76
- c0,2.761,2.238,5,5,5h71.907C127.919,126.839,130.157,124.6,130.157,121.839z M145.75,91.339c0-2.761-2.238-5-5-5h-87.5
77
- c-2.762,0-5,2.239-5,5c0,2.761,2.238,5,5,5h87.5C143.512,96.339,145.75,94.1,145.75,91.339z M164.797,32.019
78
- c-0.354-2.737-2.852-4.672-5.601-4.317l-6.681,0.865l-0.865-6.681c-0.354-2.738-2.851-4.673-5.601-4.317
79
- c-2.738,0.354-4.672,2.862-4.317,5.6l0.865,6.681l-6.681,0.865c-2.738,0.354-4.672,2.861-4.317,5.6
80
- c0.326,2.521,2.477,4.359,4.953,4.359c0.213,0,0.43-0.014,0.648-0.042l6.681-0.865l0.865,6.681c0.326,2.521,2.477,4.359,4.953,4.359
81
- c0.213,0,0.43-0.014,0.647-0.042c2.738-0.354,4.672-2.862,4.317-5.6l-0.865-6.681l6.681-0.865
82
- C163.218,37.265,165.151,34.758,164.797,32.019z"
83
- />
84
- </svg>
85
- </>
24
+ <svg
25
+ xmlns="http://www.w3.org/2000/svg"
26
+ width="20.3"
27
+ height="20.3"
28
+ viewBox="0 0 20.3 20.3"
29
+ >
30
+ <path
31
+ id="briefcase"
32
+ d="M15.833,3.333h-.917A4.174,4.174,0,0,0,10.833,0H9.167A4.174,4.174,0,0,0,5.083,3.333H4.167A4.172,4.172,0,0,0,0,7.5v8.333A4.172,4.172,0,0,0,4.167,20H15.833A4.172,4.172,0,0,0,20,15.833V7.5a4.172,4.172,0,0,0-4.167-4.167ZM9.167,1.667h1.667A2.5,2.5,0,0,1,13.18,3.333H6.82A2.5,2.5,0,0,1,9.167,1.667ZM4.167,5H15.833a2.5,2.5,0,0,1,2.5,2.5V10H1.667V7.5A2.5,2.5,0,0,1,4.167,5ZM15.833,18.333H4.167a2.5,2.5,0,0,1-2.5-2.5V11.667h7.5V12.5a.833.833,0,0,0,1.667,0v-.833h7.5v4.167A2.5,2.5,0,0,1,15.833,18.333Z"
33
+ transform="translate(0.15 0.15)"
34
+ stroke="#fff"
35
+ stroke-width="0.3"
36
+ />
37
+ </svg>
86
38
  )
87
39
  }
@@ -1,10 +1,9 @@
1
1
  import HelpOutlineIcon from '@mui/icons-material/HelpOutline'
2
2
  import { IconButton, Stack } from '@mui/material'
3
+ import { useNavigate } from 'react-router-dom'
4
+ import { CareerIcon, ExamResultIcon } from '../../../../assets/icons'
3
5
  import InstitutionsDropDown from '../../../Institutions/InstitutionsDropdown'
4
- import CogWheelMenu from './CogWheelMenu'
5
6
  import UserBox from './UserBox'
6
- import { CareerIcon, ExamResultIcon } from '../../../../assets/icons'
7
- import { useNavigate } from 'react-router-dom'
8
7
 
9
8
  const profileMenu = [
10
9
  { label: 'Student Results', path: '/results' },
@@ -33,19 +32,18 @@ export default function HeaderActions({
33
32
  </IconButton>
34
33
  <IconButton
35
34
  onClick={() => {
36
- navigate('/results')
35
+ navigate('/careers')
37
36
  }}
38
37
  >
39
- <ExamResultIcon />
38
+ <CareerIcon />
40
39
  </IconButton>
41
40
  <IconButton
42
41
  onClick={() => {
43
- navigate('/careers')
42
+ navigate('/results')
44
43
  }}
45
44
  >
46
- <CareerIcon />
45
+ <ExamResultIcon />
47
46
  </IconButton>
48
-
49
47
  {/* {cogWheelMenu?.length ? <CogWheelMenu menu={cogWheelMenu} /> : null} */}
50
48
  <UserBox
51
49
  fullName={fullName}