-
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.
- Loading branch information
0 parents
commit 28fa160
Showing
25 changed files
with
5,428 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Build the project | ||
run: yarn build | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./dist |
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 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,8 @@ | ||
# React + Vite | ||
|
||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. | ||
|
||
Currently, two official plugins are available: | ||
|
||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh | ||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh |
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,35 @@ | ||
{ | ||
"version": "0.0.0", | ||
"name": "cardano-matrix", | ||
"dependencies": { | ||
"ajv": { | ||
"version": "8.17.1", | ||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", | ||
"overridden": false | ||
}, | ||
"eslint": { | ||
"version": "9.9.1", | ||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.9.1.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"@eslint/eslintrc": { | ||
"version": "3.1.0", | ||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"ajv": { | ||
"version": "6.12.6", | ||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", | ||
"overridden": false | ||
} | ||
} | ||
}, | ||
"ajv": { | ||
"version": "6.12.6", | ||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", | ||
"overridden": false | ||
} | ||
} | ||
} | ||
} | ||
} |
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,39 @@ | ||
import js from '@eslint/js' | ||
import globals from 'globals' | ||
import react from 'eslint-plugin-react' | ||
import reactHooks from 'eslint-plugin-react-hooks' | ||
import reactRefresh from 'eslint-plugin-react-refresh' | ||
|
||
export default [ | ||
{ ignores: ['dist'] }, | ||
{ | ||
files: ['**/*.{js,jsx}'], | ||
languageOptions: { | ||
ecmaVersion: 2020, | ||
globals: globals.browser, | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
ecmaFeatures: { jsx: true }, | ||
sourceType: 'module', | ||
}, | ||
}, | ||
settings: { react: { version: '18.3' } }, | ||
plugins: { | ||
react, | ||
'react-hooks': reactHooks, | ||
'react-refresh': reactRefresh, | ||
}, | ||
rules: { | ||
...js.configs.recommended.rules, | ||
...react.configs.recommended.rules, | ||
...react.configs['jsx-runtime'].rules, | ||
...reactHooks.configs.recommended.rules, | ||
'react/jsx-no-target-blank': 'off', | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
"react/prop-types": "off" | ||
}, | ||
}, | ||
] |
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,13 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + React</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.jsx"></script> | ||
</body> | ||
</html> |
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,41 @@ | ||
{ | ||
"name": "cardano-matrix", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build", | ||
"lint": "eslint .", | ||
"preview": "vite preview", | ||
"deploy": "gh-pages -d dist" | ||
}, | ||
"dependencies": { | ||
"@emotion/react": "^11.13.3", | ||
"@emotion/styled": "^11.13.0", | ||
"@mui/icons-material": "^6.0.1", | ||
"@mui/material": "^6.0.0", | ||
"@reduxjs/toolkit": "^2.2.7", | ||
"ajv": "^8.17.1", | ||
"d3": "^7.9.0", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-redux": "^9.1.2", | ||
"react-router-dom": "^6.26.1" | ||
}, | ||
"devDependencies": { | ||
"@eslint/js": "^9.9.0", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.0", | ||
"@vitejs/plugin-react": "^4.3.1", | ||
"autoprefixer": "^10.4.20", | ||
"eslint": "^9.9.0", | ||
"eslint-plugin-react": "^7.35.0", | ||
"eslint-plugin-react-hooks": "^5.1.0-rc.0", | ||
"eslint-plugin-react-refresh": "^0.4.9", | ||
"globals": "^15.9.0", | ||
"postcss": "^8.4.41", | ||
"tailwindcss": "^3.4.10", | ||
"vite": "^5.4.1" | ||
} | ||
} |
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,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,172 @@ | ||
{ | ||
"version": "0.0.0", | ||
"name": "cardano-matrix", | ||
"dependencies": { | ||
"@emotion/react": { | ||
"version": "11.13.3", | ||
"resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.13.3.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"@emotion/use-insertion-effect-with-fallbacks": { | ||
"version": "1.1.0", | ||
"resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.1.0.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"@emotion/styled": { | ||
"version": "11.13.0", | ||
"resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.13.0.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"@mui/icons-material": { | ||
"version": "6.0.1", | ||
"resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-6.0.1.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"@mui/material": { | ||
"version": "6.0.0", | ||
"resolved": "https://registry.npmjs.org/@mui/material/-/material-6.0.0.tgz", | ||
"overridden": false, | ||
"invalid": "\"^6.0.1\" from node_modules/@mui/icons-material", | ||
"dependencies": { | ||
"@mui/system": { | ||
"version": "6.0.0", | ||
"resolved": "https://registry.npmjs.org/@mui/system/-/system-6.0.0.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"@mui/private-theming": { | ||
"version": "6.0.0", | ||
"resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-6.0.0.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"@mui/styled-engine": { | ||
"version": "6.0.0", | ||
"resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-6.0.0.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"@mui/utils": { | ||
"version": "6.0.0", | ||
"resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.0.0.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react-transition-group": { | ||
"version": "4.4.5", | ||
"resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"@reduxjs/toolkit": { | ||
"version": "2.2.7", | ||
"resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.7.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react-dom": { | ||
"version": "18.3.1", | ||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react-redux": { | ||
"version": "9.1.2", | ||
"resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.1.2.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
}, | ||
"use-sync-external-store": { | ||
"version": "1.2.2", | ||
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"react-router-dom": { | ||
"version": "6.26.1", | ||
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.26.1.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react-router": { | ||
"version": "6.26.1", | ||
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.26.1.tgz", | ||
"overridden": false, | ||
"dependencies": { | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react": { | ||
"version": "18.3.1" | ||
} | ||
} | ||
}, | ||
"react": { | ||
"version": "18.3.1", | ||
"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", | ||
"overridden": false | ||
} | ||
} | ||
} |
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,19 @@ | ||
import { Route, Routes } from "react-router-dom"; | ||
|
||
import About from "./pages/About"; | ||
import Home from "./pages/Home"; | ||
import ToolDetails from "./pages/ToolDetails"; | ||
|
||
function App() { | ||
return ( | ||
<Routes> | ||
<Route path="/" element={<Home />} /> | ||
|
||
<Route path="/about" element={<About />} /> | ||
|
||
<Route path="/tool/:id" element={<ToolDetails />} /> | ||
</Routes> | ||
); | ||
} | ||
|
||
export default App; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.