Skip to content

Commit 26f37ec

Browse files
committed
stats update
1 parent c0435b8 commit 26f37ec

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

src/components/sections/Hero.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ export default function Hero() {
1313
</SectionHeading>
1414
<div>
1515
<Button className='text-white py-4 px-8' type="primary" href="https://www.npmjs.com/package/web3">npm i web3</Button>
16-
<div className='mt-6 px-2 flex flex-row align-center gap-x-2'><img className='h-5 w-5' src="/cs.png" alt="ChainSafe Logo, maintainer of web3js"/>
17-
<p className='text-md text-gray-300'>{" "} Maintained by ChainSafe</p>
18-
</div>
1916
</div>
2017
</div>
2118
<div className='flex flex-col w-full pt-8 lg:pt-0'>

src/components/sections/Stats.tsx

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
11
import SectionHeading from "../SectionHeading"
2-
3-
const stats = [
4-
{
5-
name: 'Monthly npm usage',
6-
value: '2M',
7-
},
8-
{
9-
name: 'Monthly CDN requests',
10-
value: '2M',
11-
},
12-
{
13-
name: 'Weekly downloads',
14-
value: '500k',
15-
},
16-
{
17-
name: 'GitHub stars',
18-
value: '19K',
19-
},
20-
{
21-
name: 'Dependent projects',
22-
value: '3K+',
23-
},
24-
]
252

263
export default function Stats() {
274
return (
@@ -34,14 +11,7 @@ const stats = [
3411
Web3.js was established in 2014, making it the oldest web3 library. With extensive documentation, an active community and modular design, Web3.js is powerful and easy-to-use.
3512
</p>
3613
</div>
37-
<dl className="mt-16 grid grid-cols-1 gap-0.5 text-center sm:grid-cols-2 lg:grid-cols-5 lg:gap-x-2">
38-
{stats.map((stat, index) => (
39-
<div key={index} className="flex flex-col border-zinc-700 border py-4 rounded-xl">
40-
<p className="my-4 text-6xl font-semibold text-brand-200">{stat.value}</p>
41-
<p className="text-md leading-6 text-gray-400">{stat.name}</p>
42-
</div>
43-
))}
44-
</dl>
14+
4515
</div>
4616
</div>
4717
</div>

0 commit comments

Comments
 (0)