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

Pontus-X deployment #82

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules/
*.log
.idea

# Local Netlify folder
.netlify
3 changes: 3 additions & 0 deletions frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ clean:

veryclean: clean
rm -rf node_modules

deploy-pontusxtest: build-pontusxtest
./node_modules/.bin/netlify deploy --dir=frontend/dist --prod
10 changes: 5 additions & 5 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<link rel="shortcut icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Oasis Blockvote, a poll creation tool for your DAO">
<meta property="og:title" content="Oasis Blockvote, a poll creation tool for your DAO">
<meta name="twitter:title" content="Pontus-X Blockvote, a poll creation tool for your DAO">
<meta property="og:title" content="Pontus-X Blockvote, a poll creation tool for your DAO">
<meta name="twitter:description" content="Create polls for everyone or just your group, with public results but cryptographically secure and private votes.">
<meta property="og:description" content="Create polls for everyone or just your group, with public results but cryptographically secure and private votes.">
<meta name="twitter:image" content="%VITE_APP_ROOT_URL%/thumbnail2.png">
<meta property="og:image" content="%VITE_APP_ROOT_URL%/thumbnail2.png">
<meta name="twitter:image" content="%VITE_APP_ROOT_URL%/thumbnail4.png">
<meta property="og:image" content="%VITE_APP_ROOT_URL%/thumbnail4.png">
<link rel="canonical" href="%VITE_APP_ROOT_URL%">
<meta property="og:url" content="%VITE_APP_ROOT_URL%">
<title>Oasis Blockvote</title>
<title>Pontus-X Blockvote</title>
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "^4.6.2",
"glob": "^10.3.10",
"netlify-cli": "^17.36.4",
"prettier": "^3.3.3",
"rollup-plugin-visualizer": "^5.12.0",
"typescript": "^5.6.2",
Expand Down
Binary file removed frontend/public/thumbnail2.png
Binary file not shown.
Binary file added frontend/public/thumbnail4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion frontend/src/components/Layout/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

.landingLayout {
height: 100dvh;
background-image: url('background.svg');
/*background-image: url('background.svg');*/
background-size: 2000px 2000px;
background-position: center center;
background-repeat: no-repeat;
Expand Down
153 changes: 124 additions & 29 deletions frontend/src/components/icons/LogoIcon.tsx

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions frontend/src/components/metatags/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export const defaultMetatags: ReactNode[] = [
<meta key="twitter-key" name="twitter:card" content="summary_large_image" />,
<meta key="twitter-desc" name="twitter:description" content={appDescription} />,
<meta key="og-desc" property="og:description" content={appDescription} />,
<meta key="twitter-image" name="twitter:image" content={`${appRootUrl}/thumbnail2.png`} />,
<meta key="og-image" property="og:image" content={`${appRootUrl}/thumbnail2.png`} />,
<meta key="twitter-image" name="twitter:image" content={`${appRootUrl}/thumbnail4.png`} />,
<meta key="og-image" property="og:image" content={`${appRootUrl}/thumbnail4.png`} />,
]
4 changes: 2 additions & 2 deletions frontend/src/constants/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export const designDecisions = {
hidePollCardsWithErrors: true,
}

export const appName = 'Oasis Blockvote'
export const appNameAndTagline = 'Oasis Blockvote, a poll creation tool for your DAO'
export const appName = 'Pontus-X Blockvote'
export const appNameAndTagline = 'Pontus-X Blockvote, a poll creation tool for your DAO'
export const appDescription =
'Create polls for everyone or just your group, with public results but cryptographically secure and private votes.'
export const appRootUrl = VITE_APP_ROOT_URL
Expand Down
Loading