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: update landing page design #281

Merged
merged 9 commits into from
Dec 10, 2024
Merged
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
27 changes: 0 additions & 27 deletions .github/workflows/landing-page.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion extension/src/components/buttons/PrimaryButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export const PrimaryLinkButton = ({
className={cn(
'font-bold',
style === 'regular' &&
'border-zinc border-zinc-500 bg-zinc-700 text-zinc-50 hover:bg-zinc-600'
'border-transparent bg-zinc-900 text-zinc-50 hover:bg-zinc-800 dark:border-zinc-500 dark:bg-zinc-700 dark:hover:bg-zinc-600',
style === 'contrast' &&
'border-transparent border-zinc-500 bg-zinc-700 hover:bg-zinc-600 dark:bg-zinc-900 dark:text-zinc-50 dark:hover:bg-zinc-800'
)}
/>
)
3 changes: 2 additions & 1 deletion landing-page/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.env
*.log
build
build
dist
5 changes: 0 additions & 5 deletions landing-page/.prettierrc

This file was deleted.

13 changes: 13 additions & 0 deletions landing-page/.prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/** @type {import("prettier").Options} */
// eslint-disable-next-line no-undef
module.exports = {
semi: false,
singleQuote: true,
trailingComma: 'es5',
plugins: [
// eslint-disable-next-line no-undef
require.resolve('prettier-plugin-organize-imports'),
// eslint-disable-next-line no-undef
require.resolve('prettier-plugin-tailwindcss'),
],
}
22 changes: 22 additions & 0 deletions landing-page/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!doctype html>
<html
lang="en"
class="min-h-full bg-gradient-to-b from-white to-zinc-50 text-base dark:from-zinc-950 dark:via-zinc-950 dark:to-gray-900"
>
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Zodiac Pilot — Batch and simulate transactions"
/>

<title>Zodiac Pilot</title>
</head>
<body class="h-full text-zinc-900 dark:text-white">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root" class="flex h-full flex-col"></div>
<script type="module" src="./src/index.tsx" defer></script>
</body>
</html>
40 changes: 21 additions & 19 deletions landing-page/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
{
"name": "zodiac-pilot-landing-page",
"version": "0.1.0",
"name": "@zodiac-os/pilot-landing-page",
"version": "0.0.0-development",
"private": true,
"dependencies": {
"@gnosis.pm/safe-react-components": "^1.1.2",
"@material-ui/core": "^4.12.4",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/node": "^16.11.27",
"@icons-pack/react-simple-icons": "^10.2.0",
"@types/react": "^18.0.5",
"@types/react-dom": "^18.0.1",
"@types/styled-components": "^5.1.25",
"lucide-react": "^0.468.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-scripts": "5.0.1",
"styled-components": "^5.3.5",
"typescript": "^4.6.3",
"web-vitals": "^2.1.4",
"zodiac-ui-components": "^0.0.28"
"web-vitals": "2.1.4"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.14",
"typescript": "5.7.2",
"vite": "^6.0.3",
"vite-plugin-open-graph": "^2.0.6"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject"
"start": "vite",
"build": "vite build"
},
"eslintConfig": {
"extends": [
Expand All @@ -43,5 +44,6 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"packageManager": "pnpm@9.15.0"
}
Loading
Loading