create-lightning-scaffold 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +65 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +335 -0
- package/package.json +55 -0
- package/templates/backend/firebase/index.ts +25 -0
- package/templates/backend/firebase/package.json.ejs +8 -0
- package/templates/backend/supabase/index.ts +16 -0
- package/templates/backend/supabase/package.json.ejs +8 -0
- package/templates/base/.env.example.ejs +18 -0
- package/templates/components/nativewind-ui/button.tsx +25 -0
- package/templates/components/nativewind-ui/card.tsx +17 -0
- package/templates/components/nativewind-ui/index.ts +2 -0
- package/templates/components/shadcn/button.tsx +15 -0
- package/templates/components/shadcn/card.tsx +19 -0
- package/templates/components/shadcn/index.ts +2 -0
- package/templates/examples/mobile/biometric-onboard.tsx +104 -0
- package/templates/examples/mobile/gasless-transfer.tsx +72 -0
- package/templates/examples/mobile/index.tsx +30 -0
- package/templates/examples/mobile/passkey-login.tsx +55 -0
- package/templates/examples/web/biometric-onboard/page.tsx +70 -0
- package/templates/examples/web/gasless-transfer/page.tsx +85 -0
- package/templates/examples/web/page.tsx +27 -0
- package/templates/examples/web/passkey-login/page.tsx +50 -0
- package/templates/lib/lazorkit/mobile/index.ts +53 -0
- package/templates/lib/lazorkit/web/index.ts +67 -0
- package/templates/mobile/.vscode/extensions.json +1 -0
- package/templates/mobile/.vscode/settings.json +7 -0
- package/templates/mobile/app/(tabs)/_layout.tsx +59 -0
- package/templates/mobile/app/(tabs)/index.tsx +31 -0
- package/templates/mobile/app/(tabs)/two.tsx +31 -0
- package/templates/mobile/app/+html.tsx +38 -0
- package/templates/mobile/app/+not-found.tsx +40 -0
- package/templates/mobile/app/_layout.tsx +59 -0
- package/templates/mobile/app/modal.tsx +35 -0
- package/templates/mobile/app.json.ejs +38 -0
- package/templates/mobile/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/templates/mobile/assets/images/adaptive-icon.png +0 -0
- package/templates/mobile/assets/images/favicon.png +0 -0
- package/templates/mobile/assets/images/icon.png +0 -0
- package/templates/mobile/assets/images/splash-icon.png +0 -0
- package/templates/mobile/components/EditScreenInfo.tsx +77 -0
- package/templates/mobile/components/ExternalLink.tsx +25 -0
- package/templates/mobile/components/StyledText.tsx +5 -0
- package/templates/mobile/components/Themed.tsx +45 -0
- package/templates/mobile/components/__tests__/StyledText-test.js +10 -0
- package/templates/mobile/components/useClientOnlyValue.ts +4 -0
- package/templates/mobile/components/useClientOnlyValue.web.ts +12 -0
- package/templates/mobile/components/useColorScheme.ts +1 -0
- package/templates/mobile/components/useColorScheme.web.ts +8 -0
- package/templates/mobile/constants/Colors.ts +19 -0
- package/templates/mobile/lib/lazorkit/index.ts +53 -0
- package/templates/mobile/package.json.ejs +40 -0
- package/templates/mobile/tsconfig.json +17 -0
- package/templates/state/redux/index.ts +30 -0
- package/templates/state/zustand/index.ts +16 -0
- package/templates/styling/nativewind/global.css +3 -0
- package/templates/styling/nativewind/tailwind.config.js +7 -0
- package/templates/web/README.md +36 -0
- package/templates/web/app/favicon.ico +0 -0
- package/templates/web/app/globals.css +26 -0
- package/templates/web/app/layout.tsx.ejs +32 -0
- package/templates/web/app/page.tsx +65 -0
- package/templates/web/eslint.config.mjs +18 -0
- package/templates/web/lib/lazorkit/index.ts +67 -0
- package/templates/web/next.config.ts +7 -0
- package/templates/web/package.json.ejs +28 -0
- package/templates/web/postcss.config.mjs +7 -0
- package/templates/web/public/file.svg +1 -0
- package/templates/web/public/globe.svg +1 -0
- package/templates/web/public/next.svg +1 -0
- package/templates/web/public/vercel.svg +1 -0
- package/templates/web/public/window.svg +1 -0
- package/templates/web/tailwind.config.ts +14 -0
- package/templates/web/tsconfig.json +34 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { configureStore, createSlice, PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
+
import { useDispatch, useSelector, TypedUseSelectorHook } from "react-redux";
|
|
3
|
+
import type { LazorWallet } from "../lazorkit";
|
|
4
|
+
|
|
5
|
+
interface AppState {
|
|
6
|
+
wallet: LazorWallet | null;
|
|
7
|
+
isLoading: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const appSlice = createSlice({
|
|
11
|
+
name: "app",
|
|
12
|
+
initialState: { wallet: null, isLoading: false } as AppState,
|
|
13
|
+
reducers: {
|
|
14
|
+
setWallet: (state, action: PayloadAction<LazorWallet | null>) => {
|
|
15
|
+
state.wallet = action.payload;
|
|
16
|
+
},
|
|
17
|
+
setLoading: (state, action: PayloadAction<boolean>) => {
|
|
18
|
+
state.isLoading = action.payload;
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
export const { setWallet, setLoading } = appSlice.actions;
|
|
24
|
+
|
|
25
|
+
export const store = configureStore({ reducer: { app: appSlice.reducer } });
|
|
26
|
+
|
|
27
|
+
export type RootState = ReturnType<typeof store.getState>;
|
|
28
|
+
export type AppDispatch = typeof store.dispatch;
|
|
29
|
+
export const useAppDispatch: () => AppDispatch = useDispatch;
|
|
30
|
+
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { create } from "zustand";
|
|
2
|
+
import type { LazorWallet } from "../lazorkit";
|
|
3
|
+
|
|
4
|
+
interface AppState {
|
|
5
|
+
wallet: LazorWallet | null;
|
|
6
|
+
setWallet: (wallet: LazorWallet | null) => void;
|
|
7
|
+
isLoading: boolean;
|
|
8
|
+
setLoading: (loading: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const useStore = create<AppState>((set) => ({
|
|
12
|
+
wallet: null,
|
|
13
|
+
setWallet: (wallet) => set({ wallet }),
|
|
14
|
+
isLoading: false,
|
|
15
|
+
setLoading: (isLoading) => set({ isLoading }),
|
|
16
|
+
}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
|
2
|
+
|
|
3
|
+
## Getting Started
|
|
4
|
+
|
|
5
|
+
First, run the development server:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm run dev
|
|
9
|
+
# or
|
|
10
|
+
yarn dev
|
|
11
|
+
# or
|
|
12
|
+
pnpm dev
|
|
13
|
+
# or
|
|
14
|
+
bun dev
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
18
|
+
|
|
19
|
+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
20
|
+
|
|
21
|
+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
|
|
22
|
+
|
|
23
|
+
## Learn More
|
|
24
|
+
|
|
25
|
+
To learn more about Next.js, take a look at the following resources:
|
|
26
|
+
|
|
27
|
+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
|
28
|
+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
29
|
+
|
|
30
|
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
|
31
|
+
|
|
32
|
+
## Deploy on Vercel
|
|
33
|
+
|
|
34
|
+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
|
35
|
+
|
|
36
|
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
|
Binary file
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--background: #ffffff;
|
|
5
|
+
--foreground: #171717;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@theme inline {
|
|
9
|
+
--color-background: var(--background);
|
|
10
|
+
--color-foreground: var(--foreground);
|
|
11
|
+
--font-sans: var(--font-geist-sans);
|
|
12
|
+
--font-mono: var(--font-geist-mono);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media (prefers-color-scheme: dark) {
|
|
16
|
+
:root {
|
|
17
|
+
--background: #0a0a0a;
|
|
18
|
+
--foreground: #ededed;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
body {
|
|
23
|
+
background: var(--background);
|
|
24
|
+
color: var(--foreground);
|
|
25
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Metadata } from "next";
|
|
2
|
+
import { Geist, Geist_Mono } from "next/font/google";
|
|
3
|
+
import "./globals.css";
|
|
4
|
+
|
|
5
|
+
const geistSans = Geist({
|
|
6
|
+
variable: "--font-geist-sans",
|
|
7
|
+
subsets: ["latin"],
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const geistMono = Geist_Mono({
|
|
11
|
+
variable: "--font-geist-mono",
|
|
12
|
+
subsets: ["latin"],
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export const metadata: Metadata = {
|
|
16
|
+
title: "<%= name %>",
|
|
17
|
+
description: "Built with create-lightning-scaffold and LazorKit",
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default function RootLayout({
|
|
21
|
+
children,
|
|
22
|
+
}: Readonly<{
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
}>) {
|
|
25
|
+
return (
|
|
26
|
+
<html lang="en">
|
|
27
|
+
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
|
28
|
+
{children}
|
|
29
|
+
</body>
|
|
30
|
+
</html>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import Image from "next/image";
|
|
2
|
+
|
|
3
|
+
export default function Home() {
|
|
4
|
+
return (
|
|
5
|
+
<div className="flex min-h-screen items-center justify-center bg-zinc-50 font-sans dark:bg-black">
|
|
6
|
+
<main className="flex min-h-screen w-full max-w-3xl flex-col items-center justify-between py-32 px-16 bg-white dark:bg-black sm:items-start">
|
|
7
|
+
<Image
|
|
8
|
+
className="dark:invert"
|
|
9
|
+
src="/next.svg"
|
|
10
|
+
alt="Next.js logo"
|
|
11
|
+
width={100}
|
|
12
|
+
height={20}
|
|
13
|
+
priority
|
|
14
|
+
/>
|
|
15
|
+
<div className="flex flex-col items-center gap-6 text-center sm:items-start sm:text-left">
|
|
16
|
+
<h1 className="max-w-xs text-3xl font-semibold leading-10 tracking-tight text-black dark:text-zinc-50">
|
|
17
|
+
To get started, edit the page.tsx file.
|
|
18
|
+
</h1>
|
|
19
|
+
<p className="max-w-md text-lg leading-8 text-zinc-600 dark:text-zinc-400">
|
|
20
|
+
Looking for a starting point or more instructions? Head over to{" "}
|
|
21
|
+
<a
|
|
22
|
+
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
23
|
+
className="font-medium text-zinc-950 dark:text-zinc-50"
|
|
24
|
+
>
|
|
25
|
+
Templates
|
|
26
|
+
</a>{" "}
|
|
27
|
+
or the{" "}
|
|
28
|
+
<a
|
|
29
|
+
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
30
|
+
className="font-medium text-zinc-950 dark:text-zinc-50"
|
|
31
|
+
>
|
|
32
|
+
Learning
|
|
33
|
+
</a>{" "}
|
|
34
|
+
center.
|
|
35
|
+
</p>
|
|
36
|
+
</div>
|
|
37
|
+
<div className="flex flex-col gap-4 text-base font-medium sm:flex-row">
|
|
38
|
+
<a
|
|
39
|
+
className="flex h-12 w-full items-center justify-center gap-2 rounded-full bg-foreground px-5 text-background transition-colors hover:bg-[#383838] dark:hover:bg-[#ccc] md:w-[158px]"
|
|
40
|
+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
41
|
+
target="_blank"
|
|
42
|
+
rel="noopener noreferrer"
|
|
43
|
+
>
|
|
44
|
+
<Image
|
|
45
|
+
className="dark:invert"
|
|
46
|
+
src="/vercel.svg"
|
|
47
|
+
alt="Vercel logomark"
|
|
48
|
+
width={16}
|
|
49
|
+
height={16}
|
|
50
|
+
/>
|
|
51
|
+
Deploy Now
|
|
52
|
+
</a>
|
|
53
|
+
<a
|
|
54
|
+
className="flex h-12 w-full items-center justify-center rounded-full border border-solid border-black/[.08] px-5 transition-colors hover:border-transparent hover:bg-black/[.04] dark:border-white/[.145] dark:hover:bg-[#1a1a1a] md:w-[158px]"
|
|
55
|
+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
|
56
|
+
target="_blank"
|
|
57
|
+
rel="noopener noreferrer"
|
|
58
|
+
>
|
|
59
|
+
Documentation
|
|
60
|
+
</a>
|
|
61
|
+
</div>
|
|
62
|
+
</main>
|
|
63
|
+
</div>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig, globalIgnores } from "eslint/config";
|
|
2
|
+
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
3
|
+
import nextTs from "eslint-config-next/typescript";
|
|
4
|
+
|
|
5
|
+
const eslintConfig = defineConfig([
|
|
6
|
+
...nextVitals,
|
|
7
|
+
...nextTs,
|
|
8
|
+
// Override default ignores of eslint-config-next.
|
|
9
|
+
globalIgnores([
|
|
10
|
+
// Default ignores of eslint-config-next:
|
|
11
|
+
".next/**",
|
|
12
|
+
"out/**",
|
|
13
|
+
"build/**",
|
|
14
|
+
"next-env.d.ts",
|
|
15
|
+
]),
|
|
16
|
+
]);
|
|
17
|
+
|
|
18
|
+
export default eslintConfig;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Connection, PublicKey, Transaction } from "@solana/web3.js";
|
|
3
|
+
|
|
4
|
+
const PORTAL_URL = process.env.NEXT_PUBLIC_LAZORKIT_PORTAL_URL || "https://portal.lazor.sh";
|
|
5
|
+
const PAYMASTER_URL = process.env.NEXT_PUBLIC_LAZORKIT_PAYMASTER_URL || "https://kora.devnet.lazorkit.com";
|
|
6
|
+
const RPC_URL = process.env.NEXT_PUBLIC_SOLANA_RPC || "https://api.devnet.solana.com";
|
|
7
|
+
|
|
8
|
+
export interface LazorWallet {
|
|
9
|
+
address: string;
|
|
10
|
+
publicKey: PublicKey;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export async function connectPasskey(): Promise<LazorWallet | null> {
|
|
14
|
+
const redirectUrl = `${window.location.origin}/auth/callback`;
|
|
15
|
+
const popup = window.open(`${PORTAL_URL}/auth?redirect=${encodeURIComponent(redirectUrl)}`, "lazorkit", "width=500,height=600");
|
|
16
|
+
|
|
17
|
+
return new Promise((resolve) => {
|
|
18
|
+
const handler = (e: MessageEvent) => {
|
|
19
|
+
if (e.origin === window.location.origin && e.data?.address) {
|
|
20
|
+
window.removeEventListener("message", handler);
|
|
21
|
+
popup?.close();
|
|
22
|
+
resolve({ address: e.data.address, publicKey: new PublicKey(e.data.address) });
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
window.addEventListener("message", handler);
|
|
26
|
+
const check = setInterval(() => {
|
|
27
|
+
if (popup?.closed) { clearInterval(check); window.removeEventListener("message", handler); resolve(null); }
|
|
28
|
+
}, 500);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export async function signAndSendTransaction(tx: Transaction, wallet: LazorWallet): Promise<string | null> {
|
|
33
|
+
const connection = new Connection(RPC_URL);
|
|
34
|
+
const { blockhash } = await connection.getLatestBlockhash();
|
|
35
|
+
tx.recentBlockhash = blockhash;
|
|
36
|
+
tx.feePayer = wallet.publicKey;
|
|
37
|
+
|
|
38
|
+
const serialized = tx.serialize({ requireAllSignatures: false }).toString("base64");
|
|
39
|
+
const redirectUrl = `${window.location.origin}/auth/callback`;
|
|
40
|
+
const popup = window.open(`${PORTAL_URL}/sign?tx=${encodeURIComponent(serialized)}&redirect=${encodeURIComponent(redirectUrl)}`, "lazorkit", "width=500,height=600");
|
|
41
|
+
|
|
42
|
+
return new Promise((resolve) => {
|
|
43
|
+
const handler = (e: MessageEvent) => {
|
|
44
|
+
if (e.origin === window.location.origin && e.data?.signature) {
|
|
45
|
+
window.removeEventListener("message", handler);
|
|
46
|
+
popup?.close();
|
|
47
|
+
resolve(e.data.signature);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
window.addEventListener("message", handler);
|
|
51
|
+
const check = setInterval(() => {
|
|
52
|
+
if (popup?.closed) { clearInterval(check); window.removeEventListener("message", handler); resolve(null); }
|
|
53
|
+
}, 500);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export async function sponsorTransaction(tx: Transaction): Promise<Transaction> {
|
|
58
|
+
const res = await fetch(`${PAYMASTER_URL}/sponsor`, {
|
|
59
|
+
method: "POST",
|
|
60
|
+
headers: { "Content-Type": "application/json" },
|
|
61
|
+
body: JSON.stringify({ transaction: tx.serialize({ requireAllSignatures: false }).toString("base64") }),
|
|
62
|
+
});
|
|
63
|
+
const { sponsoredTx } = await res.json();
|
|
64
|
+
return Transaction.from(Buffer.from(sponsoredTx, "base64"));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const connection = new Connection(RPC_URL);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "<%= name %>",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "next dev",
|
|
7
|
+
"build": "next build",
|
|
8
|
+
"start": "next start",
|
|
9
|
+
"lint": "eslint"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"next": "16.1.1",
|
|
13
|
+
"react": "19.2.3",
|
|
14
|
+
"react-dom": "19.2.3",
|
|
15
|
+
"@solana/web3.js": "^1.95.0",
|
|
16
|
+
"@lazorkit/wallet-adapter": "latest"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@tailwindcss/postcss": "^4",
|
|
20
|
+
"@types/node": "^20",
|
|
21
|
+
"@types/react": "^19",
|
|
22
|
+
"@types/react-dom": "^19",
|
|
23
|
+
"eslint": "^9",
|
|
24
|
+
"eslint-config-next": "16.1.1",
|
|
25
|
+
"tailwindcss": "^4",
|
|
26
|
+
"typescript": "^5"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2017",
|
|
4
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
+
"allowJs": true,
|
|
6
|
+
"skipLibCheck": true,
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"module": "esnext",
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"jsx": "react-jsx",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"plugins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "next"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"paths": {
|
|
22
|
+
"@/*": ["./*"]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"include": [
|
|
26
|
+
"next-env.d.ts",
|
|
27
|
+
"**/*.ts",
|
|
28
|
+
"**/*.tsx",
|
|
29
|
+
".next/types/**/*.ts",
|
|
30
|
+
".next/dev/types/**/*.ts",
|
|
31
|
+
"**/*.mts"
|
|
32
|
+
],
|
|
33
|
+
"exclude": ["node_modules"]
|
|
34
|
+
}
|