-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from bamkfi/landing
Landing
- Loading branch information
Showing
70 changed files
with
665 additions
and
7,320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
UNISAT_API_KEY= | ||
INFURA_API_KEY= | ||
COINGECKO_API_KEY= | ||
MAGIC_EDEN_API_KEY= | ||
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID= | ||
SESSION_SECRET= | ||
AUTOSWAP_BASE_URL= | ||
AUTOSWAP_API_KEY= | ||
AUTOSWAP2_BASE_URL= | ||
AUTOSWAP2_API_KEY= | ||
NEXT_PUBLIC_REDEEM_BASE_URL= | ||
OPI_BASE_URL= | ||
OPI_API_KEY= | ||
NEXT_PUBLIC_MINIMUM_DEPOSIT_USD= | ||
NEXT_PUBLIC_MINIMUM_REDEEM_USD= | ||
MAGIC_EDEN_API_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Fly Deploy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
deploy: | ||
name: Deploy app | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: superfly/flyctl-actions/setup-flyctl@master | ||
- run: flyctl deploy --remote-only | ||
--build-arg UNISAT_API_KEY="${{ secrets.UNISAT_API_KEY }}" | ||
--build-arg COINGECKO_API_KEY="${{ secrets.COINGECKO_API_KEY }}" | ||
--build-arg MAGIC_EDEN_API_KEY="${{ secrets.MAGIC_EDEN_API_KEY }}" | ||
--build-arg INFURA_API_KEY="${{ secrets.INFURA_API_KEY }}" | ||
--build-secret UNISAT_API_KEY="${{ secrets.UNISAT_API_KEY }}" | ||
--build-secret COINGECKO_API_KEY="${{ secrets.COINGECKO_API_KEY }}" | ||
--build-secret MAGIC_EDEN_API_KEY="${{ secrets.MAGIC_EDEN_API_KEY }}" | ||
--build-secret INFURA_API_KEY="${{ secrets.INFURA_API_KEY }}" | ||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,40 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
// https://docs.family.co/connectkit/getting-started#getting-started-nextjs | ||
webpack: (config) => { | ||
config.resolve.fallback = { fs: false, net: false, tls: false }; | ||
return config; | ||
}, | ||
async redirects() { | ||
return [ | ||
{ | ||
source: '/mint', | ||
destination: '/swap/mint', | ||
source: '/api/:path*', | ||
destination: 'https://app.bamk.fi/api/:path*', | ||
permanent: false, | ||
}, | ||
{ | ||
source: '/calculator', | ||
destination: 'https://app.bamk.fi/calculator', | ||
permanent: false, | ||
}, | ||
{ | ||
source: '/leaderboard', | ||
destination: 'https://app.bamk.fi/leaderboard', | ||
permanent: false, | ||
}, | ||
{ | ||
source: '/swap', | ||
destination: '/swap/mint', | ||
destination: 'https://app.bamk.fi/swap', | ||
permanent: false, | ||
}, | ||
{ | ||
source: '/mint', | ||
destination: 'https://app.bamk.fi/swap/mint', | ||
permanent: false, | ||
}, | ||
{ | ||
source: '/swap/:path', | ||
destination: 'https://app.bamk.fi/swap', | ||
permanent: false, | ||
}, | ||
|
||
]; | ||
}, | ||
experimental: { | ||
missingSuspenseWithCSRBailout: false, // https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout | ||
}, | ||
}; | ||
|
||
export default nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.