Skip to content
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
20 changes: 10 additions & 10 deletions mars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
},
"browserslist": "defaults, not ie <= 11",
"dependencies": {
"@headlessui/react": "^2.1.0",
"@headlessui/react": "^2.2.0",
"@headlessui/tailwindcss": "^0.2.1",
"@next/third-parties": "^14.2.4",
"@tailwindcss/forms": "^0.5.7",
"@vercel/analytics": "^1.3.1",
"autoprefixer": "^10.4.19",
"@next/third-parties": "^15.0.3",
"@tailwindcss/forms": "^0.5.9",
"@vercel/analytics": "^1.4.1",
"autoprefixer": "^10.4.20",
"clsx": "^2.1.1",
"framer-motion": "^11.2.11",
"next": "^14.2.4",
"framer-motion": "^11.11.17",
"next": "^15.0.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-inlinesvg": "^4.1.3",
"tailwindcss": "^3.4.4",
"use-debounce": "^10.0.1"
"react-inlinesvg": "^4.1.5",
"tailwindcss": "^3.4.15",
"use-debounce": "^10.0.4"
},
"devDependencies": {
"eslint": "^8.56.0",
Expand Down
244 changes: 0 additions & 244 deletions mars/src/components/AppDemo.jsx

This file was deleted.

24 changes: 0 additions & 24 deletions mars/src/components/AppStoreLink.jsx

This file was deleted.

4 changes: 2 additions & 2 deletions mars/src/components/CallToAction.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppStoreLink } from '@/components/AppStoreLink'
import { GitHubLink } from '@/components/GitHubLink'
import { CircleBackground } from '@/components/CircleBackground'
import { Container } from '@/components/Container'

Expand All @@ -22,7 +22,7 @@ export function CallToAction() {
first investment.
</p>
<div className="mt-8 flex justify-center">
<AppStoreLink color="white" />
<GitHubLink color="white" />
</div>
</div>
</Container>
Expand Down
24 changes: 24 additions & 0 deletions mars/src/components/GitHubLink.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import Link from 'next/link'

import clsx from 'clsx'

export function GitHubLink({ color = 'black' }) {
return (
<Link
href="https://github.com/web3infra-foundation/mega"
aria-label="Visit GitHub Repository"
className={clsx(
'rounded-lg transition-colors',
color === 'black'
? 'bg-gray-800 text-white hover:bg-gray-900'
: 'bg-white text-gray-900 hover:bg-gray-50',
)}
>
<svg viewBox="0 0 120 40" aria-hidden="true" className="h-10">
<path transform="translate(10,-19) scale(1.2)" fill="currentColor" d="M12.769 20.301a12 12 0 0 0-3.8 23.4c.6.1.8-.3.8-.6v-2.2c-3.3.7-4-1.6-4-1.6-.5-1.4-1.3-1.8-1.3-1.8-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1.1 1.8 2.8 1.3 3.5 1 .1-.8.4-1.3.8-1.6-2.7-.3-5.5-1.3-5.5-5.9 0-1.3.5-2.4 1.2-3.2-.1-.3-.5-1.5.1-3.2 0 0 1-.3 3.3 1.2a11.5 11.5 0 0 1 6 0c2.3-1.5 3.3-1.2 3.3-1.2.7 1.7.2 2.9.1 3.2.8.8 1.2 1.9 1.2 3.2 0 4.6-2.8 5.6-5.5 5.9.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6a12 12 0 0 0-3.8-23.4z"/>
<text x="48" y="27" fill="currentColor" fontSize="20" fontWeight="bold" fontFamily="system-ui">MEGA</text>
</svg>

</Link>
)
}
Loading