update colors remove landing button
This commit is contained in:
parent
0c7eedaee8
commit
233442b099
@ -3,7 +3,7 @@ import type { HTMLAttributes } from "astro/types";
|
|||||||
import { VariantProps, cva } from "class-variance-authority";
|
import { VariantProps, cva } from "class-variance-authority";
|
||||||
|
|
||||||
const card = cva(
|
const card = cva(
|
||||||
"rounded-card transition-colors bg-neutral-accent ring-2 ring-main/10 flex-1",
|
"rounded-card transition-colors bg-neutral-accent ring-2 ring-main/10",
|
||||||
{
|
{
|
||||||
variants: {
|
variants: {
|
||||||
interactable: {
|
interactable: {
|
||||||
@ -23,9 +23,14 @@ export interface Props
|
|||||||
extends HTMLAttributes<"div">,
|
extends HTMLAttributes<"div">,
|
||||||
VariantProps<typeof card> {}
|
VariantProps<typeof card> {}
|
||||||
|
|
||||||
const { interactable = false, padding = true, ...props } = Astro.props;
|
const {
|
||||||
|
interactable = false,
|
||||||
|
padding = true,
|
||||||
|
class: _class,
|
||||||
|
...props
|
||||||
|
} = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<div {...props} class={card({ interactable, padding })}>
|
<div {...props} class={card({ interactable, padding, class: _class })}>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,8 +11,8 @@ export interface Props {
|
|||||||
const { title, description, iconName } = Astro.props;
|
const { title, description, iconName } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Card>
|
<Card class="w-[300px] shrink-0 grow">
|
||||||
<div class="text-main w-12 mb-4">
|
<div class="text-primary w-12 mb-4">
|
||||||
<Icon name={iconName} />
|
<Icon name={iconName} />
|
||||||
</div>
|
</div>
|
||||||
<h4 class="text-lg font-bold">
|
<h4 class="text-lg font-bold">
|
||||||
|
@ -8,13 +8,13 @@ import Features from "@/sections/Features.astro";
|
|||||||
|
|
||||||
<RootLayout title="tempblade - Creator">
|
<RootLayout title="tempblade - Creator">
|
||||||
<main>
|
<main>
|
||||||
<Section>
|
<Section padding={false}>
|
||||||
<Landing />
|
<Landing />
|
||||||
</Section>
|
</Section>
|
||||||
<Section>
|
<Section>
|
||||||
<Introduction />
|
<Introduction />
|
||||||
</Section>
|
</Section>
|
||||||
<Section>
|
<Section padding={false}>
|
||||||
<Features />
|
<Features />
|
||||||
</Section>
|
</Section>
|
||||||
</main>
|
</main>
|
||||||
|
@ -30,8 +30,12 @@ const features: Array<Feature> = [
|
|||||||
---
|
---
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
<div class="p-main py-0">
|
||||||
<Heading>Core Features & Values</Heading>
|
<Heading>Core Features & Values</Heading>
|
||||||
<div class="flex flex-row gap-card">
|
</div>
|
||||||
|
<div
|
||||||
|
class="flex flex-row flex-nowrap overflow-x-auto snap-x snap-mandatory gap-card overflow-y-clip p-main snap-center"
|
||||||
|
>
|
||||||
{
|
{
|
||||||
features.map((feature) => (
|
features.map((feature) => (
|
||||||
<CardFeature
|
<CardFeature
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
import Button from "@/components/Button.astro";
|
import Button from "@/components/Button.astro";
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="h-[80vh] relative">
|
<div class="h-[80vh] relative w-full overflow-x-hidden">
|
||||||
<div
|
<aside
|
||||||
style="filter:blur(50px);"
|
style="filter:blur(50px);"
|
||||||
class="z-0 absolute top-0 flex items-center w-full h-full justify-center object-center object-contain"
|
class="z-0 absolute top-0 flex items-center w-full h-full justify-center object-center object-contain"
|
||||||
id="landing-bg-container"
|
id="landing-bg-container"
|
||||||
>
|
>
|
||||||
<canvas width="1920" height="1080" class="w-[800px]" id="landing-bg"
|
<canvas width="1920" height="1080" class="w-[800px]" id="landing-bg"
|
||||||
></canvas>
|
></canvas>
|
||||||
</div>
|
</aside>
|
||||||
<div
|
<div
|
||||||
class="z-10 relative w-full h-full flex items-center flex-col justify-center"
|
class="z-10 relative w-full h-full flex items-center flex-col justify-center"
|
||||||
>
|
>
|
||||||
@ -21,7 +21,6 @@ import Button from "@/components/Button.astro";
|
|||||||
<h2 class="text-center dark:text-neutral text-xl font-normal">
|
<h2 class="text-center dark:text-neutral text-xl font-normal">
|
||||||
Rust Based Open Source Motion Design Editor & Toolkit
|
Rust Based Open Source Motion Design Editor & Toolkit
|
||||||
</h2>
|
</h2>
|
||||||
<Button>Explore now!</Button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,9 +27,9 @@
|
|||||||
:root {
|
:root {
|
||||||
--color-main: 0 0% 100%;
|
--color-main: 0 0% 100%;
|
||||||
--color-secondary: 0 0% 80%;
|
--color-secondary: 0 0% 80%;
|
||||||
--color-primary: 0 0% 0%;
|
--color-primary: 280 90% 60%;
|
||||||
--color-neutral: 264 100% 6%;
|
--color-neutral: 240 100% 4%;
|
||||||
--color-neutral-accent: 271 100% 10%;
|
--color-neutral-accent: 250 70% 6%;
|
||||||
--color-highlight: 336 100% 60%;
|
--color-highlight: 336 100% 60%;
|
||||||
--color-success: 132 100% 78%;
|
--color-success: 132 100% 78%;
|
||||||
--color-error: 335 100% 62%;
|
--color-error: 335 100% 62%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user