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

chore: web v2 #45

Merged
merged 39 commits into from
Jul 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
6615f09
feat: navigator (#2)
turtlemoji Jan 26, 2023
b519e39
chore: set some measures and css variables as tsc variables (#3)
0xArdy Jan 27, 2023
1ff068c
feat: team grid (#4)
0xArdy Jan 31, 2023
9c9e8c7
feat: portfolio setup (#5)
0xArdy Jan 31, 2023
b8f9693
feat: responsive navbar (#6)
0xArdy Jan 31, 2023
f74d857
feat: title animation (#7)
0xArdy Feb 2, 2023
e703605
feat: landing page setup (#8)
0xArdy Feb 7, 2023
f549901
feat: blog setup (#10)
0xArdy Feb 7, 2023
ccf95d3
feat: blinking stars background (#11)
0xArdy Feb 8, 2023
70ca4b0
feat: projects details (#13)
0xArdy Feb 9, 2023
25e6b98
fix: background (#16)
0xArdy Feb 9, 2023
2cc257f
feat: gradient color on navbar links (#12)
0xArdy Feb 9, 2023
f6389be
style: add stars to lore page (#14)
0xArdy Feb 13, 2023
27629ac
feat: titles mobile responsive (#15)
0xArdy Feb 13, 2023
5fd7b3a
fix: navbar links gradient (#18)
0xArdy Feb 13, 2023
95cb2ed
feat: landing page mobile responsive (#17)
0xArdy Feb 15, 2023
ad9b742
feat: portfolio descriptions (#19)
0xArdy Feb 15, 2023
eeb10aa
fix: font not loading on safari and update yarn.lock (#23)
0xArdy Feb 15, 2023
4c70a1b
feat: team animation (#22)
0xArdy Feb 16, 2023
4985f73
feat: blog page improvements (#21)
0xArdy Feb 16, 2023
93efbd7
fix: landing content margins (#25)
0xArdy Feb 20, 2023
c02b079
chore: remove sass dependency (#24)
0xArdy Feb 20, 2023
b914e44
feat: intro animation (#20)
0xArdy Feb 21, 2023
f13a016
feat: blog redesign (#26)
0xArdy Feb 27, 2023
733ef03
feat: card flip effect in team page (#27)
0xArdy Feb 27, 2023
e537ffb
style: better background effect in lore page and other improvements (…
0xArdy Feb 28, 2023
9202bdc
feat: blog improvements (#30)
0xArdy Feb 28, 2023
51896ae
chore: add readme (#28)
0xArdy Mar 2, 2023
e73c801
feat: merge intro page with landing page (#35)
0xArdy Mar 2, 2023
24b3d06
feat: better member animation and other fixes (#34)
0xArdy Mar 2, 2023
082a463
feat: sequential loading in intro animation (#37)
0xArdy Mar 3, 2023
2beb39f
build: eslint and prettier (#38)
0xArdy Mar 3, 2023
c0cf01f
fix: remove main titles animation on mobile (#36)
0xArdy Mar 3, 2023
70e48fc
chore: some optimizations and member info update (#39)
0xArdy Mar 30, 2023
6a78f82
feat: remove bottler (#40)
0xArdy Jun 30, 2023
30bae86
fix: data and image height (#41)
0xArdy Jun 30, 2023
e13bdfc
fix: buttons (#42)
0xArdy Jun 30, 2023
ed9ee51
refactor: data (#43)
0xGorilla Jul 1, 2023
c1f0445
refactor: navigation and texts (#44)
0xGorilla Jul 2, 2023
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
48 changes: 48 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
"plugin:react/jsx-runtime",
"plugin:prettier/recommended",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"import",
"jsx-a11y",
"react-hooks",
"prettier"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],

"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
yarn.lock
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"tabWidth": 2,
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all",
"jsxSingleQuote": true,
"bracketSpacing": true
}
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<p align="center">
<a href="https://defi.sucks" display='flex' place-items='center'>
<img src="./public/intro.png">
</a>
</p>

<div align="center">

**[Website](https://defi.sucks) •
[Twitter](https://twitter.com/DeFi_Wonderland) •
[Github](https://github.com/defi-wonderland)**

</div>

## About Wonderland

Wonderland is a team of top Web3 researchers, developers, and operators who believe that the future needs to be open-source, permissionless, and decentralized.

[DeFi sucks](https://defi.sucks/), but we are here to make it better.

## Setup

```sh
git clone git@github.com:defi-wonderland/web.git
cd web
yarn
```

## Development:

```bash
yarn dev
```

The app should be live at [http://localhost:5173/](http://localhost:5173/)

## Production

```
yarn build
yarn preview
```

The app should be live at [http://localhost:4173/](http://localhost:4173/)
50 changes: 27 additions & 23 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,37 @@
<meta charset="UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow">
<meta name="keywords" content="DeFi Wonderland, Defi, decentralized finance, activist fund, ethereum, solidity, devs">
<meta name="description" content="Wonderland is an activist fund, as such, our goal is to join forces with the best builders in the world to shape the future of the web. We believe this future needs to be open-source, permissionless, and decentralized, and we strive towards that goal.">
<meta name="author" content="DeFi Wonderland">
<meta property="og:url" content="https://defi.sucks">
<meta property="og:type" content="website">
<meta property="og:title" content="DeFi Wonderland">
<meta property="og:description" content="Wonderland is an activist fund, as such, our goal is to join forces with the best builders in the world to shape the future of the web. We believe this future needs to be open-source, permissionless, and decentralized, and we strive towards that goal.">
<meta property="og:image" content="https://defi.sucks/share.jpg">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@DeFi_wonderlnad">
<meta name="twitter:creator" content="@DeFi_wonderland">
<meta name="twitter:title" content="DeFi Wonderland">
<meta name="twitter:description" content="Wonderland is an activist fund, as such, our goal is to join forces with the best builders in the world to shape the future of the web. We believe this future needs to be open-source, permissionless, and decentralized, and we strive towards that goal.">
<meta name="twitter:image" content="https://defi.sucks/share.jpg">
<meta name="theme-color" content="#10152A">

<meta name="robots" content="index, follow" />
<meta name="keywords" content="Wonderland, Defi, decentralized finance, activist fund, ethereum, solidity, devs" />
<meta
name="description"
content="Wonderland is the largest core development group in Web3. We partner up with the best protocols in the world, including, among others: Optimism, Connext, and Reflexer."
/>
<meta name="author" content="Wonderland" />
<meta property="og:url" content="https://defi.sucks" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Wonderland" />
<meta
property="og:description"
content="Wonderland is the largest core development group in Web3. We partner up with the best protocols in the world, including, among others: Optimism, Connext, and Reflexer."
/>
<meta property="og:image" content="https://defi.sucks/share.jpg" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@DeFi_wonderlnad" />
<meta name="twitter:creator" content="@DeFi_wonderland" />
<meta name="twitter:title" content="Wonderland" />
<meta
name="twitter:description"
content="Wonderland is the largest core development group in Web3. We partner up with the best protocols in the world, including, among others: Optimism, Connext, and Reflexer."
/>
<meta name="twitter:image" content="https://defi.sucks/share.jpg" />
<meta name="theme-color" content="#10152A" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />

<script src="/libs/blotter.min.js"></script>
<!-- <script src="/libs/rollingDistortMaterial.js"></script> -->
<script src="/libs/liquidDistortMaterial.js"></script>

<title>DeFi Wonderland</title>
<title>Wonderland</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script async type="module" src="/src/main.tsx"></script>
</body>
</html>
54 changes: 38 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,47 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"lint": "npx eslint ./src/",
"lint:fix": "npm run lint -- --fix",
"prettier": "npx prettier src --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"styled-components": "^5.3.5",
"fontfaceobserver": "^2.3.0"

"fontfaceobserver": "2.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-draggable": "4.4.5",
"react-markdown": "8.0.5",
"react-responsive-carousel": "3.2.23",
"react-router-dom": "6.8.0",
"react-transition-group": "4.4.5",
"rehype-katex": "6.0.2",
"rehype-raw": "6.1.1",
"remark-math": "5.1.1",
"styled-components": "5.3.5"
},
"devDependencies": {
"@types/fontfaceobserver": "^2.1.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.25",
"@vitejs/plugin-react": "^2.0.0",
"typescript": "^4.6.4",
"vite": "^3.0.0",
"vite-tsconfig-paths": "^3.5.0"
"@types/fontfaceobserver": "2.1.0",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"@types/react-router-dom": "5.3.3",
"@types/react-transition-group": "4.4.5",
"@types/styled-components": "5.1.25",
"@typescript-eslint/eslint-plugin": "5.48.1",
"@typescript-eslint/parser": "5.48.1",
"@vitejs/plugin-react": "2.0.0",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.0",
"eslint-plugin-react-hooks": "4.6.0",
"prettier": "2.8.4",
"typescript": "4.6.4",
"vite": "3.0.0",
"vite-tsconfig-paths": "3.5.0"
}
}
Loading