Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adding app version fixes #108 #122

Merged
merged 1 commit into from
Sep 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions components/layout/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { PropsWithChildren } from "react";
import { Navbar } from "./Navbar";
import { dependencies, version } from "../../package.json";

export const Layout: React.FC<PropsWithChildren> = ({ children }) => {
return (
Expand All @@ -12,23 +13,14 @@ export const Layout: React.FC<PropsWithChildren> = ({ children }) => {
{children}
</div>
</main>
{/* <footer className="fixed bottom-0 left-0 w-full h-20">
<div className="container relative w-full h-full max-w-screen-xl px-4 mx-auto">
<div className="relative w-48 h-full">
<a
href="https://axelar.network"
rel="noopener noreferrer"
target="_blank"
>
<Image
layout="fill"
src="/assets/ui/powered.logo.svg"
objectFit="contain"
/>
</a>
</div>
<footer className="fixed left-0 flex flex-row w-full bottom-1">
<div className="ml-2 text-xs text-slate-500">
App version: {version}
</div>
</footer> */}
<div className="ml-2 text-xs text-slate-500">
SDK version: {dependencies?.["@axelar-network/axelarjs-sdk"]}
</div>
</footer>
</>
);
};