diff --git a/src/App.scss b/src/App.scss new file mode 100644 index 0000000..309d1ea --- /dev/null +++ b/src/App.scss @@ -0,0 +1,3 @@ +@import '/src/common/styles/global.scss'; +/* Theme variables */ +@import '/src/theme/variables.scss'; \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 1938a32..def7c80 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -19,8 +19,8 @@ import '@ionic/react/css/text-transformation.css'; import '@ionic/react/css/flex-utils.css'; import '@ionic/react/css/display.css'; -/* Theme variables */ -import './theme/variables.css'; +import './App.scss'; +import ConnectWithUs from './pages/ConnectWithUs'; setupIonicReact(); @@ -31,6 +31,9 @@ const App: React.FC = () => ( + + + diff --git a/src/assets/icons/back-2.svg b/src/assets/icons/back-2.svg new file mode 100644 index 0000000..15b4402 --- /dev/null +++ b/src/assets/icons/back-2.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/common/styles/global.scss b/src/common/styles/global.scss new file mode 100644 index 0000000..7a315cc --- /dev/null +++ b/src/common/styles/global.scss @@ -0,0 +1,15 @@ +@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&family=Poppins:wght@100&display=swap'); + + +:root { + /* font size */ + font-size: 62.5%; + font-family: 'Poppins', sans-serif; + /* box-sizing */ + box-sizing: border-box; + + /* margin and padding */ + margin: 0; + padding: 0; +} \ No newline at end of file diff --git a/src/components/JobDescriptionModal.module.scss b/src/components/JobDescriptionModal.module.scss new file mode 100644 index 0000000..aa57e34 --- /dev/null +++ b/src/components/JobDescriptionModal.module.scss @@ -0,0 +1,142 @@ +.tempDiv { + background-color: black; + height: 100vh; + width: 100vw; + + .descriptionModal { + position: absolute; + left: 0; + // top: 20%; + top: calc(100vh - 56rem); + background-color: #FFFFFF; + // height: 80vh; + // height: 80%; + height: 56rem; + width: 100vw; + border-radius: 3rem 3rem 0rem 0rem; + display: flex; + flex-direction: column; + justify-content: space-between; + + .iconHolder { + display: flex; + justify-content: space-around; + align-items: center; + margin-top: 2.5rem; + + .developerIcon { + background-color: #F2F2F2; + border-radius: 2.5rem; + width: 5rem; + height: 5rem; + + svg { + margin-left: 1.4rem; + margin-top: 1.2rem; + width: 2.8rem; + height: 2.8rem; + } + } + } + + .roleHeader { + text-align: center; + // margin: 2rem 0; + h3 { + color: #676767; + font-size: 2.1rem; + margin: 0; + font-family: 'Oswald', sans-serif; + font-weight: 600; + letter-spacing: 0.1rem; + margin-bottom: 0.4rem; + } + + div { + color: #A3A3A3; + font-size: 1.4rem; + font-weight: 600; + } + } + + .jd { + display: flex; + justify-content: center; + + button { + width: 16rem; + height: 4.5rem; + border-radius: 1rem; + font-size: 1.4rem; + font-weight: 600; + } + + .requirement { + background-color: #DAF3F5; + color: #6CB3B9; + } + + .description { + background-color: #EDEDED; + color: #A3A3A3; + margin-left: 2rem; + } + } + + .qualification { + width: 95%; + overflow-y: scroll; + max-height: 28.2rem; + h4 { + font-family: 'Oswald', sans-serif; + color: #747474; + font-size: 1.8rem; + font-weight: 600; + margin-left: 2.8rem; + } + + ul { + list-style: none; + + li { + color: #A3A3A3; + font-weight: 600; + font-size: 1.4rem; + line-height: 1.6; + margin-left: 1.8rem; + position: relative; + &::before { + content: ""; + position: absolute; + background: #BEBEBE; + width: 0.8rem; + height: 0.8rem; + border-radius: 50%; + left: -3rem; + top: 0.7rem; + } + } + } + + } + + .applyBtn { + display: flex; + justify-content: center; + // margin-bottom: 2rem; + background-color: #FFFFFF; + box-shadow: 0rem -0.2rem 2.5rem #0000001C; + height: 7.7rem; + button { + width: 30rem; + height: 4rem; + background-color: #33CE93; + border-radius: 2.5rem; + color: #FFFFFF; + font-size: 1.6rem; + font-weight: 600; + align-self: center; + } + } + } +} \ No newline at end of file diff --git a/src/components/JobDescriptionModal.tsx b/src/components/JobDescriptionModal.tsx new file mode 100644 index 0000000..c8f2a5a --- /dev/null +++ b/src/components/JobDescriptionModal.tsx @@ -0,0 +1,59 @@ +import styles from './JobDescriptionModal.module.scss' + +import { ReactComponent as BackIcon } from '../assets/icons/back-2.svg'; +import { ReactComponent as ShareIcon } from '../assets/icons/share.svg'; +import { ReactComponent as DeveloperIcon } from '../assets/icons/Developer.svg'; + + +interface Props { } + +const JobDescriptionModal: React.FC = (props) => { + return ( +
+
+
+
+ +
+
+ +
+
+ +
+
+
+

Software Developer

+
Full stack developer
+
+
+ + +
+
+

Minimum Qualification:

+ +
    +
  • Lorem, ipsum dolor sit amet consectetur elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur adipisicing elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur adipisicing elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur adipisicing elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur adipisicing elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur adipisicing elit.
  • +
  • Lorem, ipsum dolor sit amet consectetur adipisicing elit.
  • +
+ +
+
+ +
+
+
+ + ) +} + +export default JobDescriptionModal; \ No newline at end of file diff --git a/src/components/JobsCard.scss b/src/components/JobsCard.module.scss similarity index 100% rename from src/components/JobsCard.scss rename to src/components/JobsCard.module.scss diff --git a/src/components/JobsCard.tsx b/src/components/JobsCard.tsx index 78ed1fa..7cc6878 100644 --- a/src/components/JobsCard.tsx +++ b/src/components/JobsCard.tsx @@ -1,4 +1,4 @@ -import './JobsCard.scss'; +import styles from './JobsCard.module.scss'; import { ReactComponent as ShareIcon } from '../assets/icons/share.svg'; import { ReactComponent as ChairIcon } from '../assets/icons/officechair.svg'; @@ -16,29 +16,29 @@ interface Props { } const JobsCard: React.FC = (props: Props) => { return ( -
-
-
+
+
+
{props.icon}
-
+

{props.role}

{props.team}
-
+
-
-
+
+
{props.openPosition}
-
+
{props.experience}
-
+
{props.location}
diff --git a/src/pages/WorkWithUs.scss b/src/pages/ConnectWithUs.module.scss similarity index 100% rename from src/pages/WorkWithUs.scss rename to src/pages/ConnectWithUs.module.scss diff --git a/src/pages/ConnectWithUs.tsx b/src/pages/ConnectWithUs.tsx new file mode 100644 index 0000000..a091a89 --- /dev/null +++ b/src/pages/ConnectWithUs.tsx @@ -0,0 +1,10 @@ +import styles from './WorkWithUs.module.scss'; + +const ConnectWithUs = () => { + return ( +
+
+ ) +} + +export default ConnectWithUs; \ No newline at end of file diff --git a/src/pages/WorkWithUs.module.scss b/src/pages/WorkWithUs.module.scss new file mode 100644 index 0000000..9217480 --- /dev/null +++ b/src/pages/WorkWithUs.module.scss @@ -0,0 +1,3 @@ +// IonContent { +// --background-color: black; +// } \ No newline at end of file diff --git a/src/pages/WorkWithUs.tsx b/src/pages/WorkWithUs.tsx index ab71f31..1750b70 100644 --- a/src/pages/WorkWithUs.tsx +++ b/src/pages/WorkWithUs.tsx @@ -2,19 +2,22 @@ import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/rea import JobsCard from '../components/JobsCard'; import { ReactComponent as DeveloperIcon } from '../assets/icons/Developer.svg'; -import './WorkWithUs.scss'; +import styles from './WorkWithUs.module.scss'; +import JobDescriptionModal from '../components/JobDescriptionModal'; const WorkWithUs: React.FC = () => { return ( - - + {/* } /> + icon={} /> */} + + {/* */} diff --git a/src/theme/variables.css b/src/theme/variables.scss similarity index 95% rename from src/theme/variables.css rename to src/theme/variables.scss index e215b73..40b8977 100644 --- a/src/theme/variables.css +++ b/src/theme/variables.scss @@ -2,17 +2,9 @@ http://ionicframework.com/docs/theming/ */ /** Ionic CSS Variables **/ -@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap'); -@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&family=Poppins:wght@100&display=swap'); :root { - /* font size */ - font-size: 62.5%; - font-family: 'Poppins', sans-serif; - /* box-sizing */ - box-sizing: border-box; - /** primary **/ --ion-color-primary: #3880ff; --ion-color-primary-rgb: 56, 128, 255;