Skip to content

Commit 0f03dcf

Browse files
committed
Add simple-analytics stats in footer
1 parent 0c0c9c0 commit 0f03dcf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/components/Footer.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ function Footer(Props) {
2929
href: "https://www.keycdn.com/",
3030
target: "_blank",
3131
children: "KeyCDN"
32-
}), "."))), React.createElement("div", {
32+
}), "."), React.createElement("p", undefined, React.createElement("img", {
33+
className: "h-[2.25rem] mt-6",
34+
src: "https://simpleanalyticsbadge.com/rescript-lang.org?counter=true&radius=13"
35+
})))), React.createElement("div", {
3336
className: "flex flex-col space-y-16 md:flex-row mt-16 md:mt-0 md:ml-16 md:space-y-0 md:space-x-16"
3437
}, React.createElement(Footer$Section, {
3538
title: "About",

src/components/Footer.res

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ let make = () => {
2828
</Markdown.A>
2929
{React.string(".")}
3030
</p>
31+
<p>
32+
<img className="h-[2.25rem] mt-6" src="https://simpleanalyticsbadge.com/rescript-lang.org?counter=true&radius=13"/>
33+
</p>
3134
</div>
3235
</div>
3336
<div

0 commit comments

Comments
 (0)