@jonsoc/console-app 1.1.34
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/.opencode/agent/css.md +149 -0
- package/README.md +32 -0
- package/package.json +49 -0
- package/public/apple-touch-icon-v3.png +1 -0
- package/public/apple-touch-icon.png +1 -0
- package/public/email +1 -0
- package/public/favicon-96x96-v3.png +1 -0
- package/public/favicon-96x96.png +1 -0
- package/public/favicon-v3.ico +1 -0
- package/public/favicon-v3.svg +1 -0
- package/public/favicon.ico +1 -0
- package/public/favicon.svg +1 -0
- package/public/opencode-brand-assets.zip +0 -0
- package/public/robots.txt +6 -0
- package/public/site.webmanifest +1 -0
- package/public/social-share-black.png +1 -0
- package/public/social-share-zen.png +1 -0
- package/public/social-share.png +1 -0
- package/public/theme.json +182 -0
- package/public/web-app-manifest-192x192.png +1 -0
- package/public/web-app-manifest-512x512.png +1 -0
- package/script/generate-sitemap.ts +103 -0
- package/src/app.css +1 -0
- package/src/app.tsx +27 -0
- package/src/asset/black/hero.png +0 -0
- package/src/asset/brand/opencode-brand-assets.zip +0 -0
- package/src/asset/brand/opencode-logo-dark.png +0 -0
- package/src/asset/brand/opencode-logo-dark.svg +16 -0
- package/src/asset/brand/opencode-logo-light.png +0 -0
- package/src/asset/brand/opencode-logo-light.svg +16 -0
- package/src/asset/brand/opencode-wordmark-dark.png +0 -0
- package/src/asset/brand/opencode-wordmark-dark.svg +30 -0
- package/src/asset/brand/opencode-wordmark-light.png +0 -0
- package/src/asset/brand/opencode-wordmark-light.svg +30 -0
- package/src/asset/brand/opencode-wordmark-simple-dark.png +0 -0
- package/src/asset/brand/opencode-wordmark-simple-dark.svg +22 -0
- package/src/asset/brand/opencode-wordmark-simple-light.png +0 -0
- package/src/asset/brand/opencode-wordmark-simple-light.svg +22 -0
- package/src/asset/brand/preview-opencode-dark.png +0 -0
- package/src/asset/brand/preview-opencode-logo-dark.png +0 -0
- package/src/asset/brand/preview-opencode-logo-light.png +0 -0
- package/src/asset/brand/preview-opencode-wordmark-dark.png +0 -0
- package/src/asset/brand/preview-opencode-wordmark-light.png +0 -0
- package/src/asset/brand/preview-opencode-wordmark-simple-dark.png +0 -0
- package/src/asset/brand/preview-opencode-wordmark-simple-light.png +0 -0
- package/src/asset/lander/avatar-adam.png +0 -0
- package/src/asset/lander/avatar-david.png +0 -0
- package/src/asset/lander/avatar-dax.png +0 -0
- package/src/asset/lander/avatar-frank.png +0 -0
- package/src/asset/lander/avatar-jay.png +0 -0
- package/src/asset/lander/brand-assets-dark.svg +10 -0
- package/src/asset/lander/brand-assets-light.svg +10 -0
- package/src/asset/lander/brand.png +0 -0
- package/src/asset/lander/check.svg +3 -0
- package/src/asset/lander/copy.svg +3 -0
- package/src/asset/lander/desktop-app-icon.png +0 -0
- package/src/asset/lander/dock.png +0 -0
- package/src/asset/lander/logo-dark.svg +11 -0
- package/src/asset/lander/logo-light.svg +11 -0
- package/src/asset/lander/opencode-comparison-min.mp4 +0 -0
- package/src/asset/lander/opencode-comparison-poster.png +0 -0
- package/src/asset/lander/opencode-desktop-icon.png +0 -0
- package/src/asset/lander/opencode-logo-dark.svg +11 -0
- package/src/asset/lander/opencode-logo-light.svg +11 -0
- package/src/asset/lander/opencode-min.mp4 +0 -0
- package/src/asset/lander/opencode-poster.png +0 -0
- package/src/asset/lander/opencode-wordmark-dark.svg +25 -0
- package/src/asset/lander/opencode-wordmark-light.svg +25 -0
- package/src/asset/lander/screenshot-github.png +0 -0
- package/src/asset/lander/screenshot-splash.png +0 -0
- package/src/asset/lander/screenshot-vscode.png +0 -0
- package/src/asset/lander/screenshot.png +0 -0
- package/src/asset/lander/wordmark-dark.svg +3 -0
- package/src/asset/lander/wordmark-light.svg +3 -0
- package/src/asset/logo-ornate-dark.svg +18 -0
- package/src/asset/logo-ornate-light.svg +18 -0
- package/src/asset/logo.svg +18 -0
- package/src/asset/zen-ornate-dark.svg +8 -0
- package/src/asset/zen-ornate-light.svg +8 -0
- package/src/component/dropdown.css +80 -0
- package/src/component/dropdown.tsx +79 -0
- package/src/component/email-signup.tsx +48 -0
- package/src/component/faq.tsx +33 -0
- package/src/component/footer.tsx +38 -0
- package/src/component/header-context-menu.css +63 -0
- package/src/component/header.tsx +279 -0
- package/src/component/icon.tsx +257 -0
- package/src/component/legal.tsx +20 -0
- package/src/component/modal.css +66 -0
- package/src/component/modal.tsx +24 -0
- package/src/component/spotlight.css +15 -0
- package/src/component/spotlight.tsx +820 -0
- package/src/config.ts +29 -0
- package/src/context/auth.session.ts +0 -0
- package/src/context/auth.ts +116 -0
- package/src/context/auth.withActor.ts +7 -0
- package/src/entry-client.tsx +4 -0
- package/src/entry-server.tsx +30 -0
- package/src/global.d.ts +5 -0
- package/src/lib/github.ts +38 -0
- package/src/middleware.ts +5 -0
- package/src/routes/[...404].css +130 -0
- package/src/routes/[...404].tsx +38 -0
- package/src/routes/api/enterprise.ts +47 -0
- package/src/routes/auth/[...callback].ts +41 -0
- package/src/routes/auth/authorize.ts +10 -0
- package/src/routes/auth/index.ts +12 -0
- package/src/routes/auth/logout.ts +17 -0
- package/src/routes/auth/status.ts +7 -0
- package/src/routes/bench/[id].tsx +365 -0
- package/src/routes/bench/index.tsx +86 -0
- package/src/routes/bench/submission.ts +29 -0
- package/src/routes/black/common.tsx +62 -0
- package/src/routes/black/index.tsx +108 -0
- package/src/routes/black/subscribe/[plan].tsx +449 -0
- package/src/routes/black/workspace.css +214 -0
- package/src/routes/black/workspace.tsx +229 -0
- package/src/routes/black.css +828 -0
- package/src/routes/black.tsx +285 -0
- package/src/routes/brand/index.css +555 -0
- package/src/routes/brand/index.tsx +252 -0
- package/src/routes/changelog/index.css +477 -0
- package/src/routes/changelog/index.tsx +147 -0
- package/src/routes/debug/index.ts +13 -0
- package/src/routes/desktop-feedback.ts +5 -0
- package/src/routes/discord.ts +5 -0
- package/src/routes/docs/[...path].ts +20 -0
- package/src/routes/docs/index.ts +20 -0
- package/src/routes/download/[platform].ts +38 -0
- package/src/routes/download/index.css +750 -0
- package/src/routes/download/index.tsx +482 -0
- package/src/routes/download/types.ts +4 -0
- package/src/routes/enterprise/index.css +578 -0
- package/src/routes/enterprise/index.tsx +251 -0
- package/src/routes/index.css +1251 -0
- package/src/routes/index.tsx +840 -0
- package/src/routes/legal/privacy-policy/index.css +343 -0
- package/src/routes/legal/privacy-policy/index.tsx +1512 -0
- package/src/routes/legal/terms-of-service/index.css +254 -0
- package/src/routes/legal/terms-of-service/index.tsx +512 -0
- package/src/routes/openapi.json.ts +7 -0
- package/src/routes/s/[id].ts +20 -0
- package/src/routes/stripe/webhook.ts +532 -0
- package/src/routes/t/[...path].tsx +20 -0
- package/src/routes/temp.tsx +172 -0
- package/src/routes/user-menu.css +18 -0
- package/src/routes/user-menu.tsx +32 -0
- package/src/routes/workspace/[id]/billing/billing-section.module.css +185 -0
- package/src/routes/workspace/[id]/billing/billing-section.tsx +240 -0
- package/src/routes/workspace/[id]/billing/black-section.module.css +142 -0
- package/src/routes/workspace/[id]/billing/black-section.tsx +269 -0
- package/src/routes/workspace/[id]/billing/black-waitlist-section.module.css +23 -0
- package/src/routes/workspace/[id]/billing/index.tsx +32 -0
- package/src/routes/workspace/[id]/billing/monthly-limit-section.module.css +96 -0
- package/src/routes/workspace/[id]/billing/monthly-limit-section.tsx +133 -0
- package/src/routes/workspace/[id]/billing/payment-section.module.css +93 -0
- package/src/routes/workspace/[id]/billing/payment-section.tsx +122 -0
- package/src/routes/workspace/[id]/billing/reload-section.module.css +261 -0
- package/src/routes/workspace/[id]/billing/reload-section.tsx +213 -0
- package/src/routes/workspace/[id]/graph-section.module.css +145 -0
- package/src/routes/workspace/[id]/graph-section.tsx +475 -0
- package/src/routes/workspace/[id]/index.tsx +81 -0
- package/src/routes/workspace/[id]/keys/index.tsx +11 -0
- package/src/routes/workspace/[id]/keys/key-section.module.css +197 -0
- package/src/routes/workspace/[id]/keys/key-section.tsx +176 -0
- package/src/routes/workspace/[id]/members/index.tsx +11 -0
- package/src/routes/workspace/[id]/members/member-section.module.css +249 -0
- package/src/routes/workspace/[id]/members/member-section.tsx +343 -0
- package/src/routes/workspace/[id]/members/role-dropdown.css +72 -0
- package/src/routes/workspace/[id]/members/role-dropdown.tsx +43 -0
- package/src/routes/workspace/[id]/model-section.module.css +173 -0
- package/src/routes/workspace/[id]/model-section.tsx +174 -0
- package/src/routes/workspace/[id]/new-user-section.module.css +143 -0
- package/src/routes/workspace/[id]/new-user-section.tsx +104 -0
- package/src/routes/workspace/[id]/provider-section.module.css +138 -0
- package/src/routes/workspace/[id]/provider-section.tsx +188 -0
- package/src/routes/workspace/[id]/settings/index.tsx +11 -0
- package/src/routes/workspace/[id]/settings/settings-section.module.css +94 -0
- package/src/routes/workspace/[id]/settings/settings-section.tsx +122 -0
- package/src/routes/workspace/[id]/usage-section.module.css +185 -0
- package/src/routes/workspace/[id]/usage-section.tsx +200 -0
- package/src/routes/workspace/[id].css +308 -0
- package/src/routes/workspace/[id].tsx +62 -0
- package/src/routes/workspace/common.tsx +120 -0
- package/src/routes/workspace-picker.css +74 -0
- package/src/routes/workspace-picker.tsx +122 -0
- package/src/routes/workspace.css +107 -0
- package/src/routes/workspace.tsx +38 -0
- package/src/routes/zen/index.css +866 -0
- package/src/routes/zen/index.tsx +343 -0
- package/src/routes/zen/util/dataDumper.ts +44 -0
- package/src/routes/zen/util/error.ts +13 -0
- package/src/routes/zen/util/handler.ts +784 -0
- package/src/routes/zen/util/logger.ts +12 -0
- package/src/routes/zen/util/provider/anthropic.ts +752 -0
- package/src/routes/zen/util/provider/google.ts +75 -0
- package/src/routes/zen/util/provider/openai-compatible.ts +546 -0
- package/src/routes/zen/util/provider/openai.ts +630 -0
- package/src/routes/zen/util/provider/provider.ts +210 -0
- package/src/routes/zen/util/rateLimiter.ts +41 -0
- package/src/routes/zen/util/stickyProviderTracker.ts +16 -0
- package/src/routes/zen/util/trialLimiter.ts +49 -0
- package/src/routes/zen/v1/chat/completions.ts +11 -0
- package/src/routes/zen/v1/messages.ts +11 -0
- package/src/routes/zen/v1/models/[model].ts +13 -0
- package/src/routes/zen/v1/models.ts +60 -0
- package/src/routes/zen/v1/responses.ts +11 -0
- package/src/style/base.css +21 -0
- package/src/style/component/button.css +102 -0
- package/src/style/index.css +8 -0
- package/src/style/reset.css +76 -0
- package/src/style/token/color.css +91 -0
- package/src/style/token/font.css +21 -0
- package/src/style/token/space.css +46 -0
- package/sst-env.d.ts +9 -0
- package/tsconfig.json +21 -0
- package/vite.config.ts +25 -0
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { A, createAsync, RouteSectionProps } from "@solidjs/router"
|
|
2
|
+
import { Title, Meta, Link } from "@solidjs/meta"
|
|
3
|
+
import { createMemo, createSignal } from "solid-js"
|
|
4
|
+
import { github } from "~/lib/github"
|
|
5
|
+
import { config } from "~/config"
|
|
6
|
+
import Spotlight, { defaultConfig, type SpotlightAnimationState } from "~/component/spotlight"
|
|
7
|
+
import "./black.css"
|
|
8
|
+
|
|
9
|
+
export default function BlackLayout(props: RouteSectionProps) {
|
|
10
|
+
const githubData = createAsync(() => github())
|
|
11
|
+
const starCount = createMemo(() =>
|
|
12
|
+
githubData()?.stars
|
|
13
|
+
? new Intl.NumberFormat("en-US", {
|
|
14
|
+
notation: "compact",
|
|
15
|
+
compactDisplay: "short",
|
|
16
|
+
}).format(githubData()!.stars!)
|
|
17
|
+
: config.github.starsFormatted.compact,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
const [spotlightAnimationState, setSpotlightAnimationState] = createSignal<SpotlightAnimationState>({
|
|
21
|
+
time: 0,
|
|
22
|
+
intensity: 0.5,
|
|
23
|
+
pulseValue: 1,
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const svgLightingValues = createMemo(() => {
|
|
27
|
+
const state = spotlightAnimationState()
|
|
28
|
+
const t = state.time
|
|
29
|
+
|
|
30
|
+
const wave1 = Math.sin(t * 1.5) * 0.5 + 0.5
|
|
31
|
+
const wave2 = Math.sin(t * 2.3 + 1.2) * 0.5 + 0.5
|
|
32
|
+
const wave3 = Math.sin(t * 0.8 + 2.5) * 0.5 + 0.5
|
|
33
|
+
|
|
34
|
+
const shimmerPos = Math.sin(t * 0.7) * 0.5 + 0.5
|
|
35
|
+
const glowIntensity = Math.max(state.intensity * state.pulseValue * 0.35, 0.15)
|
|
36
|
+
const fillOpacity = Math.max(0.1 + wave1 * 0.08 * state.pulseValue, 0.12)
|
|
37
|
+
const strokeBrightness = Math.max(55 + wave2 * 25 * state.pulseValue, 60)
|
|
38
|
+
|
|
39
|
+
const shimmerIntensity = Math.max(wave3 * 0.15 * state.pulseValue, 0.08)
|
|
40
|
+
|
|
41
|
+
return {
|
|
42
|
+
glowIntensity,
|
|
43
|
+
fillOpacity,
|
|
44
|
+
strokeBrightness,
|
|
45
|
+
shimmerPos,
|
|
46
|
+
shimmerIntensity,
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
|
|
50
|
+
const svgLightingStyle = createMemo(() => {
|
|
51
|
+
const values = svgLightingValues()
|
|
52
|
+
return {
|
|
53
|
+
"--hero-black-glow-intensity": values.glowIntensity.toFixed(3),
|
|
54
|
+
"--hero-black-stroke-brightness": `${values.strokeBrightness.toFixed(0)}%`,
|
|
55
|
+
} as Record<string, string>
|
|
56
|
+
})
|
|
57
|
+
|
|
58
|
+
const handleAnimationFrame = (state: SpotlightAnimationState) => {
|
|
59
|
+
setSpotlightAnimationState(state)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const spotlightConfig = () => defaultConfig
|
|
63
|
+
|
|
64
|
+
return (
|
|
65
|
+
<div data-page="black">
|
|
66
|
+
<Title>JonsOC Black | Access all the world's best coding models</Title>
|
|
67
|
+
<Meta
|
|
68
|
+
name="description"
|
|
69
|
+
content="Get access to Claude, GPT, Gemini and more with JonsOC Black subscription plans."
|
|
70
|
+
/>
|
|
71
|
+
<Link rel="canonical" href={`${config.baseUrl}/black`} />
|
|
72
|
+
<Meta property="og:type" content="website" />
|
|
73
|
+
<Meta property="og:url" content={`${config.baseUrl}/black`} />
|
|
74
|
+
<Meta property="og:title" content="JonsOC Black | Access all the world's best coding models" />
|
|
75
|
+
<Meta
|
|
76
|
+
property="og:description"
|
|
77
|
+
content="Get access to Claude, GPT, Gemini and more with JonsOC Black subscription plans."
|
|
78
|
+
/>
|
|
79
|
+
<Meta property="og:image" content="/social-share-black.png" />
|
|
80
|
+
<Meta name="twitter:card" content="summary_large_image" />
|
|
81
|
+
<Meta name="twitter:title" content="JonsOC Black | Access all the world's best coding models" />
|
|
82
|
+
<Meta
|
|
83
|
+
name="twitter:description"
|
|
84
|
+
content="Get access to Claude, GPT, Gemini and more with JonsOC Black subscription plans."
|
|
85
|
+
/>
|
|
86
|
+
<Meta name="twitter:image" content="/social-share-black.png" />
|
|
87
|
+
|
|
88
|
+
<Spotlight config={spotlightConfig} class="header-spotlight" onAnimationFrame={handleAnimationFrame} />
|
|
89
|
+
|
|
90
|
+
<header data-component="header">
|
|
91
|
+
<A href="/" data-component="header-logo">
|
|
92
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="179" height="32" viewBox="0 0 179 32" fill="none">
|
|
93
|
+
<title>jonsoc</title>
|
|
94
|
+
<g clip-path="url(#clip0_3654_210259)">
|
|
95
|
+
<mask
|
|
96
|
+
id="mask0_3654_210259"
|
|
97
|
+
style="mask-type:luminance"
|
|
98
|
+
maskUnits="userSpaceOnUse"
|
|
99
|
+
x="0"
|
|
100
|
+
y="0"
|
|
101
|
+
width="179"
|
|
102
|
+
height="32"
|
|
103
|
+
>
|
|
104
|
+
<path d="M178.286 0H0V32H178.286V0Z" fill="white" />
|
|
105
|
+
</mask>
|
|
106
|
+
<g mask="url(#mask0_3654_210259)">
|
|
107
|
+
<path d="M13.7132 22.8577H4.57031V13.7148H13.7132V22.8577Z" fill="#444444" />
|
|
108
|
+
<path
|
|
109
|
+
d="M13.7143 9.14174H4.57143V22.856H13.7143V9.14174ZM18.2857 27.4275H0V4.57031H18.2857V27.4275Z"
|
|
110
|
+
fill="#CDCDCD"
|
|
111
|
+
/>
|
|
112
|
+
<path d="M36.5725 22.8577H27.4297V13.7148H36.5725V22.8577Z" fill="#444444" />
|
|
113
|
+
<path
|
|
114
|
+
d="M27.4308 22.856H36.5737V9.14174H27.4308V22.856ZM41.1451 27.4275H27.4308V31.9989H22.8594V4.57031H41.1451V27.4275Z"
|
|
115
|
+
fill="#CDCDCD"
|
|
116
|
+
/>
|
|
117
|
+
<path d="M64.0033 18.2852V22.8566H50.2891V18.2852H64.0033Z" fill="#444444" />
|
|
118
|
+
<path
|
|
119
|
+
d="M63.9967 18.2846H50.2824V22.856H63.9967V27.4275H45.7109V4.57031H63.9967V18.2846ZM50.2824 13.7132H59.4252V9.14174H50.2824V13.7132Z"
|
|
120
|
+
fill="#CDCDCD"
|
|
121
|
+
/>
|
|
122
|
+
<path d="M82.2835 27.4291H73.1406V13.7148H82.2835V27.4291Z" fill="#444444" />
|
|
123
|
+
<path
|
|
124
|
+
d="M82.2846 9.14174H73.1417V27.4275H68.5703V4.57031H82.2846V9.14174ZM86.856 27.4275H82.2846V9.14174H86.856V27.4275Z"
|
|
125
|
+
fill="#CDCDCD"
|
|
126
|
+
/>
|
|
127
|
+
<path d="M109.714 22.8577H96V13.7148H109.714V22.8577Z" fill="#444444" />
|
|
128
|
+
<path
|
|
129
|
+
d="M109.715 9.14174H96.0011V22.856H109.715V27.4275H91.4297V4.57031H109.715V9.14174Z"
|
|
130
|
+
fill="white"
|
|
131
|
+
/>
|
|
132
|
+
<path d="M128.002 22.8577H118.859V13.7148H128.002V22.8577Z" fill="#444444" />
|
|
133
|
+
<path
|
|
134
|
+
d="M128.003 9.14174H118.86V22.856H128.003V9.14174ZM132.575 27.4275H114.289V4.57031H132.575V27.4275Z"
|
|
135
|
+
fill="white"
|
|
136
|
+
/>
|
|
137
|
+
<path d="M150.854 22.8577H141.711V13.7148H150.854V22.8577Z" fill="#444444" />
|
|
138
|
+
<path
|
|
139
|
+
d="M150.855 9.14286H141.712V22.8571H150.855V9.14286ZM155.426 27.4286H137.141V4.57143H150.855V0H155.426V27.4286Z"
|
|
140
|
+
fill="white"
|
|
141
|
+
/>
|
|
142
|
+
<path d="M178.285 18.2852V22.8566H164.57V18.2852H178.285Z" fill="#444444" />
|
|
143
|
+
<path
|
|
144
|
+
d="M164.571 9.14174V13.7132H173.714V9.14174H164.571ZM178.286 18.2846H164.571V22.856H178.286V27.4275H160V4.57031H178.286V18.2846Z"
|
|
145
|
+
fill="white"
|
|
146
|
+
/>
|
|
147
|
+
</g>
|
|
148
|
+
</g>
|
|
149
|
+
<defs>
|
|
150
|
+
<clipPath id="clip0_3654_210259">
|
|
151
|
+
<rect width="178.286" height="32" fill="white" />
|
|
152
|
+
</clipPath>
|
|
153
|
+
</defs>
|
|
154
|
+
</svg>
|
|
155
|
+
</A>
|
|
156
|
+
</header>
|
|
157
|
+
<main data-component="content">
|
|
158
|
+
<div data-slot="hero">
|
|
159
|
+
<h1>Access all the world's best coding models</h1>
|
|
160
|
+
<p>Including Claude, GPT, Gemini and more</p>
|
|
161
|
+
</div>
|
|
162
|
+
<div data-slot="hero-black" style={svgLightingStyle()}>
|
|
163
|
+
<svg width="591" height="90" viewBox="0 0 591 90" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
164
|
+
<defs>
|
|
165
|
+
<linearGradient
|
|
166
|
+
id="hero-black-fill-gradient"
|
|
167
|
+
x1="290.82"
|
|
168
|
+
y1="1.57422"
|
|
169
|
+
x2="290.82"
|
|
170
|
+
y2="87.0326"
|
|
171
|
+
gradientUnits="userSpaceOnUse"
|
|
172
|
+
>
|
|
173
|
+
<stop stop-color="white" />
|
|
174
|
+
<stop offset="1" stop-color="white" stop-opacity="0" />
|
|
175
|
+
</linearGradient>
|
|
176
|
+
|
|
177
|
+
<linearGradient
|
|
178
|
+
id="hero-black-stroke-gradient"
|
|
179
|
+
x1="290.82"
|
|
180
|
+
y1="2.03255"
|
|
181
|
+
x2="290.82"
|
|
182
|
+
y2="87.0325"
|
|
183
|
+
gradientUnits="userSpaceOnUse"
|
|
184
|
+
>
|
|
185
|
+
<stop stop-color={`hsl(0 0% ${svgLightingValues().strokeBrightness}%)`} />
|
|
186
|
+
<stop offset="1" stop-color="white" stop-opacity="0" />
|
|
187
|
+
</linearGradient>
|
|
188
|
+
|
|
189
|
+
<linearGradient
|
|
190
|
+
id="hero-black-shimmer-gradient"
|
|
191
|
+
x1="0"
|
|
192
|
+
y1="0"
|
|
193
|
+
x2="591"
|
|
194
|
+
y2="0"
|
|
195
|
+
gradientUnits="userSpaceOnUse"
|
|
196
|
+
>
|
|
197
|
+
<stop offset={Math.max(0, svgLightingValues().shimmerPos - 0.12)} stop-color="transparent" />
|
|
198
|
+
<stop
|
|
199
|
+
offset={svgLightingValues().shimmerPos}
|
|
200
|
+
stop-color={`rgba(255, 255, 255, ${svgLightingValues().shimmerIntensity})`}
|
|
201
|
+
/>
|
|
202
|
+
<stop offset={Math.min(1, svgLightingValues().shimmerPos + 0.12)} stop-color="transparent" />
|
|
203
|
+
</linearGradient>
|
|
204
|
+
|
|
205
|
+
<linearGradient
|
|
206
|
+
id="hero-black-top-glow"
|
|
207
|
+
x1="290.82"
|
|
208
|
+
y1="0"
|
|
209
|
+
x2="290.82"
|
|
210
|
+
y2="45"
|
|
211
|
+
gradientUnits="userSpaceOnUse"
|
|
212
|
+
>
|
|
213
|
+
<stop offset="0" stop-color={`rgba(255, 255, 255, ${svgLightingValues().glowIntensity})`} />
|
|
214
|
+
<stop offset="1" stop-color="transparent" />
|
|
215
|
+
</linearGradient>
|
|
216
|
+
|
|
217
|
+
<linearGradient
|
|
218
|
+
id="hero-black-shimmer-mask"
|
|
219
|
+
x1="290.82"
|
|
220
|
+
y1="0"
|
|
221
|
+
x2="290.82"
|
|
222
|
+
y2="50"
|
|
223
|
+
gradientUnits="userSpaceOnUse"
|
|
224
|
+
>
|
|
225
|
+
<stop offset="0" stop-color="white" />
|
|
226
|
+
<stop offset="0.8" stop-color="white" stop-opacity="0.5" />
|
|
227
|
+
<stop offset="1" stop-color="white" stop-opacity="0" />
|
|
228
|
+
</linearGradient>
|
|
229
|
+
|
|
230
|
+
<mask id="shimmer-top-mask">
|
|
231
|
+
<rect x="0" y="0" width="591" height="90" fill="url(#hero-black-shimmer-mask)" />
|
|
232
|
+
</mask>
|
|
233
|
+
</defs>
|
|
234
|
+
|
|
235
|
+
<path
|
|
236
|
+
d="M425.56 0.75C429.464 0.750017 432.877 1.27807 435.78 2.35645C438.656 3.42455 441.138 4.86975 443.215 6.69727C445.268 8.50382 446.995 10.5587 448.394 12.8604C449.77 15.0464 450.986 17.2741 452.04 19.5439L452.357 20.2275L451.672 20.542L443.032 24.502L442.311 24.833L442.021 24.0938C441.315 22.2906 440.494 20.6079 439.557 19.0459L439.552 19.0391L439.548 19.0322C438.626 17.419 437.517 16.0443 436.223 14.9023L436.206 14.8867L436.189 14.8701C434.989 13.6697 433.518 12.7239 431.766 12.0381L431.755 12.0342V12.0332C430.111 11.3607 428.053 11.0098 425.56 11.0098C419.142 11.0098 414.433 13.4271 411.308 18.2295C408.212 23.109 406.629 29.6717 406.629 37.9805V51.6602C406.629 59.9731 408.214 66.5377 411.312 71.418C414.438 76.2157 419.145 78.6299 425.56 78.6299C428.054 78.6299 430.111 78.2782 431.756 77.6055L431.766 77.6016L432.413 77.333C433.893 76.6811 435.154 75.8593 436.206 74.873C437.512 73.644 438.625 72.2626 439.548 70.7275C440.489 69.0801 441.314 67.3534 442.021 65.5469L442.311 64.8076L443.032 65.1387L451.672 69.0986L452.348 69.4082L452.044 70.0869C450.99 72.439 449.773 74.7099 448.395 76.8994C446.995 79.1229 445.266 81.1379 443.215 82.9434C441.138 84.7708 438.656 86.2151 435.78 87.2832C432.877 88.3616 429.464 88.8896 425.56 88.8896C415.111 88.8896 407.219 85.0777 402.019 77.4004L402.016 77.3965C396.939 69.7818 394.449 58.891 394.449 44.8203C394.449 30.7495 396.939 19.8589 402.016 12.2441L402.019 12.2393C407.219 4.56202 415.111 0.75 425.56 0.75ZM29.9404 2.19043C37.2789 2.19051 43.125 4.19131 47.3799 8.2793C51.6307 12.3635 53.7305 17.8115 53.7305 24.54C53.7305 29.6953 52.4605 33.8451 49.835 36.8994L49.8359 36.9004C47.7064 39.4558 45.0331 41.367 41.835 42.6445C45.893 43.8751 49.3115 45.9006 52.0703 48.7295C55.2954 51.9546 56.8496 56.6143 56.8496 62.5801C56.8496 66.0251 56.2751 69.2753 55.1211 72.3252C53.9689 75.3702 52.3185 78.014 50.1689 80.249L50.1699 80.25C48.0996 82.4858 45.6172 84.2628 42.7314 85.582L42.7227 85.5859C39.9002 86.8312 36.8362 87.4502 33.54 87.4502H0.75V2.19043H29.9404ZM148.123 2.19043V77.1904H187.843V87.4502H136.543V2.19043H148.123ZM298.121 2.19043L298.283 2.71973L323.963 86.4805L324.261 87.4502H312.006L311.848 86.9131L304.927 63.5703H276.646L269.726 86.9131L269.566 87.4502H257.552L257.85 86.4805L283.529 2.71973L283.691 2.19043H298.121ZM539.782 2.19043V44.9209L549.845 32.2344L549.851 32.2275L549.855 32.2207L574.575 2.46094L574.801 2.19043H588.874L587.849 3.41992L558.795 38.2832L588.749 86.3027L589.464 87.4502H575.934L575.714 87.0938L550.937 46.9316L539.782 60.0947V87.4502H528.202V2.19043H539.782ZM12.3301 77.1904H30.54C35.0749 77.1904 38.5307 76.1729 40.9961 74.2305C43.4059 72.3317 44.6699 69.3811 44.6699 65.2197V60.2998C44.6699 56.2239 43.4093 53.3106 40.9961 51.4092L40.9854 51.4004C38.5207 49.3838 35.0691 48.3301 30.54 48.3301H12.3301V77.1904ZM279.485 53.3096H302.087L290.786 14.4482L279.485 53.3096ZM12.3301 38.5498H28.8604C33 38.5498 36.1378 37.6505 38.3633 35.9443C40.5339 34.2015 41.6698 31.5679 41.6699 27.9004V23.2197C41.6699 19.5455 40.5299 16.9088 38.3516 15.166C36.1272 13.3865 32.9938 12.4502 28.8604 12.4502H12.3301V38.5498Z"
|
|
237
|
+
fill="url(#hero-black-fill-gradient)"
|
|
238
|
+
fill-opacity={svgLightingValues().fillOpacity}
|
|
239
|
+
stroke="url(#hero-black-stroke-gradient)"
|
|
240
|
+
stroke-width="1.5"
|
|
241
|
+
data-slot="black-base"
|
|
242
|
+
/>
|
|
243
|
+
|
|
244
|
+
<path
|
|
245
|
+
d="M425.56 0.75C429.464 0.750017 432.877 1.27807 435.78 2.35645C438.656 3.42455 441.138 4.86975 443.215 6.69727C445.268 8.50382 446.995 10.5587 448.394 12.8604C449.77 15.0464 450.986 17.2741 452.04 19.5439L452.357 20.2275L451.672 20.542L443.032 24.502L442.311 24.833L442.021 24.0938C441.315 22.2906 440.494 20.6079 439.557 19.0459L439.552 19.0391L439.548 19.0322C438.626 17.419 437.517 16.0443 436.223 14.9023L436.206 14.8867L436.189 14.8701C434.989 13.6697 433.518 12.7239 431.766 12.0381L431.755 12.0342V12.0332C430.111 11.3607 428.053 11.0098 425.56 11.0098C419.142 11.0098 414.433 13.4271 411.308 18.2295C408.212 23.109 406.629 29.6717 406.629 37.9805V51.6602C406.629 59.9731 408.214 66.5377 411.312 71.418C414.438 76.2157 419.145 78.6299 425.56 78.6299C428.054 78.6299 430.111 78.2782 431.756 77.6055L431.766 77.6016L432.413 77.333C433.893 76.6811 435.154 75.8593 436.206 74.873C437.512 73.644 438.625 72.2626 439.548 70.7275C440.489 69.0801 441.314 67.3534 442.021 65.5469L442.311 64.8076L443.032 65.1387L451.672 69.0986L452.348 69.4082L452.044 70.0869C450.99 72.439 449.773 74.7099 448.395 76.8994C446.995 79.1229 445.266 81.1379 443.215 82.9434C441.138 84.7708 438.656 86.2151 435.78 87.2832C432.877 88.3616 429.464 88.8896 425.56 88.8896C415.111 88.8896 407.219 85.0777 402.019 77.4004L402.016 77.3965C396.939 69.7818 394.449 58.891 394.449 44.8203C394.449 30.7495 396.939 19.8589 402.016 12.2441L402.019 12.2393C407.219 4.56202 415.111 0.75 425.56 0.75ZM29.9404 2.19043C37.2789 2.19051 43.125 4.19131 47.3799 8.2793C51.6307 12.3635 53.7305 17.8115 53.7305 24.54C53.7305 29.6953 52.4605 33.8451 49.835 36.8994L49.8359 36.9004C47.7064 39.4558 45.0331 41.367 41.835 42.6445C45.893 43.8751 49.3115 45.9006 52.0703 48.7295C55.2954 51.9546 56.8496 56.6143 56.8496 62.5801C56.8496 66.0251 56.2751 69.2753 55.1211 72.3252C53.9689 75.3702 52.3185 78.014 50.1689 80.249L50.1699 80.25C48.0996 82.4858 45.6172 84.2628 42.7314 85.582L42.7227 85.5859C39.9002 86.8312 36.8362 87.4502 33.54 87.4502H0.75V2.19043H29.9404ZM148.123 2.19043V77.1904H187.843V87.4502H136.543V2.19043H148.123ZM298.121 2.19043L298.283 2.71973L323.963 86.4805L324.261 87.4502H312.006L311.848 86.9131L304.927 63.5703H276.646L269.726 86.9131L269.566 87.4502H257.552L257.85 86.4805L283.529 2.71973L283.691 2.19043H298.121ZM539.782 2.19043V44.9209L549.845 32.2344L549.851 32.2275L549.855 32.2207L574.575 2.46094L574.801 2.19043H588.874L587.849 3.41992L558.795 38.2832L588.749 86.3027L589.464 87.4502H575.934L575.714 87.0938L550.937 46.9316L539.782 60.0947V87.4502H528.202V2.19043H539.782ZM12.3301 77.1904H30.54C35.0749 77.1904 38.5307 76.1729 40.9961 74.2305C43.4059 72.3317 44.6699 69.3811 44.6699 65.2197V60.2998C44.6699 56.2239 43.4093 53.3106 40.9961 51.4092L40.9854 51.4004C38.5207 49.3838 35.0691 48.3301 30.54 48.3301H12.3301V77.1904ZM279.485 53.3096H302.087L290.786 14.4482L279.485 53.3096ZM12.3301 38.5498H28.8604C33 38.5498 36.1378 37.6505 38.3633 35.9443C40.5339 34.2015 41.6698 31.5679 41.6699 27.9004V23.2197C41.6699 19.5455 40.5299 16.9088 38.3516 15.166C36.1272 13.3865 32.9938 12.4502 28.8604 12.4502H12.3301V38.5498Z"
|
|
246
|
+
fill="url(#hero-black-top-glow)"
|
|
247
|
+
stroke="none"
|
|
248
|
+
data-slot="black-glow"
|
|
249
|
+
/>
|
|
250
|
+
|
|
251
|
+
<path
|
|
252
|
+
d="M425.56 0.75C429.464 0.750017 432.877 1.27807 435.78 2.35645C438.656 3.42455 441.138 4.86975 443.215 6.69727C445.268 8.50382 446.995 10.5587 448.394 12.8604C449.77 15.0464 450.986 17.2741 452.04 19.5439L452.357 20.2275L451.672 20.542L443.032 24.502L442.311 24.833L442.021 24.0938C441.315 22.2906 440.494 20.6079 439.557 19.0459L439.552 19.0391L439.548 19.0322C438.626 17.419 437.517 16.0443 436.223 14.9023L436.206 14.8867L436.189 14.8701C434.989 13.6697 433.518 12.7239 431.766 12.0381L431.755 12.0342V12.0332C430.111 11.3607 428.053 11.0098 425.56 11.0098C419.142 11.0098 414.433 13.4271 411.308 18.2295C408.212 23.109 406.629 29.6717 406.629 37.9805V51.6602C406.629 59.9731 408.214 66.5377 411.312 71.418C414.438 76.2157 419.145 78.6299 425.56 78.6299C428.054 78.6299 430.111 78.2782 431.756 77.6055L431.766 77.6016L432.413 77.333C433.893 76.6811 435.154 75.8593 436.206 74.873C437.512 73.644 438.625 72.2626 439.548 70.7275C440.489 69.0801 441.314 67.3534 442.021 65.5469L442.311 64.8076L443.032 65.1387L451.672 69.0986L452.348 69.4082L452.044 70.0869C450.99 72.439 449.773 74.7099 448.395 76.8994C446.995 79.1229 445.266 81.1379 443.215 82.9434C441.138 84.7708 438.656 86.2151 435.78 87.2832C432.877 88.3616 429.464 88.8896 425.56 88.8896C415.111 88.8896 407.219 85.0777 402.019 77.4004L402.016 77.3965C396.939 69.7818 394.449 58.891 394.449 44.8203C394.449 30.7495 396.939 19.8589 402.016 12.2441L402.019 12.2393C407.219 4.56202 415.111 0.75 425.56 0.75ZM29.9404 2.19043C37.2789 2.19051 43.125 4.19131 47.3799 8.2793C51.6307 12.3635 53.7305 17.8115 53.7305 24.54C53.7305 29.6953 52.4605 33.8451 49.835 36.8994L49.8359 36.9004C47.7064 39.4558 45.0331 41.367 41.835 42.6445C45.893 43.8751 49.3115 45.9006 52.0703 48.7295C55.2954 51.9546 56.8496 56.6143 56.8496 62.5801C56.8496 66.0251 56.2751 69.2753 55.1211 72.3252C53.9689 75.3702 52.3185 78.014 50.1689 80.249L50.1699 80.25C48.0996 82.4858 45.6172 84.2628 42.7314 85.582L42.7227 85.5859C39.9002 86.8312 36.8362 87.4502 33.54 87.4502H0.75V2.19043H29.9404ZM148.123 2.19043V77.1904H187.843V87.4502H136.543V2.19043H148.123ZM298.121 2.19043L298.283 2.71973L323.963 86.4805L324.261 87.4502H312.006L311.848 86.9131L304.927 63.5703H276.646L269.726 86.9131L269.566 87.4502H257.552L257.85 86.4805L283.529 2.71973L283.691 2.19043H298.121ZM539.782 2.19043V44.9209L549.845 32.2344L549.851 32.2275L549.855 32.2207L574.575 2.46094L574.801 2.19043H588.874L587.849 3.41992L558.795 38.2832L588.749 86.3027L589.464 87.4502H575.934L575.714 87.0938L550.937 46.9316L539.782 60.0947V87.4502H528.202V2.19043H539.782ZM12.3301 77.1904H30.54C35.0749 77.1904 38.5307 76.1729 40.9961 74.2305C43.4059 72.3317 44.6699 69.3811 44.6699 65.2197V60.2998C44.6699 56.2239 43.4093 53.3106 40.9961 51.4092L40.9854 51.4004C38.5207 49.3838 35.0691 48.3301 30.54 48.3301H12.3301V77.1904ZM279.485 53.3096H302.087L290.786 14.4482L279.485 53.3096ZM12.3301 38.5498H28.8604C33 38.5498 36.1378 37.6505 38.3633 35.9443C40.5339 34.2015 41.6698 31.5679 41.6699 27.9004V23.2197C41.6699 19.5455 40.5299 16.9088 38.3516 15.166C36.1272 13.3865 32.9938 12.4502 28.8604 12.4502H12.3301V38.5498Z"
|
|
253
|
+
fill="url(#hero-black-shimmer-gradient)"
|
|
254
|
+
stroke="none"
|
|
255
|
+
data-slot="black-shimmer"
|
|
256
|
+
mask="url(#shimmer-top-mask)"
|
|
257
|
+
style={{ "mix-blend-mode": "overlay" }}
|
|
258
|
+
/>
|
|
259
|
+
</svg>
|
|
260
|
+
</div>
|
|
261
|
+
{props.children}
|
|
262
|
+
</main>
|
|
263
|
+
<footer data-component="footer">
|
|
264
|
+
<div data-slot="footer-content">
|
|
265
|
+
<span data-slot="anomaly">
|
|
266
|
+
©{new Date().getFullYear()} <a href="https://anoma.ly">Anomaly</a>
|
|
267
|
+
</span>
|
|
268
|
+
<a href={config.github.repoUrl} target="_blank">
|
|
269
|
+
GitHub <span data-slot="github-stars">[{starCount()}]</span>
|
|
270
|
+
</a>
|
|
271
|
+
<a href="/docs">Docs</a>
|
|
272
|
+
<span>
|
|
273
|
+
<A href="/legal/privacy-policy">Privacy</A>
|
|
274
|
+
</span>
|
|
275
|
+
<span>
|
|
276
|
+
<A href="/legal/terms-of-service">Terms</A>
|
|
277
|
+
</span>
|
|
278
|
+
</div>
|
|
279
|
+
<span data-slot="anomaly-alt">
|
|
280
|
+
©{new Date().getFullYear()} <a href="https://anoma.ly">Anomaly</a>
|
|
281
|
+
</span>
|
|
282
|
+
</footer>
|
|
283
|
+
</div>
|
|
284
|
+
)
|
|
285
|
+
}
|