Skip to content

Commit 99249de

Browse files
new features
1 parent 6b685dc commit 99249de

File tree

4 files changed

+41
-20
lines changed

4 files changed

+41
-20
lines changed

src/pages/Home/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,4 +395,5 @@ h1 span {
395395
border-radius: 100px;
396396
font-weight: 700;
397397
color: #FFFFFF;
398+
cursor: "pointer";
398399
}

src/pages/Home/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const Home = () => {
8181

8282
const randomNodeIndex = Math.floor(Math.random() * nodeListFilteredBySelectedRegion!.length);
8383

84-
const exitNode = nodeListFilteredBySelectedRegion?.[randomNodeIndex];
84+
const exitNode = [nodeListFilteredBySelectedRegion?.[randomNodeIndex]];
8585

8686
let entryNodes: any[] = [];
8787

@@ -371,7 +371,7 @@ const Home = () => {
371371
)}
372372

373373
<button className="vip-button" onClick={() => navigate("/vip")}>
374-
VIP
374+
VIP Service
375375
</button>
376376
</div>
377377

src/pages/Vip/index.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
width: 100%;
88
max-width: 360px;
99

10-
margin-top: 550px;
10+
margin-top: 500px;
1111
padding-bottom: 50px;
1212
}
1313

@@ -60,4 +60,15 @@
6060
border: 1px solid #474648;
6161
border-collapse: collapse;
6262
padding: 4px;
63+
}
64+
65+
.vip-button {
66+
width: 100%;
67+
border: 0;
68+
background: #2A3038;
69+
padding: 12px 8px;
70+
border-radius: 100px;
71+
font-weight: 700;
72+
color: #FFFFFF;
73+
cursor: "pointer";
6374
}

src/pages/Vip/index.tsx

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import { useState } from 'react';
2+
import { useNavigate } from "react-router-dom";
3+
24
import Menu from '../../components/Menu';
35
import "./index.css";
46

@@ -8,6 +10,7 @@ const Vip = () => {
810
const toggleMenu = () => {
911
setIsMenuVisible(prevState => !prevState);
1012
}
13+
const navigate = useNavigate();
1114

1215
return (
1316
<>
@@ -31,43 +34,42 @@ const Vip = () => {
3134

3235
<div className="vip">
3336
<h1>Silent Pass Users: Free vs VIP</h1>
34-
<h2>Free Users</h2>
35-
<p>Free Users are required to share their computing resources while using Silent Pass VPN basic service. </p>
36-
<p><strong>VIP Users</strong> could enjoy advance service, and are free from computing resources sharing.</p>
37+
<p><strong>Free Users</strong> are required to share their computing resources while using Silent Pass VPN basic service. </p>
38+
<p><strong>VIP Users</strong> can enjoy advanced service and are free from computing resources sharing.</p>
3739
<ul>
38-
<li><strong>Premium Users<strong> - Enjoy advanced service on </strong>One Single Device</strong></li>
39-
<li><strong>Platinum Users</strong> - Enjoy advanced service on up to <strong>5 devices</strong></li>
40+
<li style={{padding:"8px", marginBottom:"16px"}}><strong>Premium Users</strong> - Enjoy advanced service on <strong style={{color:"#9FBFE5FE"}}>One Single Device</strong></li>
41+
<li style={{padding:"8px", marginBottom:"16px"}}><strong>Platinum Users</strong> - Enjoy advanced service on up to <strong style={{color:"#9FBFE5FE"}}>5 devices</strong></li>
4042
</ul>
4143
<h2>Why Upgrade to VIP?</h2>
4244
<p>As a VIP User, you'll enjoy a range of exclusive features designed to enhance your experience:</p>
4345
<ul>
4446
<li>Higher Performance</li>
4547
<li>More Regions</li>
4648
<li>Enhanced Security</li>
47-
<li>Split Tunnel</li>
48-
<li>Tunnel Filter</li>
49+
<li>Split-Tunnelling configurations</li>
50+
<li>Personalize which apps get VPN protection</li>
4951
<li>Ad-block Feature</li>
5052
<li>Extra $CONET Token Reward</li>
5153
</ul>
5254
<p>3 ways to upgrade your silent pass service:</p>
53-
<ol>
54-
<li>
55+
<ol style={{listStyle: "none"}}>
56+
<li style={{marginBottom:"16px"}}>
5557
<div>
56-
<h3>Guardians NFT owner</h3>
57-
<p><strong>Platinum Users</strong> Permanently. Visit <a target="_blank" rel="noreferrer" href="https://conet.network/guardian/">Guardian Plan</a> for details.</p>
58+
<h3 style={{marginBottom:"8px"}}>1. Guardians NFT owner</h3>
59+
<p style={{padding:"8px"}}><strong>Platinum Users</strong> Permanently. Visit <a target="_blank" rel="noreferrer" href="https://conet.network/guardian/">Guardian Plan</a> for details.</p>
5860
</div>
5961
</li>
60-
<li>
62+
<li style={{marginBottom:"16px"}}>
6163
<div>
62-
<h3>Guardians NFT owner</h3>
63-
<p><strong>Platinum Users</strong> 1 year. Visit <a target="_blank" rel="noreferrer" href="https://conet.network/conetian/">CoNETian Plan</a> for details.</p>
64+
<h3 style={{marginBottom:"16px"}}>2. CoNETian NFT owner</h3>
65+
<p style={{padding:"8px"}}><strong>Platinum Users</strong> 1 year. Visit <a target="_blank" rel="noreferrer" href="https://conet.network/conetian/">CoNETian Plan</a> for details.</p>
6466
</div>
6567
</li>
66-
<li>
68+
<li style={{marginBottom:"16px"}}>
6769
<div>
6870
<div>
69-
<h3>Subscription Users</h3>
70-
<table>
71+
<h3>3. Subscription Users</h3>
72+
<table style={{marginTop: '16px', borderRadius:'8px'}}>
7173
<thead>
7274
<tr>
7375
<th>Subscription</th>
@@ -92,7 +94,14 @@ const Vip = () => {
9294
</div>
9395
</li>
9496
</ol>
97+
98+
<button className="vip-button" onClick={() => navigate("/")}>
99+
Go Back to Homepage
100+
</button>
101+
95102
</div>
103+
104+
96105
</>
97106
);
98107
};

0 commit comments

Comments
 (0)