Skip to content

Commit fda3aeb

Browse files
committed
feat(minajs): adjust landing
1 parent c61b829 commit fda3aeb

File tree

7 files changed

+36
-10
lines changed

7 files changed

+36
-10
lines changed

apps/docs/docs/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Footer = () => {
66
href="https://palladians.xyz"
77
target="_blank"
88
rel="noopener noreferrer"
9-
className="vocs_HomePage_packageManager underline"
9+
className="vocs_HomePage_packageManager underline font-semibold"
1010
>
1111
Palladians
1212
</a>

apps/docs/docs/pages/index.mdx

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,29 @@ layout: landing
33
---
44

55
import { HomePage } from 'vocs/components'
6+
import { GithubIcon } from 'lucide-react'
67

78
<div className="flex flex-col mt-16 gap-16">
89
<header className="flex flex-col gap-8">
9-
<img src="/logo.svg" className="w-16 lg:w-24 hidden dark:flex" />
10-
<img src="/logo.svg" className="w-16 lg:w-24 flex dark:hidden" />
11-
<h1 className="font-bold text-3xl lg:text-6xl leading-[3rem] lg:leading-[5rem]">The TypeScript interface for Mina Protocol.</h1>
10+
<img src="/logo.svg" className="w-16 lg:w-24 invert dark:invert-0" />
11+
<h1 className="font-bold text-3xl lg:text-6xl leading-[3rem] lg:leading-[5rem]">The TypeScript interface for <span className="bg-clip-text text-transparent bg-gradient-to-r from-indigo-400 to-fuchsia-400 dark:from-indigo-300 dark:to-fuchsia-200">Mina Protocol</span>.</h1>
1212
<p className="text-lg lg:text-xl">MinaJS is the missing piece for your smooth zkApp development on Mina.</p>
1313
<div className="flex gap-2">
1414
<a href="/getting-started" className="btn lg:btn-lg btn-primary rounded-full">Get Started</a>
15-
<a href="https://github.com/palladians/mina-js" target="_blank" rel="noopener noreferrer" className="btn lg:btn-lg btn-outline rounded-full">GitHub</a>
15+
<a href="https://github.com/palladians/mina-js" target="_blank" rel="noopener noreferrer" className="btn lg:btn-lg btn-outline border-neutral text-neutral dark:border-primary dark:text-primary rounded-full">
16+
<GithubIcon />
17+
<span>GitHub</span>
18+
</a>
1619
</div>
1720
</header>
1821
<section>
1922
<iframe src="https://stackblitz.com/edit/minajs?embed=1&file=index.ts&hideExplorer=1&theme=dark&view=editor" className="w-full h-[500px] border-0 rounded-lg overflow-hidden" />
2023
</section>
21-
<section className="card bg-neutral">
24+
<section className="card dark:bg-neutral bg-primary">
2225
<div className="card-body gap-8">
2326
<div className="flex justify-between items-center">
24-
<h2 className="text-2xl font-semibold">Sponsors</h2>
25-
<a target="_blank" href="https://github.com/sponsors/palladians" rel="noopener noreferrer" className="btn btn-outline rounded-full">Become a sponsor</a>
27+
<h2 className="text-2xl font-semibold text-white">Sponsors</h2>
28+
<a target="_blank" href="https://github.com/sponsors/palladians" rel="noopener noreferrer" className="btn btn-outline rounded-full border-white text-white">Become a sponsor</a>
2629
</div>
2730
<div className="grid grid-cols-2 lg:grid-cols-4 gap-8">
2831
<a href="https://palladians.xyz" target="_blank" rel="noopener noreferrer">

apps/docs/docs/public/logo-round.svg

Lines changed: 19 additions & 0 deletions
Loading

apps/docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"dependencies": {
1111
"@types/react": "latest",
12+
"lucide-react": "^0.438.0",
1213
"react": "latest",
1314
"react-dom": "latest",
1415
"typescript": "latest",

apps/docs/tailwind.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @type {import('tailwindcss').Config} */
22
module.exports = {
3-
darkMode: ["class"],
3+
darkMode: ["selector", "html.dark"],
44
daisyui: {
55
themes: [
66
{

apps/docs/vocs.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import { defineConfig } from "vocs";
33
export default defineConfig({
44
title: "MinaJS",
55
description: "The TypeScript interface for Mina Protocol.",
6-
logoUrl: "/logo.svg",
6+
logoUrl: {
7+
light: "/logo-inverted.svg",
8+
dark: "/logo.svg",
9+
},
710
font: {
811
google: "DM Sans",
912
},

bun.lockb

424 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)