-
Notifications
You must be signed in to change notification settings - Fork 1
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 #45 from EchoDex/feat/new-landing
- Loading branch information
Showing
307 changed files
with
13,841 additions
and
5,572 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,93 +1,3 @@ | ||
|
||
{ | ||
"ignorePatterns": ["next.config.mjs"], | ||
"extends": "next/core-web-vitals", | ||
"plugins": [ | ||
"react", | ||
"@typescript-eslint", | ||
"react-hooks", | ||
"import", | ||
"prettier" | ||
], | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true, | ||
"jest": true | ||
}, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module", | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"curly": ["error"], | ||
"no-console": "warn", | ||
"no-unused-vars": "off", | ||
"react/no-unknown-property": "off", | ||
"react/display-name": "off", | ||
"react/no-unescaped-entities": "off", | ||
"react/prefer-stateless-function": [2, { "ignorePureComponents": true }], | ||
"react/sort-comp": [2], | ||
"react/jsx-sort-props": [ | ||
1, | ||
{ | ||
"callbacksLast": true, | ||
"reservedFirst": true, | ||
"noSortAlphabetically": true | ||
} | ||
], | ||
"react-hooks/rules-of-hooks": "error", | ||
"react-hooks/exhaustive-deps": "warn", | ||
"@typescript-eslint/no-unused-vars": ["warn", { "args": "none" }], | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/camelcase": "off", | ||
"@typescript-eslint/prefer-for-of": "warn", | ||
"@typescript-eslint/prefer-nullish-coalescing": "warn", | ||
"@typescript-eslint/prefer-optional-chain": "warn", | ||
"@typescript-eslint/triple-slash-reference": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"import/order": [ | ||
"warn", | ||
{ | ||
"groups": [ | ||
"external", | ||
"builtin", | ||
"internal", | ||
["parent", "sibling"], | ||
"index" | ||
], | ||
"newlines-between": "always", | ||
"pathGroups": [ | ||
{ | ||
"pattern": "core/**", | ||
"group": "builtin" | ||
}, | ||
{ | ||
"pattern": "modules/**", | ||
"group": "internal" | ||
}, | ||
{ | ||
"pattern": "routing/**", | ||
"group": "internal" | ||
}, | ||
{ | ||
"pattern": "store", | ||
"group": "internal" | ||
} | ||
], | ||
"pathGroupsExcludedImportTypes": [] | ||
} | ||
] | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
"extends": ["next/core-web-vitals", "next/typescript"] | ||
} |
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,36 +1,36 @@ | ||
# Spark Landing | ||
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). | ||
|
||
### This landing page is designed to provide users main information about the Spark DeFi platform. | ||
## Getting Started | ||
|
||
### Technology Stack | ||
First, run the development server: | ||
|
||
- React | ||
- Next.js | ||
- Typescript | ||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
### Getting Started | ||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
To get started, clone the repository and follow these commands: | ||
First, run the development server: | ||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
```bash | ||
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. | ||
|
||
# Install dependencies | ||
npm install | ||
## Learn More | ||
|
||
# Start the development server | ||
npm run dev | ||
To learn more about Next.js, take a look at the following resources: | ||
|
||
# Build for production | ||
npm run build | ||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
# Run tests | ||
npm run test | ||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! | ||
|
||
# Lint the project | ||
npm run lint | ||
``` | ||
## Deploy on Vercel | ||
|
||
### More Information | ||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
For more information on Spark and how to get involved, please visit our [official website](https://docs.sprk.fi/). | ||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. |
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,8 +1,11 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
output: "export", // for github pages only | ||
images: { | ||
domains: ["cdn.builder.io"], | ||
}, | ||
swcMinify: true, | ||
reactStrictMode: true, | ||
images: { unoptimized: true } // for github pages only | ||
}; | ||
|
||
export default nextConfig; | ||
module.exports = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { NextConfig } from "next"; | ||
|
||
const nextConfig: NextConfig = { | ||
/* config options here */ | ||
}; | ||
|
||
export default nextConfig; |
Oops, something went wrong.