@campxdev/shared 1.7.4 → 1.7.6

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.7.4",
3
+ "version": "1.7.6",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -36,6 +36,8 @@ export default function FormRadioGroup({
36
36
  options={options}
37
37
  value={field.value}
38
38
  onChange={field.onChange}
39
+ error={error ? true : false}
40
+ helperText={error ? error?.message : null}
39
41
  {...rest}
40
42
  />
41
43
  </Box>
@@ -6,6 +6,7 @@ import {
6
6
  paySmall,
7
7
  peopleSmall,
8
8
  commuteSmall,
9
+ enrollSmall,
9
10
  } from './assets'
10
11
 
11
12
  const origins = {
@@ -33,6 +34,10 @@ const origins = {
33
34
  dev: 'https://commute.campx.dev',
34
35
  prod: 'https://commute.campx.in',
35
36
  },
37
+ enroll: {
38
+ dev: 'https://enroll.campx.dev',
39
+ prod: 'https://enroll.campx.in',
40
+ },
36
41
  }
37
42
 
38
43
  export const applications = [
@@ -57,6 +62,13 @@ export const applications = [
57
62
  icon: paySmall,
58
63
  description: 'Manage Payments in the Campus',
59
64
  },
65
+ {
66
+ title: 'EnrollX',
67
+ key: 'enroll',
68
+ path: isDevelopment ? origins.enroll.dev : origins.enroll.prod,
69
+ icon: enrollSmall,
70
+ description: 'Manage Admissions in the Campus',
71
+ },
60
72
  {
61
73
  title: 'HostelX',
62
74
  key: 'hostel',
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="177.011" height="195.229" viewBox="0 0 177.011 195.229">
2
+ <defs>
3
+ <linearGradient id="linear-gradient" x1="0.5" x2="0.5" y2="1" gradientUnits="objectBoundingBox">
4
+ <stop offset="0" stop-color="#007ab1"/>
5
+ <stop offset="1" stop-color="#149ecd"/>
6
+ </linearGradient>
7
+ </defs>
8
+ <path id="Union_61" data-name="Union 61" d="M0,195.229H.009L0,195.215l23.664-32.567.009.013L70.934,97.615h46.6l.474.344-70.671,97.27ZM87.442,156.1l42.5-58.487h46.6l.474.344L134.768,156.1Zm89.1-58.487h0Zm0,0h-46.6L87.381,39.042h47.325L177.011,97.27Zm-105.6,0L23.673,32.568l-.009.013L0,.013.009,0H47.337l70.671,97.27-.474.344ZM106.356.022h0ZM106.357.022Zm-47.346,0L59,.013,59.014,0h47.327l.016.021H59.011ZM0,0H.009Z" fill="url(#linear-gradient)"/>
9
+ </svg>
@@ -13,6 +13,7 @@ import contactBg from './contactBg.png'
13
13
  import commuteSmall from './commutexSmall.svg'
14
14
  import commutex from './commutex.png'
15
15
  import hostelx from './hostelx.png'
16
+ import enrollSmall from './enroll_logo.svg'
16
17
 
17
18
  export {
18
19
  collegex,
@@ -30,4 +31,5 @@ export {
30
31
  contactBg,
31
32
  commutex,
32
33
  commuteSmall,
34
+ enrollSmall,
33
35
  }
@@ -314,7 +314,7 @@ const muiTheme = createTheme({
314
314
  fontWeight: 600,
315
315
  textAlign: 'right',
316
316
  right: 0,
317
- bottom: -32,
317
+ bottom: -26,
318
318
  },
319
319
  },
320
320
  },