Skip to content

Commit

Permalink
Merge pull request #4 from kleros/feat(web)/initial-frontend
Browse files Browse the repository at this point in the history
feat(web): add-Hero-Image-and-update-navbar
  • Loading branch information
kemuru authored Feb 7, 2024
2 parents 2458ba0 + 2b1f67f commit db457ac
Show file tree
Hide file tree
Showing 13 changed files with 179 additions and 84 deletions.
3 changes: 2 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"build-netlify": "scripts/runEnv.sh devnet 'node scripts/gitInfo.js && yarn generate && parcel build'",
"check-style": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"check-types": "tsc --noEmit",
"generate": "yarn generate:gql && yarn generate:hooks",
"generateWhenSubgraphIsReadySubstituteGenerateWithThis": "yarn generate:gql && yarn generate:hooks",
"generate": "yarn generate:hooks",
"generate:gql": "graphql-codegen --require tsconfig-paths/register",
"generate:hooks": "NODE_NO_WARNINGS=1 wagmi generate",
"generate:supabase": "scripts/generateSupabaseTypes.sh"
Expand Down
12 changes: 7 additions & 5 deletions web/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import QueryClientProvider from "context/QueryClientProvider";
import StyledComponentsProvider from "context/StyledComponentsProvider";
import RefetchOnBlock from "context/RefetchOnBlock";
import Layout from "layout/index";
import Home from "./pages/Home";

const App: React.FC = () => {
return (
Expand All @@ -17,11 +18,12 @@ const App: React.FC = () => {
<RefetchOnBlock />
<Web3Provider>
<IsListProvider>
<SentryRoutes>
<Route path="/" element={<Layout />}>
<Route path="*" element={<h1>404 not found</h1>} />
</Route>
</SentryRoutes>
<SentryRoutes>
<Route path="/" element={<Layout />}>
<Route index element={<Home />} />
<Route path="*" element={<h1>404 not found</h1>} />
</Route>
</SentryRoutes>
</IsListProvider>
</Web3Provider>
</QueryClientProvider>
Expand Down
39 changes: 34 additions & 5 deletions web/src/assets/svgs/header/dapp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit db457ac

Please sign in to comment.