Skip to content

Commit 59d6344

Browse files
committed
feat: add asset downloads
1 parent 2685f66 commit 59d6344

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/components/sodaforsparc/impact.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default function Impact() {
22
const filesNum = 432;
33
const datasetsNum = 234;
44
const dataNum = 35;
5+
const assetDownloads = 2158;
56

67
return (
78
<section className="mx-auto max-w-screen-xl">
@@ -51,6 +52,18 @@ export default function Impact() {
5152
Datasets Published to Sparc.Science
5253
</p>
5354
</div>
55+
56+
<div className="m-2 mb-5 flex flex-col items-center justify-center lg:m-6">
57+
<p className="my-1 hidden text-center font-lato text-5xl font-bold sm:text-4xl md:text-5xl lg:text-6xl"></p>
58+
59+
<p className="my-1 text-center font-lato text-5xl font-bold sm:text-4xl md:text-5xl lg:text-6xl">
60+
<span id="datasetsNum">{assetDownloads}</span>
61+
</p>
62+
63+
<p className="text-center font-asap text-xl text-black sm:text-lg md:text-xl lg:text-2xl">
64+
Downloads
65+
</p>
66+
</div>
5467
</div>
5568
</section>
5669
);

0 commit comments

Comments
 (0)