Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -76,4 +78,3 @@ jobs:

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

4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/staging-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
54 changes: 52 additions & 2 deletions src/templates/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ body{
//overflow: auto;
overflow-x: hidden;
height: 100%;
scroll-behavior: smooth;
scroll-padding-top: 90px;
}

#root_header{
Expand Down Expand Up @@ -679,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{
Expand All @@ -702,4 +706,50 @@ 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: 16px;
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: 14px;
color: #fff !important;
border-radius: 3px;
background-color: #191919 !important;
font-style: normal;
}
}
}
}
}
.leadinModal-close{
&::before{
color: #000000 !important;
}
}
}
}