Skip to content

Commit

Permalink
Merge pull request #8 from near/develop
Browse files Browse the repository at this point in the history
Sync Main
  • Loading branch information
calebjacob authored Apr 11, 2024
2 parents 9cd18a3 + 7dd6b22 commit b626e50
Show file tree
Hide file tree
Showing 102 changed files with 564 additions and 44 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run pre-commit
1 change: 0 additions & 1 deletion nearorg_marketing
Submodule nearorg_marketing deleted from 69df2b
21 changes: 14 additions & 7 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ const nextConfig = {
destination: 'https://nearconsensus2023.splashthat.com/',
permanent: false,
},
{
source: '/cookies',
destination: `${appGatewayHostname}/cookies`,
permanent: true,
},
{
source: '/da',
destination: '/data-availability',
Expand Down Expand Up @@ -153,17 +158,19 @@ const nextConfig = {
{
source: '/blog/:path*',
destination: '/blog/:path*/index.html',
}
},
],
headers: async () => [
{
source: '/:path*',
headers: [{
source: '/:path*',
headers: [
{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin'
}]
}
]
value: 'strict-origin-when-cross-origin',
},
],
},
],
};

module.exports = nextConfig;
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"prettier": "prettier --check 'src/**/*.{js,jsx,ts,tsx,json}'",
"prettier:write": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json}'",
"ts:check": "tsc --noEmit --incremental",
"precommit": "npm run lint && npm run prettier:write && npm run ts:check",
"sync-submodules": "git submodule init && git submodule update"
"pre-commit": "npm run lint && npm run prettier:write && npm run ts:check",
"sync-submodules": "git submodule init && git submodule update",
"prepare": "husky"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.1.2",
Expand All @@ -29,6 +30,7 @@
"eslint-config-next": "14.1.4",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"typescript": "^5"
},
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/data-availability/starknet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit b626e50

Please sign in to comment.