Skip to content
Merged
Show file tree
Hide file tree
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
Binary file added packages/veraswap-app/public/nethermind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions packages/veraswap-app/src/components/AuditSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Shield } from "lucide-react";

export function AuditSection() {
return (
<div className="flex items-center gap-2 text-sm text-muted-foreground">
<Shield className="w-4 h-4" />
<span>Audited by</span>
<a
href="https://github.com/owlprotocol/veraswap/blob/develop/packages/veraswap-sdk/audits/NM_0622_Veraswap_FINAL.pdf"
target="_blank"
rel="noopener noreferrer"
className="hover:opacity-80 transition-opacity flex items-center gap-1"
>
<img
src="/nethermind.png"
alt="Nethermind"
className="h-10 w-auto opacity-80 hover:opacity-100 transition-opacity cursor-pointer"
/>
<span>Nethermind</span>
</a>
</div>
);
}
6 changes: 5 additions & 1 deletion packages/veraswap-app/src/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useState } from "react";
import { ThemeSwitcher } from "@/components/theme-switcher.js";
import { VeraFundButton } from "@/components/VeraFundButton.js";
import { WelcomeDialog } from "@/components/welcome-dialog.js";
import { AuditSection } from "@/components/AuditSection.js";
import { Button } from "@/components/ui/button.js";

export const Route = createRootRoute({
Expand Down Expand Up @@ -83,7 +84,7 @@ function RootComponent() {
</main>

<footer className="fixed bottom-0 left-0 right-0 z-40 backdrop-blur-sm border-t header-background">
<div className="mx-auto px-4 py-3 flex items-center justify-center">
<div className="mx-auto px-4 py-3 flex items-center justify-between md:justify-center relative">
<Button variant="ghost" size="sm" asChild className="text-muted-foreground hover:text-foreground">
<a
href="https://veraswap.io"
Expand All @@ -94,6 +95,9 @@ function RootComponent() {
<span>Visit veraswap.io</span>
</a>
</Button>
<div className="absolute right-4">
<AuditSection />
</div>
</div>
</footer>

Expand Down
Loading