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

Feat: Remove v2 banner #116

Merged
merged 6 commits into from
Dec 13, 2023
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
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ This project uses Next.JS, React, Redux, Tailwind, Wagmi, and RainbowKit.

## Run Locally

Install deps: `yarn`

Start server: `yarn dev`
1. Install deps: `yarn`
1. Create a local `.env` from the example: `cp .env.example .env`
1. Start server: `yarn dev`
1. `open http://localhost:3000`

## Deploy

Deployments happen automatically via Vercel's Github app after pushing branch updates.
Production deployments for mento v1 trigger from the `production-v1` branch, and mento v2 from `production-v2`.
- Deployments happen automatically via Vercel's Github app.
- Every push into `main` is automatically deployed to app.mento.org
- Deployment configuration can be changed by Mento Labs Team Members at <https://vercel.com/mentolabs/mento-web>

## Contribute

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@
"frappe-charts": "^1.6.2",
"jsbi": "^4.3.0",
"lottie-react": "^2.4.0",
"next": "13.4.6",
"next": "13.5.7-canary.37",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.0",
"react-toastify": "^9.1.3",
"sharp": "^0.33.0",
"toformat": "^2.0.0",
"wagmi": "0.12.18"
},
Expand All @@ -68,7 +69,7 @@
"eslint-config-next": "^13.4.6",
"eslint-config-prettier": "^8.8.0",
"jest": "^29.5.0",
"postcss": "^8.4.24",
"postcss": "^8.4.32",
"prettier": "^2.8.8",
"tailwindcss": "^3.3.2",
"ts-jest": "^29.1.0",
Expand Down
19 changes: 0 additions & 19 deletions src/components/nav/InfoBanner.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { PropsWithChildren } from 'react'
import { BottomGrid } from 'src/components/nav/BottomGrid'
import { Footer } from 'src/components/nav/Footer'
import { Header } from 'src/components/nav/Header'
import { InfoBanner } from 'src/components/nav/InfoBanner'
import { TopBlur } from 'src/components/nav/TopBlur'
import { PollingWorker } from 'src/features/polling/PollingWorker'
import { HeadMeta } from 'src/layout/HeadMeta'
Expand All @@ -24,7 +23,6 @@ export function AppLayout({ pathName, children }: PropsWithChildren<Props>) {
<div
className={`flex flex-col w-full h-full min-h-screen min-w-screen bg-white dark:bg-primary-dark font-inter ${foundersGrotesk.variable}`}
>
<InfoBanner />
<TopBlur />
<Header />
<main className={`relative z-20 flex items-center justify-center grow`}>{children}</main>
Expand Down
Loading