Skip to content

Commit 7bb50b9

Browse files
Updated the logo and theme colors
1 parent a736f82 commit 7bb50b9

File tree

12 files changed

+541
-338
lines changed

12 files changed

+541
-338
lines changed

src/components/Footer.jsx

Lines changed: 88 additions & 62 deletions
Large diffs are not rendered by default.

src/components/Footer.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@
117117
margin-left: 0px;
118118
position: relative;
119119
right: 15px;
120-
background: #03A973 !important;
121-
border: 1px solid #03A973 !important;
120+
background: #00b2bd !important;
121+
border: 1px solid #00b2bd !important;
122122
min-width: 150px;
123123
height: 40px;
124124
border-radius: 4px;
@@ -160,7 +160,7 @@
160160
flex-basis: 40%;
161161
align-items: center;
162162
h4 {
163-
color: #03A973;
163+
color: #00b2bd;
164164
}
165165
}
166166
}
@@ -218,8 +218,8 @@
218218
color: #FFF;
219219
margin-top: 11px;
220220
margin-left: 0px;
221-
background: #03A973 !important;
222-
border: 1px solid #03A973 !important;
221+
background: #00b2bd !important;
222+
border: 1px solid #00b2bd !important;
223223
max-width: 100%;
224224
width: 97%;
225225
height: 40px;
@@ -252,7 +252,7 @@
252252
margin-top: 30px;
253253
background-color: #F6F7F9;
254254
padding: 30px 15px 15px 15px;
255-
svg{
255+
img{
256256
margin: auto;
257257
display: block;
258258
}
@@ -277,7 +277,7 @@
277277
height: auto;
278278
}
279279
a{
280-
color: #03A973;
280+
color: #00b2bd;
281281
text-decoration: underline;
282282
}
283283
}
@@ -288,7 +288,7 @@
288288
.p_0{
289289
margin-top: 0px!important;
290290
a{
291-
color: #03A973;
291+
color: #00b2bd;
292292
}
293293
}
294294
.link_underline{

src/components/LeftNav.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@
5151
button {
5252
font-weight: 600;
5353
&:hover{
54-
color: #1AA874;
54+
color: #00b2bd;
5555
}
5656
}
5757
}
5858

5959
.parent:hover button{
60-
color: #1AA874;
60+
color: #00b2bd;
6161
}
6262

6363
.parent:hover svg path{
64-
fill: #1AA874;
64+
fill: #00b2bd;
6565
}
6666

6767
.parent {
@@ -97,7 +97,7 @@
9797
outline: inherit;
9898
text-transform: capitalize;
9999
&:hover{
100-
color: #1AA874;
100+
color: #00b2bd;
101101
}
102102
@media (max-width: 576px) {
103103
font-size: 13px;
@@ -153,7 +153,7 @@
153153

154154
&.currentUrl{
155155
font-weight: 700;
156-
color: #1AA874;
156+
color: #00b2bd;
157157
margin-left: 0px!important;
158158

159159
> * {
@@ -178,7 +178,7 @@
178178
&:hover {
179179
background-color: inherit;
180180
border-radius: 3px;
181-
color: #1AA874;
181+
color: #00b2bd;
182182
}
183183
}
184184
}
@@ -287,7 +287,7 @@
287287
}
288288

289289
.text_green{
290-
color: #1AA874;
290+
color: #00b2bd;
291291
}
292292
.float_left{
293293
float:left;

src/components/SubNav.jsx

Lines changed: 158 additions & 94 deletions
Large diffs are not rendered by default.

src/components/header.jsx

Lines changed: 21 additions & 44 deletions
Large diffs are not rendered by default.

src/components/images/header.jsx

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
import React, { useEffect, useState } from 'react';
2+
import SearchInputBox from './SearchInputBox';
3+
import tsLogo from '../components/images/testsigma-logo-v3-dark.svg';
4+
5+
const Header = () => {
6+
const [isHomepage, setIsHomepage] = useState(false);
7+
8+
useEffect(() => {
9+
setIsHomepage(window.location.pathname === '/tutorials/');
10+
}, []);
11+
return (
12+
<header id='root_header'>
13+
<div className='flex items-stretch header-container'>
14+
<a href={'/'} className='logo-block flex max-w-sm w-1/6'>
15+
<img src={tsLogo} alt='Testsigma' className='ml-10 my-6' />
16+
</a>
17+
<nav className='flex-auto flex items-center'>
18+
<nav className='flex w-7/12'>
19+
<div className='flex items-stretch font-semibold ml-20'>
20+
<a
21+
className='btn btn-ghost btn-sm pr-2 rounded-btn'
22+
href={'/docs/'}
23+
>
24+
Docs
25+
</a>
26+
{isHomepage ? (
27+
<span className='btn btn-ghost btn-sm border-b-2 border-primary_teal_green rounded-btn ml-10 text-primary_teal_green'>
28+
Tutorials
29+
</span>
30+
) : (
31+
<a
32+
className='btn btn-ghost btn-sm border-b-2 border-primary_teal_green rounded-btn ml-10 text-primary_teal_green'
33+
href='/tutorials/'
34+
>
35+
Tutorials
36+
</a>
37+
)}
38+
<a
39+
className='btn btn-ghost btn-sm rounded-btn ml-10'
40+
target={'_blank'}
41+
href={'https://github.com/Testsigmahq/testsigma/'}
42+
>
43+
GitHub
44+
</a>
45+
<a
46+
className='btn btn-ghost btn-sm rounded-btn ml-10'
47+
href={'https://discord.com/invite/5caWS7R6QX'}
48+
>
49+
Discord
50+
</a>
51+
<a
52+
className='btn btn-ghost btn-sm rounded-btn ml-10'
53+
href={'https://testsigma.com/pricing'}
54+
>
55+
Enterprise
56+
</a>
57+
<a
58+
className='btn btn-ghost btn-sm rounded-btn ml-10'
59+
href={'https://testsigma.com/'}
60+
>
61+
Testsigma Cloud
62+
</a>
63+
</div>
64+
</nav>
65+
<div className='search-block relative flex items-center justify-between w-2/5 pr-9'>
66+
<SearchInputBox></SearchInputBox>
67+
<a
68+
id={'signup-btn'}
69+
target={'_blank'}
70+
className='border border-primary_teal_green px-4 py-1.5 text-primary_teal_green rounded'
71+
href='/signup'
72+
>
73+
GET STARTED FREE
74+
</a>
75+
<a
76+
id={'signup-btn'}
77+
target={'_blank'}
78+
className='border border-primary_teal_green px-4 py-1.5 bg-primary_teal_green text-white rounded'
79+
href='/request-demo'
80+
>
81+
BOOK A DEMO
82+
</a>
83+
</div>
84+
</nav>
85+
</div>
86+
</header>
87+
);
88+
};
89+
90+
export default Header;

src/components/images/testsigma-logo-v3-dark.svg

Lines changed: 13 additions & 0 deletions
Loading

src/components/images/testsigma-logo-v3.svg

Lines changed: 13 additions & 0 deletions
Loading

src/pages/tutorials/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const IndexContent = () => {
3939
<a
4040
href='/request-demo'
4141
target={'_blank'}
42-
className='cta-link border border-green-600 px-4 py-1.5 bg-green-600 text-white rounded h-10'
42+
className='cta-link border border-primary_teal_green px-4 py-1.5 base-teal-gradient text-white rounded h-10'
4343
>
4444
Schedule a free demo
4545
</a>

0 commit comments

Comments
 (0)