Skip to content

Commit

Permalink
App: cleanup (#164)
Browse files Browse the repository at this point in the history
* Remove unused dependency
* Home screen: remove outdated design
* UI kit: ignore tsconfig.tsbuildinfo
  • Loading branch information
bpierre authored May 8, 2024
1 parent f426303 commit 735873c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 348 deletions.
1 change: 0 additions & 1 deletion frontend/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@react-spring/web": "^9.7.3",
"@tanstack/react-query": "^5.31.0",
"dnum": "^2.11.0",
"focus-trap-react": "^10.2.3",
"geist": "^1.3.0",
"next": "14.2.2",
"react": "^18",
Expand Down
24 changes: 22 additions & 2 deletions frontend/app/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,39 @@
"use client";

import { AppLauncher } from "@/src/comps/AppLauncher/AppLauncher";
import { css } from "@/styled-system/css";
import { Button } from "@liquity2/uikit";
import Link from "next/link";

export default function Home() {
return (
<div
className={css({
display: "flex",
alignItems: "center",
justifyContent: "center",
gap: 16,
width: "100%",
height: "100%",
})}
>
<AppLauncher />
{([
["/contracts", true],
["/earn", true],
["/borrow", false],
] as const).map(([path, enabled]) => (
<Link
key={path}
href={path}
>
<Button
disabled={!enabled}
label={path}
mode="secondary"
size="small"
wide
/>
</Link>
))}
</div>
);
}
148 changes: 0 additions & 148 deletions frontend/app/src/comps/AppLauncher/AppIcon.tsx

This file was deleted.

196 changes: 0 additions & 196 deletions frontend/app/src/comps/AppLauncher/AppLauncher.tsx

This file was deleted.

Loading

0 comments on commit 735873c

Please sign in to comment.