Skip to content

Commit

Permalink
Update source code pro font (#597)
Browse files Browse the repository at this point in the history
* update source code pro file

* update version of blog-kit

* deploy changes on dev

* deploy changes on dev

* revert deploy code

* run prettier

---------

Co-authored-by: cp-contact-c <[email protected]>
  • Loading branch information
cp-mansi-d and cp-contact-c authored Nov 27, 2024
1 parent 91aae19 commit fc8419a
Show file tree
Hide file tree
Showing 20 changed files with 130 additions and 115 deletions.
Binary file modified nuxt-frontend/assets/fonts/Source-codePro.woff2
Binary file not shown.
18 changes: 8 additions & 10 deletions nuxt-frontend/components/CTA/CTA2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
autoComplete="given-username"
placeholder=" "
@input="
(showNameValidationError =
$event.target.value.trim().length === 0)
showNameValidationError =
$event.target.value.trim().length === 0
"
/>
<label
Expand Down Expand Up @@ -71,10 +71,10 @@
autoComplete="given-email"
placeholder=" "
@input="
(showEmailValidationError =
$event.target.value.trim().length === 0)
showEmailValidationError =
$event.target.value.trim().length === 0
"
@blur="(showValidEmailError = isValidEmail(email))"
@blur="showValidEmailError = isValidEmail(email)"
/>
<label
htmlFor="email"
Expand Down Expand Up @@ -107,12 +107,10 @@
autoComplete="given-phonenumber"
placeholder=" "
@input="
(showPhoneNumberValidationError =
$event.target.value.trim().length === 0)
"
@blur="
(showValidPhoneNumberError = isValidPhone(phoneNumber))
showPhoneNumberValidationError =
$event.target.value.trim().length === 0
"
@blur="showValidPhoneNumberError = isValidPhone(phoneNumber)"
/>
<label
htmlFor="phonenumber"
Expand Down
16 changes: 8 additions & 8 deletions nuxt-frontend/components/CTA/CTA3.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
autoComplete="given-username"
placeholder=" "
@input="
(showNameValidationError =
$event.target.value.trim().length === 0)
showNameValidationError =
$event.target.value.trim().length === 0
"
/>
<label
Expand Down Expand Up @@ -77,10 +77,10 @@
autoComplete="given-email"
placeholder=" "
@input="
(showEmailValidationError =
$event.target.value.trim().length === 0)
showEmailValidationError =
$event.target.value.trim().length === 0
"
@blur="(showValidEmailError = isValidEmail(email))"
@blur="showValidEmailError = isValidEmail(email)"
/>
<label
htmlFor="email"
Expand Down Expand Up @@ -114,11 +114,11 @@
autoComplete="given-phonenumber"
placeholder=" "
@input="
(showPhoneNumberValidationError =
$event.target.value.trim().length === 0)
showPhoneNumberValidationError =
$event.target.value.trim().length === 0
"
@blur="
(showValidPhoneNumberError = isValidPhone(phoneNumber))
showValidPhoneNumberError = isValidPhone(phoneNumber)
"
/>
<label
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<div class="mx-auto my-8 lg:hidden">
<div
class="border border-white primary-btn"
@click="(showAdditionalFAQs = !showAdditionalFAQs)"
@click="showAdditionalFAQs = !showAdditionalFAQs"
>
<span class="text-white sub-h3-semibold"
>{{ showAdditionalFAQs ? "View Less" : "View More" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
></collapse-transition>
<div
class="primary-btn gradient-border-btn white-btn mt-8 lg:hidden mx-auto"
@click="(showAdditionalFAQs = !showAdditionalFAQs)"
@click="showAdditionalFAQs = !showAdditionalFAQs"
>
<span class="sub-h3-semibold"
>{{ showAdditionalFAQs ? "View Less" : "View More" }}
Expand Down
20 changes: 10 additions & 10 deletions nuxt-frontend/components/contact/NewContactForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
v-model="name"
placeholder=" "
@input="
(showNameValidationError =
$event.target.value.trim().length === 0)
showNameValidationError =
$event.target.value.trim().length === 0
"
@click.native="$mixpanel.track('tap_contact_name_input')"
/>
Expand All @@ -42,10 +42,10 @@
v-model="email"
placeholder=" "
@input="
(showEmailValidationError =
$event.target.value.trim().length === 0)
showEmailValidationError =
$event.target.value.trim().length === 0
"
@blur="(showValidEmailError = isValidEmail())"
@blur="showValidEmailError = isValidEmail()"
@click.native="$mixpanel.track('tap_contact_email_input')"
/>
<label
Expand Down Expand Up @@ -73,8 +73,8 @@
v-model="projectInfo"
placeholder=" "
@input="
(showProjectInfoValidationError =
$event.target.value.trim().length === 0)
showProjectInfoValidationError =
$event.target.value.trim().length === 0
"
@click.native="
$mixpanel.track('tap_contact_project_info_input')
Expand Down Expand Up @@ -102,8 +102,8 @@
v-model="reference"
placeholder=" "
@input="
(showReferenceValidationError =
$event.target.value.trim().length === 0)
showReferenceValidationError =
$event.target.value.trim().length === 0
"
@click.native="$mixpanel.track('tap_contact_reference_input')"
/>
Expand Down Expand Up @@ -139,7 +139,7 @@
? 'text-black-core'
: 'text-black-60',
]"
@click="(floatable = !floatable)"
@click="floatable = !floatable"
>I'll invest</label
>
<span class="sub-h1-regular lg:sub-h2-regular">{{
Expand Down
24 changes: 12 additions & 12 deletions nuxt-frontend/components/contributions/WhatsTrending.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
:key="index"
class="ml-8 flex flex-[0_0_320px] flex-col justify-center rounded-xl text-left sm:flex-[0_0_480px]"
:class="pausedId == post.id ? 'scale-[0.97] cursor-pointer' : ''"
@mouseover="(pausedId = post.id)"
@mouseleave="(pausedId = 0)"
@touchstart.passive="(pausedId = post.id)"
@touchend="(pausedId = 0)"
@mouseover="pausedId = post.id"
@mouseleave="pausedId = 0"
@touchstart.passive="pausedId = post.id"
@touchend="pausedId = 0"
:ref="'card-1-' + index"
@click="openBlog(post.link, 'tap_contribution_trending_section')"
>
Expand Down Expand Up @@ -71,10 +71,10 @@
:key="index"
class="relative ml-8 flex flex-col justify-center rounded-xl flex-[0_0_528px]"
:class="pausedId == post.id ? 'scale-[0.97] cursor-pointer' : ''"
@mouseover="(pausedId = post.id)"
@mouseleave="(pausedId = 0)"
@touchstart.passive="(pausedId = post.id)"
@touchend="(pausedId = 0)"
@mouseover="pausedId = post.id"
@mouseleave="pausedId = 0"
@touchstart.passive="pausedId = post.id"
@touchend="pausedId = 0"
:ref="'card-2-' + index"
@click="openBlog(post.link, 'tap_contribution_trending_section')"
>
Expand Down Expand Up @@ -125,10 +125,10 @@
:key="index"
class="relative ml-8 mt-8 flex flex-col justify-center rounded-xl text-left flex-[0_0_528px]"
:class="pauseId == post.id ? 'scale-[0.97] cursor-pointer' : ''"
@mouseover="(pauseId = post.id)"
@mouseleave="(pauseId = 0)"
@touchstart.passive="(pauseId = post.id)"
@touchend="(pauseId = 0)"
@mouseover="pauseId = post.id"
@mouseleave="pauseId = 0"
@touchstart.passive="pauseId = post.id"
@touchend="pauseId = 0"
:ref="'card-3-' + index"
@click="openBlog(post.link, 'tap_contribution_trending_section')"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</collapse-transition>
<div
class="border primary-btn mt-8 lg:hidden"
@click="(showAdditionalFAQs = !showAdditionalFAQs)"
@click="showAdditionalFAQs = !showAdditionalFAQs"
>
<span class="sub-h3-semibold"
>{{ showAdditionalFAQs ? "View Less" : "View More" }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
</collapse-transition>
<div
class="border primary-btn mt-8 lg:hidden"
@click="(showAdditionalFAQs = !showAdditionalFAQs)"
@click="showAdditionalFAQs = !showAdditionalFAQs"
>
<span class="sub-h3-semibold"
>{{ showAdditionalFAQs ? "View Less" : "View More" }}
Expand Down
10 changes: 5 additions & 5 deletions nuxt-frontend/components/home-new/BlogSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
activeBlog = blog;
animate = true;
"
@touchstart.passive="(activeIndex = index)"
@touchstart.passive="activeIndex = index"
@click.native="$mixpanel.track('tap_blog_post')"
class="w-full"
>
Expand All @@ -58,13 +58,13 @@
>
<span
class="mobile-header-2 lg:desk-header-2"
@mouseleave="(animate = false)"
@mouseleave="animate = false"
>
{{ blog.published_on[1] }}
</span>
<span
class="text-center sub-h4-regular lg:sub-h4-medium"
@mouseleave="(animate = false)"
@mouseleave="animate = false"
>
{{ blog.published_on[0] }}
</span>
Expand All @@ -76,14 +76,14 @@
activeBlog = blog;
animate = true;
"
@touchend="(animate = false)"
@touchend="animate = false"
>
<hr
v-if="index == 0"
class="h-[0.063rem] mb-4 lg:mb-8 bg-[#C6C6C6]"
/>
<div>
<div @mouseleave="(animate = false)">
<div @mouseleave="animate = false">
<nuxt-link
:to="'/' + blog.slug"
@click.native="$mixpanel.track('tap_blog_post')"
Expand Down
6 changes: 3 additions & 3 deletions nuxt-frontend/components/home-new/PortfolioSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
portfolio.video ? 'sm:!p-0' : '',
]"
class="relative lg:transition-all lg:duration-500 lg:ease-in-out lg:transform cursor-pointer rounded-xl mt-4 lg:mt-0 md:w-[80%] md:mx-auto"
@mouseover="(activeIndex = portfolio.id)"
@mouseleave="(activeIndex = null)"
@touchstart.passive="(activeIndex = portfolio.id)"
@mouseover="activeIndex = portfolio.id"
@mouseleave="activeIndex = null"
@touchstart.passive="activeIndex = portfolio.id"
>
<nuxt-link
:to="portfolio.url"
Expand Down
4 changes: 2 additions & 2 deletions nuxt-frontend/components/home-new/ServiceSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<nuxt-link
v-for="(service, index) in services"
:key="service"
@mouseover="(activeIndex = index)"
@touchstart.passive="(activeIndex = index)"
@mouseover="activeIndex = index"
@touchstart.passive="activeIndex = index"
:href="service.url"
:class="[
activeIndex === index
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
>
<div
class="m-[5px] rounded-[0.6rem] border border-solid border-transparent bg-gradient-to-r from-[#ff9472] via-[#ff909c] to-[#f2709c] p-[1rem] text-center shadow-[inset_2px_1000px_1px_#fff] active:scale-[0.98] border border-black w-[155px] cursor-pointer h-[57px]"
@click="(showAdditionalFAQs = !showAdditionalFAQs)"
@click="showAdditionalFAQs = !showAdditionalFAQs"
>
<span class="sub-h3-semibold v2-canopas-gradient-text"
>{{ showAdditionalFAQs ? "View Less" : "View More" }}
Expand Down
8 changes: 4 additions & 4 deletions nuxt-frontend/components/jobs/VirtuesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class="relative basis-full lg:basis-[33%]"
v-for="virtue in virtues.slice(0, 3)"
:key="virtue.id"
@touchstart.passive="(activeIndex = virtue.id)"
@touchstart.passive="activeIndex = virtue.id"
@hover.native="$mixpanel.track('hover_virtue')"
>
<div
Expand Down Expand Up @@ -54,7 +54,7 @@
class="relative basis-full lg:basis-1/2"
v-for="virtue in virtues.slice(3, 5)"
:key="virtue.id"
@touchstart.passive="(activeIndex = virtue.id)"
@touchstart.passive="activeIndex = virtue.id"
@hover.native="$mixpanel.track('hover_virtue')"
>
<div
Expand Down Expand Up @@ -96,7 +96,7 @@
class="relative basis-full lg:basis-[33%]"
v-for="virtue in virtues.slice(5, 8)"
:key="virtue.id"
@touchstart.passive="(activeIndex = virtue.id)"
@touchstart.passive="activeIndex = virtue.id"
@hover.native="$mixpanel.track('hover_virtue')"
>
<div
Expand Down Expand Up @@ -138,7 +138,7 @@
class="relative basis-full lg:basis-1/2"
v-for="virtue in virtues.slice(8, 10)"
:key="virtue.id"
@touchstart.passive="(activeIndex = virtue.id)"
@touchstart.passive="activeIndex = virtue.id"
@hover.native="$mixpanel.track('hover_virtue')"
>
<div
Expand Down
18 changes: 9 additions & 9 deletions nuxt-frontend/components/jobs/thank-you/LatestBlog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div
v-for="(blog, index) in blogs"
:key="blog"
@mouseover="(activeIndex = index)"
@mouseleave="(activeIndex = index)"
@touchstart.passive="(activeIndex = index)"
@mouseover="activeIndex = index"
@mouseleave="activeIndex = index"
@touchstart.passive="activeIndex = index"
class="block mb-4 w-full border border-black-8 rounded-2xl box-border p-4"
>
<div
Expand Down Expand Up @@ -53,9 +53,9 @@
<div
v-for="(blog, index) in blogs.slice(0, 1)"
:key="blog"
@mouseover="(activeIndex = index)"
@mouseleave="(activeIndex = index)"
@touchstart.passive="(activeIndex = index)"
@mouseover="activeIndex = index"
@mouseleave="activeIndex = index"
@touchstart.passive="activeIndex = index"
@click="openBlog(blog.link, 'tap_blog_post')"
class="block grow-[2] basis-3/5 content-stretch mb-5 w-full border border-black-8 rounded-2xl box-border p-4 cursor-pointer"
>
Expand Down Expand Up @@ -87,9 +87,9 @@
<div
v-for="(blog, index) in blogs.slice(1, 3)"
:key="blog"
@mouseover="(activeIndex = index)"
@mouseleave="(activeIndex = index)"
@touchstart.passive="(activeIndex = index)"
@mouseover="activeIndex = index"
@mouseleave="activeIndex = index"
@touchstart.passive="activeIndex = index"
@click="openBlog(blog.link, 'tap_blog_post')"
class="block mb-5 w-full border border-black-8 rounded-xl box-border p-4 cursor-pointer"
>
Expand Down
Loading

0 comments on commit fc8419a

Please sign in to comment.