Skip to content

Commit 59631b5

Browse files
Merge pull request #79 from testsigmahq/dev
Dev to main [27 Nov]
2 parents ac49edc + d40ef6e commit 59631b5

4 files changed

Lines changed: 62 additions & 7 deletions

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
Deploy:
88
runs-on: ubuntu-latest
99
steps:
10+
- name: Update package information with default mirror
11+
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
1012
- name: Install libvips
1113
run: sudo apt-get install libvips
1214
- uses: actions/checkout@v2
@@ -51,7 +53,7 @@ jobs:
5153
TYPESENSE_COLLECTION: ${{ secrets.TYPESENSE_COLLECTION }}
5254
TYPESENSE_API_KEY: ${{ secrets.TYPESENSE_API_KEY }}
5355
TYPESENSE_SEARCH_API_KEY: ${{ secrets.TYPESENSE_SEARCH_API_KEY }}
54-
56+
5557
- name: Start Gatsby server
5658
run: npm run develop &
5759
env:
@@ -76,4 +78,3 @@ jobs:
7678

7779
- name: Stop Gatsby server
7880
run: lsof -i :8001 -t | xargs kill
79-

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: 'CI'
22
on:
33
pull_request:
4-
types: [ opened, synchronize, reopened ]
4+
types: [opened, synchronize, reopened]
55
jobs:
66
CI:
77
runs-on: ubuntu-latest
88
steps:
9+
- name: Update package information with default mirror
10+
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
911
- name: Install libvips
1012
run: sudo apt-get install libvips
1113
- uses: actions/checkout@v2

.github/workflows/staging-cd.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
StagingDeploy:
88
runs-on: ubuntu-latest
99
steps:
10+
- name: Update package information with default mirror
11+
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
1012
- name: Install libvips
1113
run: sudo apt-get install libvips
1214
- uses: actions/checkout@v2
@@ -38,7 +40,7 @@ jobs:
3840
echo TYPESENSE_SEARCH_API_KEY=${{ secrets.WEBSITE_STAGING_TYPESENSE_SEARCH_API_KEY }} >> .env
3941
cat .env
4042
- name: Set environment
41-
run : sed -i 's/localhost/website.testsigma.com/g' src/environment.ts
43+
run: sed -i 's/localhost/website.testsigma.com/g' src/environment.ts
4244
- name: Build
4345
run: |
4446
PREFIX_PATHS=true npm run build && npm run deploy
@@ -53,7 +55,7 @@ jobs:
5355
TYPESENSE_COLLECTION: ${{ secrets.WEBSITE_STAGING_TYPESENSE_COLLECTION }}
5456
TYPESENSE_API_KEY: ${{ secrets.WEBSITE_STAGING_TYPESENSE_API_KEY }}
5557
TYPESENSE_SEARCH_API_KEY: ${{ secrets.WEBSITE_STAGING_TYPESENSE_SEARCH_API_KEY }}
56-
58+
5759
- name: Start Gatsby server
5860
run: npm run develop &
5961
env:

src/templates/page.scss

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ body{
1818
//overflow: auto;
1919
overflow-x: hidden;
2020
height: 100%;
21+
scroll-behavior: smooth;
22+
scroll-padding-top: 90px;
2123
}
2224

2325
#root_header{
@@ -679,14 +681,16 @@ table{
679681
// Cookie banner
680682
#hs-banner-parent{
681683
.hs-cookie-notification-position-bottom{
682-
width: calc(min(28em, 100%));
683-
left: 14%;
684+
width: calc(min(28em, 100%)) !important;
685+
left: calc(min(15em, 100%)) !important;
684686
@media only screen and (max-width: 767px) {
685687
left: 3%;
688+
bottom: 2%;
686689
width: 95%;
687690
}
688691
@media only screen and (min-width:768px) and (max-width: 1023px) {
689692
left: 20%;
693+
bottom: 10%;
690694
width: 35%;
691695
}
692696
#hs-eu-cookie-confirmation-inner{
@@ -702,4 +706,50 @@ table{
702706
}
703707
}
704708
}
709+
}
710+
711+
//Black-friday hello bar design
712+
#leadinModal-4801049{
713+
.leadinModal-content {
714+
background: linear-gradient(
715+
92deg,
716+
#4dd795 37.61%,
717+
rgba(96, 217, 188, 0.83) 76.64%
718+
) !important;
719+
.leadinModal-content-wrapper {
720+
.leadin-content-body {
721+
.leadin-preview-wrapper {
722+
h4 {
723+
@apply font-bold;
724+
font-size: 16px;
725+
line-height: normal;
726+
color: #000000 !important;
727+
margin: 0 auto;
728+
margin-left: auto !important;
729+
margin-right: auto;
730+
text-align: center !important;
731+
font-style: normal;
732+
}
733+
.advance-wrapper {
734+
@media (max-width: 767px) {
735+
@apply mt-8;
736+
}
737+
.leadin-button {
738+
@apply font-bold text-center;
739+
font-size: 14px;
740+
color: #fff !important;
741+
border-radius: 3px;
742+
background-color: #191919 !important;
743+
font-style: normal;
744+
}
745+
}
746+
}
747+
}
748+
}
749+
.leadinModal-close{
750+
&::before{
751+
color: #000000 !important;
752+
}
753+
}
754+
}
705755
}

0 commit comments

Comments
 (0)