Skip to content

Commit 33c858f

Browse files
committed
add anomaly and public roadmap
1 parent 5b494a8 commit 33c858f

9 files changed

Lines changed: 72 additions & 74 deletions

File tree

packages/landing-page/app.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { defineConfig } from "@solidjs/start/config";
22

33
export default defineConfig({
4-
// experimental: { islands: true },
54
server: {
65
preset: "netlify"
76
}
9.85 KB
Loading

packages/landing-page/src/components/sections/deploy-anywhere.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function DeployAnywhere() {
5454
<section class="max-w-5xl pt-12 w-full mx-auto relative">
5555
<header>
5656
<SectionTitle>Deploy Anywhere</SectionTitle>
57-
<p class="pt-5 px-2 leading-relaxed max-w-[70ch] mx-auto text-center dark:font-thin text-lg">
57+
<p class="w-full sm:w-3/5 pt-5 px-2 leading-relaxed max-w-[70ch] mx-auto text-center dark:font-thin text-lg transition-all ease-in-out">
5858
On the shoulders of open-source. SolidStart can be deployed to every platform Nitro has a
5959
preset for.
6060
</p>

packages/landing-page/src/components/sections/hero.tsx

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,27 @@ import { CodeSnippet } from "../code-snippet";
22
import { GithubIcon } from "../icons/github-icon";
33
import { SolidStartLogo } from "../icons/solidstart-logo";
44
import { buttonVariants } from "../ui/button";
5+
import { AnimatedShinyText } from "../ui/mystic/shine";
6+
57
const buttonOutlineStyles = buttonVariants({
68
variant: "outline"
79
});
10+
811
export function Hero() {
912
return (
10-
<header class="w-full mx-auto pb-24 md:px-10 bg-gradient-to-b from-transparent dark:to-[#081924] via-white dark:via-white/0 to-white">
13+
<header class="w-full mx-auto md:px-10 bg-gradient-to-b from-transparent dark:to-[#081924] via-white dark:via-white/0 to-white">
14+
<div class="flex flex-col items-center justify-center">
15+
<a
16+
href="https://github.com/solidjs/solid-start/discussions/1960"
17+
target="_blank"
18+
rel="noopener"
19+
class="inline-block px-4 py-1 group rounded-full border border-black/5 text-base text-white transition-all ease-in dark:border-white/15 dark:bg-neutral-900/30 dark:hover:bg-neutral-800/20"
20+
>
21+
<AnimatedShinyText>
22+
<span>✨ Public Roadmap - DeVinxi and Beyond</span>
23+
</AnimatedShinyText>
24+
</a>
25+
</div>
1126
<div class="max-w-5xl mx-auto">
1227
<SolidStartLogo class="drop-shadow-[10px_20px_35px_rgb(125,211,252,0.3)] size-52 md:size-[400px] mx-auto" />
1328
<div class="flex flex-col">

packages/landing-page/src/components/sections/meta-framework.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function MetaFramework() {
77
<section class="max-w-5xl w-full mx-auto pt-12 md:pt-28 group">
88
<header>
99
<SectionTitle>Composable Meta-framework</SectionTitle>
10-
<p class="pt-5 px-2 leading-relaxed max-w-[70ch] mx-auto text-center dark:font-thin text-lg">
10+
<p class="pt-5 px-2 leading-relaxed max-w-[70ch] mx-auto text-center dark:font-thin text-lg w-full md:w-3/5">
1111
SolidStart integrates multiple separate packages to provide a complete functionality. Each
1212
of these pieces can be replaced with your own implementation.
1313
</p>
Lines changed: 9 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Index } from "solid-js";
21
import { CloudflareLogo } from "../icons/platform/cloudflare-logo";
32
import { SectionTitle } from "../ui/section-title";
43

@@ -12,71 +11,18 @@ const SPONSORED_BY = [
1211

1312
export function SponsoredBy() {
1413
return (
15-
<section class="max-w-5xl pt-12 w-full mx-auto relative">
16-
<header>
17-
<SectionTitle>Sponsored by</SectionTitle>
18-
<p class="pt-5 px-2 leading-relaxed max-w-[70ch] mx-auto text-center dark:font-thin text-lg">
19-
SolidStart is a project of the{" "}
20-
<a href="https://solidjs.com/" target="_blank">
21-
SolidJS
22-
</a>
23-
team.
14+
<section class="pt-32 w-full flex flex-row justify-center items-center gap-32 relative">
15+
<header class="text-left w-1/3">
16+
<SectionTitle stylesOverride="text-left">Anomaly Innovations</SectionTitle>
17+
<p class="pt-5 px-2 leading-relaxed max-w-[70ch] mx-auto dark:font-thin text-lg">
18+
Thank you to our official partner who accelerate our development.
2419
</p>
2520
</header>
26-
<div class="mx-auto w-fit pt-12">
27-
<pre class="bg-gradient-to-tr px-4 py-14 sm:p-14 dark:from-sky-950/20 dark:to-sky-800/20 from-sky-50 to-sky-100 dark:shadow-[0px_0px_35px_rgb(125,211,252,0.10)] ring-1 ring-sky-950 relative rounded-md">
28-
<div
29-
id="upper-line"
30-
class="absolute -top-px left-20 right-11 h-px bg-gradient-to-r from-blue-300/0 via-blue-300/70 to-blue-300/0 animate-bounce"
31-
></div>
32-
<div
33-
id="bottom-line"
34-
class="absolute -bottom-px left-11 right-20 h-px bg-gradient-to-r from-blue-400/0 via-blue-800 dark:via-blue-400 to-blue-400/0 animate-bounce"
35-
></div>
36-
<code>
37-
<span class="dark:text-[#C792EA] text-purple-800">export default</span>{" "}
38-
<span class="dark:text-[#82AAFF] text-sky-950">defineConfig</span>
39-
<span class="dark:text-[#89DDFF] text-pink-600">{`({`}</span>
40-
<br />
41-
<span>
42-
{" "}server{`: `}
43-
</span>
44-
<span class="dark:text-[#89DDFF]">{`{`}</span>
45-
<br />
46-
<span>
47-
{" "}preset{`: `}
48-
</span>
49-
<span class="dark:text-[#89DDFF] text-pink-600">{`"`}</span>
50-
<span class="dark:text-[#C3E88D] text-rose-500">netlify</span>
51-
<span class="dark:text-[#89DDFF] text-pink-600">{`"`}</span>
52-
<br />
53-
<span class="dark:text-[#89DDFF] text-pink-600">
54-
{" "}
55-
{`}`}
56-
</span>
57-
<br />
58-
<span class="dark:text-[#89DDFF] text-pink-600">{`})`}</span>
59-
</code>
60-
</pre>
21+
<div class="grid place-items-center gap-4 sm:gap-6">
22+
<a href="https://anoma.ly/" target="_blank" rel="noopener">
23+
<img src="/anomaly-logo.png" alt="Anomaly Innovations" class="w-32 h-32" />
24+
</a>
6125
</div>
62-
<ul class="pt-16 grid grid-cols-2 place-items-center gap-4 sm:gap-6 md:grid-cols-3">
63-
<Index each={SPONSORED_BY}>
64-
{platform => (
65-
<li>
66-
<a
67-
class={`group size-36 sm:size-44 grid gap-5 place-items-center border-2 rounded-md py-4 px-2 hover:border-sky-950 dark:border-sky-950 border-sky-200 dark:hover:border-sky-200 z-10 relative`}
68-
href={platform().url}
69-
target="_blank"
70-
rel="noopener"
71-
>
72-
{platform().icon}
73-
<span class="text-sm">{platform().name}</span>
74-
</a>
75-
</li>
76-
)}
77-
</Index>
78-
<li>...and over 20 others!</li>
79-
</ul>
8026
</section>
8127
);
8228
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { type JSX, type ParentComponent, mergeProps, splitProps } from "solid-js";
2+
import { cn } from "~/lib/utils";
3+
4+
export interface AnimatedShinyTextProps extends JSX.HTMLAttributes<HTMLParagraphElement> {
5+
shimmerWidth?: number;
6+
}
7+
8+
export const AnimatedShinyText: ParentComponent<AnimatedShinyTextProps> = props => {
9+
const [_localProps, forwardProps] = splitProps(props, ["shimmerWidth", "class", "children"]);
10+
const localProps = mergeProps({ shimmerWidth: 100 }, _localProps);
11+
12+
return (
13+
<p
14+
style={{
15+
"--shiny-width": `${localProps.shimmerWidth}px`
16+
}}
17+
class={cn(
18+
"mx-auto max-w-md text-neutral-600/70 dark:text-neutral-400/70",
19+
20+
// Shine effect
21+
"animate-shiny-text bg-clip-text bg-no-repeat [background-position:0_0] [background-size:var(--shiny-width)_100%] [transition:background-position_1s_cubic-bezier(.6,.6,0,1)_infinite]",
22+
23+
// Shine gradient
24+
"bg-gradient-to-r from-transparent via-black/80 via-50% to-transparent dark:via-white/80",
25+
26+
localProps.class
27+
)}
28+
{...forwardProps}
29+
>
30+
{localProps.children}
31+
</p>
32+
);
33+
};
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
import { type JSX } from "solid-js";
2+
import { cn } from "~/lib/utils";
23

34
interface Props {
45
stylesOverride?: string;
56
children: JSX.Element;
67
}
78

8-
const DEFAULT_STYLES =
9-
"text-3xl text-center text-sky-800 dark:text-sky-200/80 px-2";
9+
const DEFAULT_STYLES = "text-3xl text-center text-sky-800 dark:text-sky-200/80 px-2";
1010

1111
export function SectionTitle(props: Props) {
12-
return (
13-
<h2 class={`${DEFAULT_STYLES} ${props.stylesOverride}`}>
14-
{props.children}
15-
</h2>
16-
);
12+
return <h2 class={cn(DEFAULT_STYLES, props.stylesOverride)}>{props.children}</h2>;
1713
}

packages/landing-page/tailwind.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,18 @@ export default {
2020
"accordion-up": {
2121
from: { height: "var(--kb-accordion-content-height)" },
2222
to: { height: "0" }
23+
},
24+
"shiny-text": {
25+
"0%, 90%, 100%": {
26+
backgroundPosition: "calc(-100% - var(--shiny-width)) 0"
27+
},
28+
"30%, 60%": {
29+
backgroundPosition: "calc(100% + var(--shiny-width)) 0"
30+
}
2331
}
2432
},
2533
animation: {
34+
"shiny-text": "shiny-text 8s infinite",
2635
"accordion-down": "accordion-down 0.2s ease-out",
2736
"accordion-up": "accordion-up 0.2s ease-out"
2837
}

0 commit comments

Comments
 (0)