diff --git a/src/components/Home/Banner/index.module.scss b/src/components/Home/Banner/index.module.scss index d8750a47..e7dfebfd 100644 --- a/src/components/Home/Banner/index.module.scss +++ b/src/components/Home/Banner/index.module.scss @@ -3,26 +3,22 @@ height: 200px; margin: auto; width: 73%; - @media (max-width: 1920px) { + @media (max-width: 1920px) { width: 72%; - } - @media (max-width: 1680px) { + @media (max-width: 1680px) { width: 70%; - } - @media (max-width: 1440px) { - width: 80%; - + @media (max-width: 1440px) { + width: 80%; } - + @media (max-width: 1024px) { - } - + display: flex; justify-content: space-between; - + border-radius: 20px; background: url('/src/assets/illustrations/home/banner-bg.png'); background-size: cover; @@ -41,7 +37,7 @@ font-family: var(--font-family-roboto-light); } &--primary { - font-family: var(--font-family-asap-bold); + font-family: var(--font-family-roboto-bold); font-size: 50px; line-height: 123.19%; text-transform: capitalize; @@ -62,8 +58,11 @@ position: relative; cursor: pointer; - - background: linear-gradient(126.59deg, rgba(255, 255, 255, 0.12) 12.11%, rgba(255, 255, 255, 0.03) 73.08%); + background: linear-gradient( + 126.59deg, + rgba(255, 255, 255, 0.12) 12.11%, + rgba(255, 255, 255, 0.03) 73.08% + ); box-shadow: 0px 3.40709px 20.4425px -0.851771px rgba(0, 0, 0, 0.2); backdrop-filter: blur(34.0709px); @@ -71,9 +70,9 @@ margin-bottom: 30px; } - border: 0.7px solid #cf92ff; + border: 0.7px solid #cf92ff; // border-image: linear-gradient(to right, rgba(207, 146, 255, 1) , rgba(255, 255, 255, 1) ) 1; - border-radius: 19px; + border-radius: 19px; & .title { font-family: var(--font-family-roboto-regular); diff --git a/src/components/ProfileCard/BasicDetails/index.module.scss b/src/components/ProfileCard/BasicDetails/index.module.scss index 61a91916..e610e7b3 100644 --- a/src/components/ProfileCard/BasicDetails/index.module.scss +++ b/src/components/ProfileCard/BasicDetails/index.module.scss @@ -68,13 +68,14 @@ margin: 5px 0; } .value { - font-family: var(--font-family-roboto-slab-medium); + font-family: var(--font-family-roboto-flex); font-weight: 500; font-size: 26.5154px; color: white; .label { - font-family: var(--font-family-roboto-bold); + font-family: var(--font-family-roboto-flex); + font-weight: 700; font-size: 23px; background: -webkit-linear-gradient( 298.19deg, diff --git a/src/components/ProfileCard/BasicDetailsEdit/index.module.scss b/src/components/ProfileCard/BasicDetailsEdit/index.module.scss index deeeb629..2b28953c 100644 --- a/src/components/ProfileCard/BasicDetailsEdit/index.module.scss +++ b/src/components/ProfileCard/BasicDetailsEdit/index.module.scss @@ -106,12 +106,14 @@ body { margin: 15px 0; .value { - font-family: var(--font-family-roboto-slab-medium); + font-family: var(--font-family-roboto-flex); + font-weight: 500; font-size: 30px; color: white; .label { - font-family: var(--font-family-roboto-bold); + font-family: var(--font-family-roboto-flex); + font-weight: 700; font-size: 23px; background: -webkit-linear-gradient( 298.19deg, diff --git a/src/styles/_font.scss b/src/styles/_font.scss index 44bbbd20..420cce11 100644 --- a/src/styles/_font.scss +++ b/src/styles/_font.scss @@ -1,56 +1,38 @@ @import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,300;8..144,400;8..144,500;8..144,600;8..144,700&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap'); + +@font-face { + font-family: RobotoThin; + src: url('./fonts/roboto/roboto-thin-webfont.woff2') format('woff2'), + url('./fonts/roboto/roboto-thin-webfont.woff') format('woff'); + font-weight: 100; +} @font-face { font-family: RobotoLight; - src: url('./fonts/roboto/Roboto-Light.ttf') format('truetype'); + src: url('./fonts/roboto/roboto-light-webfont.woff2') format('woff2'), + url('./fonts/roboto/roboto-light-webfont.woff') format('woff'); font-weight: 300; } @font-face { font-family: RobotoRegular; - src: url('./fonts/roboto/Roboto-Regular.ttf') format('truetype'); + src: url('./fonts/roboto/roboto-regular-webfont.woff2') format('woff2'), + url('./fonts/roboto/roboto-regular-webfont.woff') format('woff'); font-weight: 400; } @font-face { font-family: RobotoMedium; - src: url('./fonts/roboto/Roboto-Medium.ttf') format('truetype'); + src: url('./fonts/roboto/roboto-medium-webfont.woff2') format('woff2'), + url('./fonts/roboto/roboto-medium-webfont.woff') format('woff'); font-weight: 500; } @font-face { font-family: RobotoBold; - src: url('./fonts/roboto/Roboto-Bold.ttf') format('truetype'); - font-weight: 700; -} - -@font-face { - font-family: RobotoSlabLight; - src: url('./fonts/robotoslab/RobotoSlab-Light.ttf') format('truetype'); - font-weight: 300; -} - -@font-face { - font-family: RobotoSlabRegular; - src: url('./fonts/robotoslab/RobotoSlab-Regular.ttf') format('truetype'); - font-weight: 400; -} - -@font-face { - font-family: RobotoSlabMedium; - src: url('./fonts/robotoslab/RobotoSlab-Medium.ttf') format('truetype'); - font-weight: 500; -} - -@font-face { - font-family: RobotoSlabSemiBold; - src: url('./fonts/robotoslab/RobotoSlab-SemiBold.ttf') format('truetype'); - font-weight: 600; -} - -@font-face { - font-family: RobotoSlabBold; - src: url('./fonts/robotoslab/RobotoSlab-Bold.ttf') format('truetype'); + src: url('./fonts/roboto/roboto-bold-webfont.woff2') format('woff2'), + url('./fonts/roboto/roboto-bold-webfont.woff') format('woff'); font-weight: 700; } @@ -84,39 +66,6 @@ font-weight: 700; } -@font-face { - font-family: asapRegular; - src: url('./fonts/asap/Asap-Regular.ttf') format('truetype'); - font-weight: 400; -} - -@font-face { - font-family: asapMedium; - src: url('./fonts/asap/Asap-Medium.ttf') format('truetype'); - font-weight: 500; -} - -@font-face { - font-family: asapSemiBold; - src: url('./fonts/asap/Asap-SemiBold.ttf') format('truetype'); - font-weight: 600; -} - -@font-face { - font-family: asapBold; - src: url('./fonts/asap/Asap-Bold.ttf') format('truetype'); - font-weight: 700; -} - -// import monteserrat font from fonts directory -@font-face { - font-family: 'Montserrat'; - src: url('./fonts/montserrat/Montserrat-Bold.ttf') format('truetype'); - font-weight: 400; - font-style: bold; -} - - /* * Material icons font file * Refer here for getting icons - https://fonts.google.com/icons @@ -177,22 +126,9 @@ --font-family-roboto-flex: 'Roboto Flex', sans-serif; - --font-family-roboto-slab-light: RobotoSlabLight, sans-serif; - --font-family-roboto-slab-regular: RobotoSlabRegular, sans-serif; - --font-family-roboto-slab-medium: RobotoSlabMedium, sans-serif; - --font-family-roboto-semi-bold: RobotoSlabSemiBold, sans-serif; - --font-family-roboto-slab-bold: RobotoSlabBold, sans-serif; - --font-family-inter-light: InterLight, sans-serif; --font-family-inter-regular: InterRegular, sans-serif; --font-family-inter-medium: InterMedium, sans-serif; --font-family-inter-semi-bold: InterSemiBold, sans-serif; --font-family-inter-bold: InterBold, sans-serif; - - --font-family-asap-regular: InterRegular, sans-serif; - --font-family-asap-medium: InterMedium, sans-serif; - --font-family-asap-semi-bold: InterSemiBold, sans-serif; - --font-family-asap-bold: InterBold, sans-serif; - - --font-family-montserrat: Montserrat, sans-serif; } diff --git a/src/styles/fonts/asap/Asap-Bold.ttf b/src/styles/fonts/asap/Asap-Bold.ttf deleted file mode 100644 index 7905eba7..00000000 Binary files a/src/styles/fonts/asap/Asap-Bold.ttf and /dev/null differ diff --git a/src/styles/fonts/asap/Asap-Medium.ttf b/src/styles/fonts/asap/Asap-Medium.ttf deleted file mode 100644 index de8bc053..00000000 Binary files a/src/styles/fonts/asap/Asap-Medium.ttf and /dev/null differ diff --git a/src/styles/fonts/asap/Asap-Regular.ttf b/src/styles/fonts/asap/Asap-Regular.ttf deleted file mode 100644 index fcbe1579..00000000 Binary files a/src/styles/fonts/asap/Asap-Regular.ttf and /dev/null differ diff --git a/src/styles/fonts/asap/Asap-SemiBold.ttf b/src/styles/fonts/asap/Asap-SemiBold.ttf deleted file mode 100644 index 79daf24d..00000000 Binary files a/src/styles/fonts/asap/Asap-SemiBold.ttf and /dev/null differ diff --git a/src/styles/fonts/montserrat/Montserrat-Bold.ttf b/src/styles/fonts/montserrat/Montserrat-Bold.ttf deleted file mode 100644 index efddc834..00000000 Binary files a/src/styles/fonts/montserrat/Montserrat-Bold.ttf and /dev/null differ diff --git a/src/styles/fonts/roboto/roboto-bold-webfont.woff b/src/styles/fonts/roboto/roboto-bold-webfont.woff new file mode 100644 index 00000000..3e0c5073 Binary files /dev/null and b/src/styles/fonts/roboto/roboto-bold-webfont.woff differ diff --git a/src/styles/fonts/roboto/roboto-bold-webfont.woff2 b/src/styles/fonts/roboto/roboto-bold-webfont.woff2 new file mode 100644 index 00000000..0fb8f3d7 Binary files /dev/null and b/src/styles/fonts/roboto/roboto-bold-webfont.woff2 differ diff --git a/src/styles/fonts/roboto/roboto-light-webfont.woff b/src/styles/fonts/roboto/roboto-light-webfont.woff new file mode 100644 index 00000000..3d26c492 Binary files /dev/null and b/src/styles/fonts/roboto/roboto-light-webfont.woff differ diff --git a/src/styles/fonts/roboto/roboto-light-webfont.woff2 b/src/styles/fonts/roboto/roboto-light-webfont.woff2 new file mode 100644 index 00000000..3b654edb Binary files /dev/null and b/src/styles/fonts/roboto/roboto-light-webfont.woff2 differ diff --git a/src/styles/fonts/roboto/roboto-medium-webfont.woff b/src/styles/fonts/roboto/roboto-medium-webfont.woff new file mode 100644 index 00000000..207043d2 Binary files /dev/null and b/src/styles/fonts/roboto/roboto-medium-webfont.woff differ diff --git a/src/styles/fonts/roboto/roboto-medium-webfont.woff2 b/src/styles/fonts/roboto/roboto-medium-webfont.woff2 new file mode 100644 index 00000000..1073f17f Binary files /dev/null and b/src/styles/fonts/roboto/roboto-medium-webfont.woff2 differ diff --git a/src/styles/fonts/roboto/roboto-regular-webfont.woff b/src/styles/fonts/roboto/roboto-regular-webfont.woff new file mode 100644 index 00000000..7df99c8c Binary files /dev/null and b/src/styles/fonts/roboto/roboto-regular-webfont.woff differ diff --git a/src/styles/fonts/roboto/roboto-regular-webfont.woff2 b/src/styles/fonts/roboto/roboto-regular-webfont.woff2 new file mode 100644 index 00000000..8d342435 Binary files /dev/null and b/src/styles/fonts/roboto/roboto-regular-webfont.woff2 differ diff --git a/src/styles/fonts/roboto/roboto-thin-webfont.woff b/src/styles/fonts/roboto/roboto-thin-webfont.woff new file mode 100644 index 00000000..d5086718 Binary files /dev/null and b/src/styles/fonts/roboto/roboto-thin-webfont.woff differ diff --git a/src/styles/fonts/roboto/roboto-thin-webfont.woff2 b/src/styles/fonts/roboto/roboto-thin-webfont.woff2 new file mode 100644 index 00000000..a26593da Binary files /dev/null and b/src/styles/fonts/roboto/roboto-thin-webfont.woff2 differ diff --git a/src/styles/fonts/robotoflex/RobotoFlex.woff2 b/src/styles/fonts/robotoflex/RobotoFlex.woff2 new file mode 100644 index 00000000..fdb87b6e Binary files /dev/null and b/src/styles/fonts/robotoflex/RobotoFlex.woff2 differ diff --git a/src/styles/fonts/robotoslab/RobotoSlab-Bold.ttf b/src/styles/fonts/robotoslab/RobotoSlab-Bold.ttf deleted file mode 100644 index 2c4f4248..00000000 Binary files a/src/styles/fonts/robotoslab/RobotoSlab-Bold.ttf and /dev/null differ diff --git a/src/styles/fonts/robotoslab/RobotoSlab-Light.ttf b/src/styles/fonts/robotoslab/RobotoSlab-Light.ttf deleted file mode 100644 index 84d6f2af..00000000 Binary files a/src/styles/fonts/robotoslab/RobotoSlab-Light.ttf and /dev/null differ diff --git a/src/styles/fonts/robotoslab/RobotoSlab-Medium.ttf b/src/styles/fonts/robotoslab/RobotoSlab-Medium.ttf deleted file mode 100644 index e4db6f73..00000000 Binary files a/src/styles/fonts/robotoslab/RobotoSlab-Medium.ttf and /dev/null differ diff --git a/src/styles/fonts/robotoslab/RobotoSlab-Regular.ttf b/src/styles/fonts/robotoslab/RobotoSlab-Regular.ttf deleted file mode 100644 index 25b84e4b..00000000 Binary files a/src/styles/fonts/robotoslab/RobotoSlab-Regular.ttf and /dev/null differ diff --git a/src/styles/fonts/robotoslab/RobotoSlab-SemiBold.ttf b/src/styles/fonts/robotoslab/RobotoSlab-SemiBold.ttf deleted file mode 100644 index ec1df5e9..00000000 Binary files a/src/styles/fonts/robotoslab/RobotoSlab-SemiBold.ttf and /dev/null differ