Skip to content

Commit 64e96a3

Browse files
committed
adding pricing section to the landing page + few fixes in product section
1 parent 2da5ed2 commit 64e96a3

File tree

11 files changed

+1449
-5
lines changed

11 files changed

+1449
-5
lines changed

public/enterprise-hover.svg

Lines changed: 193 additions & 0 deletions
Loading

public/enterprise.svg

Lines changed: 204 additions & 0 deletions
Loading

public/hover.svg

Lines changed: 185 additions & 0 deletions
Loading

public/no-hover.svg

Lines changed: 205 additions & 0 deletions
Loading

public/pricingbg.svg

Lines changed: 342 additions & 0 deletions
Loading

src/pages/pricing.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import Pricing from '@/views/landing-page/Pricing'
2+
import React from 'react'
3+
4+
const pricing = () => {
5+
return (
6+
<Pricing/>
7+
)
8+
}
9+
10+
export default pricing

src/styles/main.sass

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,13 @@ body
7272
.User_Operations_table td
7373
padding: 10px !important
7474

75+
.bg-normal
76+
background-image: url('/no-hover.svg')
77+
background-size: cover
78+
background-position: center
79+
80+
81+
.hover\:bg-hover:hover
82+
background-image: url('/hover.svg')
83+
background-size: cover
84+
background-position: center

src/views/landing-page/Navbar.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ const Navbar = () => {
5757
"
5858
>
5959
<Link href='https://dashboard.jiffyscan.xyz/'>
60+
<button>
6061
View API Key
62+
</button>
6163
</Link>
6264
</button>
6365
<button
@@ -66,7 +68,7 @@ const Navbar = () => {
6668
md:block
6769
hidden
6870
text-[#6C47FF]
69-
bg-[#d1c7f8]
71+
bg-[#DCD4FF]
7072
hover:bg-blue-800
7173
focus:ring-4
7274
focus:outline-none
@@ -90,7 +92,9 @@ const Navbar = () => {
9092
"
9193
>
9294
<Link href='https://dashboard.jiffyscan.xyz/'>
95+
<button>
9396
Explorer
97+
</button>
9498
</Link>
9599
</button>
96100

@@ -168,11 +172,13 @@ const Navbar = () => {
168172
)}
169173
</li>
170174
<li>
171-
<a
175+
<Link
172176
href="https://jiffyscan.mintlify.app/welcome"
173177
className="flex py-2 px-3 text-[#5A5A62] rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700"
174178
>
179+
<button>
175180
Docs
181+
</button>
176182
<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
177183
<path
178184
d="M4.5 7.5C6.9375 7.5 8 6.4745 8 4C8 6.4745 9.055 7.5 11.5 7.5C9.055 7.5 8 8.555 8 11C8 8.555 6.9375 7.5 4.5 7.5ZM1.5 3.25C3.067 3.25 3.75 2.591 3.75 1C3.75 2.591 4.4285 3.25 6 3.25C4.4285 3.25 3.75 3.9285 3.75 5.5C3.75 3.9285 3.067 3.25 1.5 3.25Z"
@@ -182,22 +188,26 @@ const Navbar = () => {
182188
stroke-linejoin="round"
183189
/>
184190
</svg>
185-
</a>
191+
</Link>
186192
</li>
187193
<li>
188194
<a
189195
href="#"
190196
className="block py-2 px-3 text-[#5A5A62] rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700"
191197
>
198+
<button>
192199
Stories
200+
</button>
193201
</a>
194202
</li>
195203
<li>
196204
<Link
197205
href="/pricing"
198206
className="block py-2 px-3 text-[#5A5A62] rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700"
199207
>
208+
<button>
200209
Pricing
210+
</button>
201211
</Link>
202212
</li>
203213
<button
@@ -239,7 +249,7 @@ const Navbar = () => {
239249
md:hidden
240250
block
241251
text-[#6C47FF]
242-
bg-[#d1c7f8]
252+
bg-[#DCD4FF]
243253
hover:bg-blue-800
244254
focus:ring-4
245255
focus:outline-none

src/views/landing-page/Pricing.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React from 'react';
2+
import Navbar from './Navbar';
3+
import Footer from './Footer';
4+
import PricingSection from './components/PricingSection';
5+
6+
const Pricing = () => {
7+
return (
8+
<div>
9+
<Navbar/>
10+
<div className="pt-20 bg-cover bg-transparent" style={{ backgroundImage: "url('/pricingbg.svg')" }}>
11+
<PricingSection/>
12+
</div>
13+
<Footer/>
14+
</div>
15+
)
16+
}
17+
18+
export default Pricing

src/views/landing-page/Product.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import React, { useState } from 'react';
55

66

77
const DiagonalArrowIcon = () => (
8-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className="w-6 h-6 ml-2 hidden md:block">
8+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" className="w-6 h-6 ml-2 sm:block md:block">
99
<path d="M5 19L19 5M19 5H9M19 5V15" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
1010
</svg>
1111
);

0 commit comments

Comments
 (0)