Skip to content

Commit d4e0640

Browse files
committed
feat: add footer with app name, version, and platform
1 parent 179b34e commit d4e0640

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/App.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,22 @@ function App() {
274274
</main>
275275
);
276276

277+
const Footer = () => (
278+
<footer className="footer footer-center bg-base-200 text-base-content/30 p-4">
279+
<div className="flex flex-row">
280+
<span>ZKNetwork Client</span>
281+
<span className="mx-2">|</span>
282+
<span>Version: {appVersion}</span>
283+
<span className="mx-2">|</span>
284+
<span>Platform: {platformArch}</span>
285+
</div>
286+
</footer>
287+
);
288+
277289
return (
278290
<div className="flex flex-col min-h-screen">
279291
<Main />
292+
<Footer />
280293
</div>
281294
);
282295
}

0 commit comments

Comments
 (0)