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

Release #234

Merged
merged 51 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
69049c2
new box link
Jun 13, 2023
843b6bc
hero
Jun 13, 2023
2a6c973
wip
Jun 13, 2023
dce285a
wip
Jun 19, 2023
172f2bf
wip
Jun 20, 2023
09776b8
integrator card
Jun 20, 2023
79daa70
lg
Jun 22, 2023
bdb425c
fix build issues
Jun 22, 2023
3879b17
update text and highlight color
Jun 22, 2023
c80982d
remove conduit - minor styling update
Jun 26, 2023
7ae82f6
update next
Jun 26, 2023
1d15723
lint update
Jun 26, 2023
00322ee
svg prop updates
Jun 26, 2023
60c7de1
finer details
Jun 26, 2023
7278230
build issue
Jun 26, 2023
82ad99f
gradients
Jun 27, 2023
9c319a5
Merge branch 'master' into feature/new-landing
Jun 27, 2023
fc4814a
add urls
Jun 27, 2023
c5e4a21
partner logos
Jun 28, 2023
31e17cd
pyth logo
Jun 28, 2023
572f741
data
Jun 29, 2023
119802d
qa wip
Jun 30, 2023
989d9b0
fix annoying issue
Jun 30, 2023
d624b55
remove old tests
Jun 30, 2023
67acc00
qa lg
Jul 2, 2023
e7d5f55
mobile qa
Jul 3, 2023
7d1feb9
mobile
Jul 3, 2023
7bd5e0c
qa feedback
Jul 4, 2023
0003b7b
fix canon
Jul 4, 2023
1cef66b
hide on undefined or null
Jul 4, 2023
7f6422e
update icons
Jul 4, 2023
41dc547
additional qa feedback
Jul 4, 2023
d141ad1
final qa
Jul 5, 2023
4de345d
update yml
Jul 5, 2023
b1437c5
card widths
Jul 5, 2023
0a1056f
move textStyles back to theme
Jul 6, 2023
18fbbc6
feedback
Jul 6, 2023
f40bc17
update typings file
Jul 6, 2023
8a4ed43
Update src/components/IntegratorCardPerps/IntegratorCardPerps.tsx
jmzwar Jul 6, 2023
aca42a8
revert
Jul 6, 2023
d86fac8
Merge branch 'feature/new-landing' of github.com:Synthetixio/syntheti…
Jul 6, 2023
5c2764d
Merge pull request #233 from Synthetixio/feature/new-landing
jmzwar Jul 6, 2023
42f3c6d
pin
Jul 6, 2023
e901b55
Merge pull request #235 from Synthetixio/update-package
jmzwar Jul 6, 2023
5e97bef
qa
Jul 6, 2023
ae6a7b5
revalidate every 10 mins
Jul 7, 2023
c464f95
add swaps data + hardcode perps v1
Jul 7, 2023
682f359
increase revalidation time
Jul 7, 2023
f3b2c78
hero image
Jul 9, 2023
8b0cc23
mobile fixes
Jul 9, 2023
1837c15
Merge pull request #236 from Synthetixio/final-qa
jmzwar Jul 9, 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
3 changes: 0 additions & 3 deletions .env

This file was deleted.

1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For Next
NEXT_PUBLIC_APP_STAGE="development"
NEXT_INFURA_PROJECT_ID=xxx
NEXT_DUNE_API_KEY=1234
35 changes: 0 additions & 35 deletions .eslint.js

This file was deleted.

4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["next/core-web-vitals", "eslint-config-prettier"],
"rules": {}
}
2 changes: 2 additions & 0 deletions .github/workflows/e2e-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
cache: 'yarn'
- run: yarn install
- run: yarn dev & yarn e2e:run
env:
NEXT_DUNE_API_KEY: ${{ vars.NEXT_DUNE_API_KEY }}
- name: Tests ✅
if: ${{ success() }}
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ tests/e2e/screenshots/
/sanity/dist

.env.local
.env

.yarn/*
.yarn/cache
Expand Down
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ console.debug(
* @type {import('next').NextConfig}
*/
module.exports = {
transpilePackages: ['@synthetixio/v3-theme'],
async generateBuildId() {
return execSync(lastCommitCommand).toString().trim();
},
Expand Down
22 changes: 10 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "next start --port 8888",
"svg": "npx svgr -d src/svg src/svg --ext tsx --template src/utils/svgTemplate.ts",
"format": "prettier --write \"**/*.{ts,tsx}\"",
"lint": "eslint . --ext ts,.tsx",
"lint:fix": "eslint . --ext ts,.tsx --fix",
"lint": "next lint",
"lint:fix": "next lint --fix",
"lint:sarif": "node ./tests/lint.js . --ext ts,.tsx && tsc",
"tsc": "tsc --noEmit",
"test": "jest",
Expand All @@ -25,7 +25,7 @@
"@emotion/styled": "^11",
"@socialgouv/matomo-next": "1.2.2",
"@synthetixio/contracts-interface": "^2.74.3",
"@synthetixio/v3-theme": "1.1.0",
"@synthetixio/v3-theme": "^3.1.1",
"@vercel/node": "^1.14.0",
"algoliasearch": "^4.13.0",
"axios": "0.23.0",
Expand All @@ -34,11 +34,12 @@
"ethers": "5.6.9",
"framer-motion": "^7",
"jsonpath": "^1.1.1",
"next": "^12.2.5",
"millify": "^6.1.0",
"next": "13.4.8",
"numeral": "2.0.6",
"prop-types": "^15.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hamburger-menu": "1.2.1",
"react-icons": "^4.3.1",
"react-instantsearch-dom": "^6.32.1",
Expand Down Expand Up @@ -79,16 +80,13 @@
"@types/styled-components": "^5.1.2",
"@types/webpack-env": "^1.15.2",
"codegen-graph-ts": "^0.1.2",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-config-next": "latest",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-testing-library": "^5.6.1",
"eslint-plugin-ui-testing": "^2.0.1",
"husky": "^7.0.4",
"jest": "^27.0.0",
"next-sitemap": "1.3.2",
"prettier": "^2.8.8",
"typescript": "^4.4.4"
},
"packageManager": "yarn@3.2.2"
Expand Down
16 changes: 15 additions & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,23 @@ import { useEffect } from 'react';

const newTheme = extendTheme({
...chakraTheme,
colors: {
...chakraTheme.colors,
navy: {
700: '#0B0B22',
900: '#06061B',
},
},
useSystemColorMode: false,
config: { initialColorMode: 'dark' },
styles: {
global: { body: { bg: 'navy.900' } },
global: {
body: { bg: 'navy.900' },
'::selection': {
bg: '#00D1FF',
color: '#000000',
},
},
},
});

Expand All @@ -37,6 +50,7 @@ export default function MyApp({ Component, pageProps }: AppProps) {
)
localStorage.setItem('chakra-ui-color-mode', 'dark');
}

return (
<ThemeProvider theme={theme}>
<Head>
Expand Down
Loading