Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Commit f2d1f0a

Browse files
committed
feat: merge upstream main to origin
2 parents d1da182 + 3b973ad commit f2d1f0a

39 files changed

+461
-213
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ yarn-debug.log*
2525
yarn-error.log*
2626

2727
# local env files
28+
.env
2829
.env.local
2930
.env.development.local
3031
.env.test.local

next.config.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,25 @@ module.exports = {
3131

3232
return config;
3333
},
34+
35+
async rewrites() {
36+
return [
37+
{
38+
source: '/api/mp/lib.min.js',
39+
destination: 'https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js',
40+
},
41+
{
42+
source: '/api/mp/lib.js',
43+
destination: 'https://cdn.mxpnl.com/libs/mixpanel-2-latest.js',
44+
},
45+
{
46+
source: '/api/mp/decide',
47+
destination: 'https://decide.mixpanel.com/decide',
48+
},
49+
{
50+
source: '/api/mp/:slug',
51+
destination: 'https://api.mixpanel.com/:slug',
52+
},
53+
];
54+
},
3455
};

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"dependencies": {
2323
"clsx": "^1.1.1",
2424
"lodash": "^4.17.21",
25+
"mixpanel-browser": "^2.45.0",
2526
"next": "^12.1.6",
2627
"react": "^18.1.0",
2728
"react-dom": "^18.1.0",
@@ -37,6 +38,7 @@
3738
"@testing-library/jest-dom": "^5.16.4",
3839
"@testing-library/react": "^13.2.0",
3940
"@types/lodash": "^4.14.182",
41+
"@types/mixpanel-browser": "^2.38.0",
4042
"@types/react": "^18.0.9",
4143
"@types/tailwindcss": "^3.0.10",
4244
"@typescript-eslint/eslint-plugin": "^5.25.0",
758 KB
Loading

public/backgrounds/analytics.png

100755100644
583 KB
Loading

public/backgrounds/coordinate-members.png

100755100644
841 KB
Loading

public/backgrounds/engage-proposals.png

100755100644
823 KB
Loading

public/backgrounds/gov-structure.png

100755100644
1.19 MB
Loading

public/backgrounds/notify-members.png

100755100644
1.01 MB
Loading

src/components/CenteredContent.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ export default function CenteredContent(props: Props) {
1111
<div
1212
className={clsxm(
1313
props.className,
14-
'max-w-[1320px]',
14+
'max-w-[1440px]',
1515
'md:px-10',
1616
'mx-auto',
17-
'px-5',
1817
'w-full'
1918
)}
2019
>

0 commit comments

Comments
 (0)