Skip to content

Commit

Permalink
fix app
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Jul 14, 2023
1 parent e8ab9e9 commit 75bf0dc
Show file tree
Hide file tree
Showing 16 changed files with 1,312 additions and 744 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.formatOnSave": true,
"typescript.tsdk": "packages/sdk/node_modules/typescript/lib",
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
Expand Down
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,5 @@
"devDependencies": {
"husky": "5.1.3"
},
"packageManager": "yarn@3.6.1",
"dependencies": {
"clsx": "^1.2.1",
"nextra": "^2.6.2",
"nextra-theme-docs": "^2.6.2",
"react-icons": "^4.9.0"
}
"packageManager": "yarn@3.6.1"
}
18 changes: 9 additions & 9 deletions packages/app/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import './globals.css'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import "./globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";

const inter = Inter({ subsets: ['latin'] })
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
title: "Zodiac Roles",
description: "Role-based access control for EVM calls",
};

export default function RootLayout({
children,
}: {
children: React.ReactNode
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
);
}
34 changes: 3 additions & 31 deletions packages/app/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Image from 'next/image'
import styles from './page.module.css'
import Image from "next/image";
import styles from "./page.module.css";

export default function Home() {
return (
Expand All @@ -9,34 +9,6 @@ export default function Home() {
Get started by editing&nbsp;
<code className={styles.code}>app/page.tsx</code>
</p>
<div>
<a
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
By{' '}
<Image
src="/vercel.svg"
alt="Vercel Logo"
className={styles.vercelLogo}
width={100}
height={24}
priority
/>
</a>
</div>
</div>

<div className={styles.center}>
<Image
className={styles.logo}
src="/next.svg"
alt="Next.js Logo"
width={180}
height={37}
priority
/>
</div>

<div className={styles.grid}>
Expand Down Expand Up @@ -91,5 +63,5 @@ export default function Home() {
</a>
</div>
</main>
)
);
}
15 changes: 14 additions & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
{
"name": "zodiac-roles-app",
"name": "app",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@types/node": "^20.2.5",
"@types/react": "^18.2.8",
"@types/react-dom": "^18.2.4",
"eslint": "^8.41.0",
"eslint-config-next": "^13.4.4",
"ethers": "^5.4.7",
"next": "^13.4.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6",
"zodiac-roles-sdk": "workspace:*"
}
}
3 changes: 3 additions & 0 deletions packages/app/public/discordicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/app/public/favicon.ico
Binary file not shown.
Binary file added packages/app/public/gnosisguild.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/app/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion packages/app/public/next.svg

This file was deleted.

3 changes: 3 additions & 0 deletions packages/app/public/twittericon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion packages/app/public/vercel.svg

This file was deleted.

18 changes: 9 additions & 9 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
"lint": "next lint"
},
"dependencies": {
"@types/node": "20.2.5",
"@types/react": "18.2.8",
"@types/react-dom": "18.2.4",
"eslint": "8.41.0",
"eslint-config-next": "13.4.4",
"@types/node": "^20.2.5",
"@types/react": "^18.2.8",
"@types/react-dom": "^18.2.4",
"eslint": "^8.41.0",
"eslint-config-next": "^13.4.4",
"ethers": "^5.4.7",
"next": "13.4.4",
"next": "^13.4.10",
"nextra": "^2.6.2",
"nextra-theme-docs": "^2.6.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6",
"zodiac-roles-sdk": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion packages/evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"solidity-coverage": "0.8.2",
"ts-node": "10.9.1",
"typechain": "8.1.1",
"typescript": "5.0.2"
"typescript": "^5.1.3"
},
"dependencies": {
"@gnosis.pm/mock-contract": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"rimraf": "^3.0.2",
"ts-node": "^10.8.0",
"typechain": "^8.1.1",
"typescript": "^4.9.5",
"typescript": "^5.1.3",
"yargs": "^16.1.1"
},
"resolutions": {
Expand Down
Loading

0 comments on commit 75bf0dc

Please sign in to comment.