From 131e2587f66e9940ebd7ed58163a644612efb5c8 Mon Sep 17 00:00:00 2001 From: Santhoshkumar <117272529+Santhosh-testsigma@users.noreply.github.com> Date: Thu, 2 Nov 2023 14:08:07 +0530 Subject: [PATCH 1/6] fix: inner linking scroll position --- src/templates/page.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/templates/page.scss b/src/templates/page.scss index 74b1e8b..ac68d4e 100644 --- a/src/templates/page.scss +++ b/src/templates/page.scss @@ -18,6 +18,8 @@ body{ //overflow: auto; overflow-x: hidden; height: 100%; + scroll-behavior: smooth; + scroll-padding-top: 90px; } #root_header{ From 1f189858bd05da24a3498932a92d63846c6cf267 Mon Sep 17 00:00:00 2001 From: Jayavel Date: Mon, 27 Nov 2023 15:35:33 +0530 Subject: [PATCH 2/6] Fix(build-script): Upgrading package --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 409b560..e505271 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,13 @@ name: 'CI' on: pull_request: - types: [ opened, synchronize, reopened ] + types: [opened, synchronize, reopened] jobs: CI: runs-on: ubuntu-latest steps: + - name: Update package information with default mirror + run: sudo sed -i 's|mirror+file:/etc/apt/apt-mirrors.txt|http://archive.ubuntu.com/ubuntu|' /etc/apt/sources.list && sudo apt-get update - name: Install libvips run: sudo apt-get install libvips - uses: actions/checkout@v2 From d35e6917ae52c660c4d4fc6b85eee5ed3fc58520 Mon Sep 17 00:00:00 2001 From: Jayavel <59638803+jayavel-testsigma@users.noreply.github.com> Date: Mon, 27 Nov 2023 16:37:01 +0530 Subject: [PATCH 3/6] Fix(build-script): Upgrading package (#78) --- .github/workflows/cd.yml | 5 +++-- .github/workflows/staging-cd.yml | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7d0c65d..3cf87ae 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,6 +7,8 @@ jobs: Deploy: runs-on: ubuntu-latest steps: + - name: Update package information with default mirror + run: sudo sed -i 's|mirror+file:/etc/apt/apt-mirrors.txt|http://archive.ubuntu.com/ubuntu|' /etc/apt/sources.list && sudo apt-get update - name: Install libvips run: sudo apt-get install libvips - uses: actions/checkout@v2 @@ -51,7 +53,7 @@ jobs: TYPESENSE_COLLECTION: ${{ secrets.TYPESENSE_COLLECTION }} TYPESENSE_API_KEY: ${{ secrets.TYPESENSE_API_KEY }} TYPESENSE_SEARCH_API_KEY: ${{ secrets.TYPESENSE_SEARCH_API_KEY }} - + - name: Start Gatsby server run: npm run develop & env: @@ -76,4 +78,3 @@ jobs: - name: Stop Gatsby server run: lsof -i :8001 -t | xargs kill - diff --git a/.github/workflows/staging-cd.yml b/.github/workflows/staging-cd.yml index b36a534..82d7eb8 100644 --- a/.github/workflows/staging-cd.yml +++ b/.github/workflows/staging-cd.yml @@ -7,6 +7,8 @@ jobs: StagingDeploy: runs-on: ubuntu-latest steps: + - name: Update package information with default mirror + run: sudo sed -i 's|mirror+file:/etc/apt/apt-mirrors.txt|http://archive.ubuntu.com/ubuntu|' /etc/apt/sources.list && sudo apt-get update - name: Install libvips run: sudo apt-get install libvips - uses: actions/checkout@v2 @@ -38,7 +40,7 @@ jobs: echo TYPESENSE_SEARCH_API_KEY=${{ secrets.WEBSITE_STAGING_TYPESENSE_SEARCH_API_KEY }} >> .env cat .env - name: Set environment - run : sed -i 's/localhost/website.testsigma.com/g' src/environment.ts + run: sed -i 's/localhost/website.testsigma.com/g' src/environment.ts - name: Build run: | PREFIX_PATHS=true npm run build && npm run deploy @@ -53,7 +55,7 @@ jobs: TYPESENSE_COLLECTION: ${{ secrets.WEBSITE_STAGING_TYPESENSE_COLLECTION }} TYPESENSE_API_KEY: ${{ secrets.WEBSITE_STAGING_TYPESENSE_API_KEY }} TYPESENSE_SEARCH_API_KEY: ${{ secrets.WEBSITE_STAGING_TYPESENSE_SEARCH_API_KEY }} - + - name: Start Gatsby server run: npm run develop & env: From 7a383d2492d3c6c2394ed0664fb816e6d82c13a3 Mon Sep 17 00:00:00 2001 From: Santhoshkumar <117272529+Santhosh-testsigma@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:45:15 +0530 Subject: [PATCH 4/6] Added styling for black friday deal campaign hello bar (#76) --- src/templates/page.scss | 53 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/src/templates/page.scss b/src/templates/page.scss index ac68d4e..b60d615 100644 --- a/src/templates/page.scss +++ b/src/templates/page.scss @@ -681,14 +681,16 @@ table{ // Cookie banner #hs-banner-parent{ .hs-cookie-notification-position-bottom{ - width: calc(min(28em, 100%)); - left: 14%; + width: calc(min(28em, 100%)) !important; + left: calc(min(15em, 100%)) !important; @media only screen and (max-width: 767px) { left: 3%; + bottom: 2%; width: 95%; } @media only screen and (min-width:768px) and (max-width: 1023px) { left: 20%; + bottom: 10%; width: 35%; } #hs-eu-cookie-confirmation-inner{ @@ -704,4 +706,51 @@ table{ } } } +} + +//Black-friday hello bar design +#leadinModal-4801049{ + .leadinModal-content { + background: linear-gradient( + 92deg, + #4dd795 37.61%, + rgba(96, 217, 188, 0.83) 76.64% + ) !important; + .leadinModal-content-wrapper { + .leadin-content-body { + .leadin-preview-wrapper { + h4 { + @apply font-bold; + font-size: 1.6rem; + line-height: normal; + color: #000000 !important; + margin: 0 auto; + margin-left: auto !important; + margin-right: auto; + text-align: center !important; + font-style: normal; + } + .advance-wrapper { + @media (max-width: 767px) { + @apply mt-8; + } + .leadin-button { + @apply font-bold text-center; + font-size: 1.4rem; + color: #fff !important; + border-radius: 3px; + background-color: #191919 !important; + font-style: normal; + height: 2.7rem; + } + } + } + } + } + .leadinModal-close{ + &::before{ + color: #000000 !important; + } + } + } } \ No newline at end of file From c384da3603711c756d5e527fed55ab6ab14153c0 Mon Sep 17 00:00:00 2001 From: Santhoshkumar <117272529+Santhosh-testsigma@users.noreply.github.com> Date: Mon, 27 Nov 2023 19:16:28 +0530 Subject: [PATCH 5/6] fix: Black friday deal hello bar UI issue fixed (#80) --- src/templates/page.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/templates/page.scss b/src/templates/page.scss index b60d615..cc4998d 100644 --- a/src/templates/page.scss +++ b/src/templates/page.scss @@ -721,7 +721,7 @@ table{ .leadin-preview-wrapper { h4 { @apply font-bold; - font-size: 1.6rem; + font-size: 16px; line-height: normal; color: #000000 !important; margin: 0 auto; @@ -736,12 +736,11 @@ table{ } .leadin-button { @apply font-bold text-center; - font-size: 1.4rem; + font-size: 14px; color: #fff !important; border-radius: 3px; background-color: #191919 !important; font-style: normal; - height: 2.7rem; } } } From d40ef6e10915363350a3e1aa00ee09fdd7edfa57 Mon Sep 17 00:00:00 2001 From: Jayavel <59638803+jayavel-testsigma@users.noreply.github.com> Date: Mon, 27 Nov 2023 19:22:12 +0530 Subject: [PATCH 6/6] Fix/main dev (#81) Co-authored-by: Santhoshkumar <117272529+Santhosh-testsigma@users.noreply.github.com>