diff --git a/app/src-tauri/src/main.rs b/app/src-tauri/src/main.rs
index 8086c5c..60894e8 100644
--- a/app/src-tauri/src/main.rs
+++ b/app/src-tauri/src/main.rs
@@ -13,7 +13,6 @@ use creator_core::{
get_values_at_frame_range_from_animated_float_vec3,
},
timeline::calculate_timeline_at_curr_frame,
- *,
},
fonts::fonts::{get_system_families, get_system_font, get_system_fonts},
};
diff --git a/web/src/components/Button.astro b/web/src/components/Button.astro
index 33f55b7..eadd72d 100644
--- a/web/src/components/Button.astro
+++ b/web/src/components/Button.astro
@@ -3,7 +3,7 @@ import type { HTMLAttributes } from "astro/types";
import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/lib/utils";
-const button = cva(
+export const button = cva(
cn(
"inline-flex items-center justify-center rounded-md text-sm font-medium",
"transition-colors focus-visible:outline-none",
@@ -15,6 +15,7 @@ const button = cva(
variants: {
variant: {
default: "bg-main text-neutral hocus:bg-main/80",
+ primary: "bg-primary/50 text-main hocus:bg-primary/80",
destructive:
"bg-error text-destructive-foreground hocus:bg-destructive/90",
outline:
diff --git a/web/src/components/Layout/Header.astro b/web/src/components/Layout/Header.astro
new file mode 100644
index 0000000..d14341d
--- /dev/null
+++ b/web/src/components/Layout/Header.astro
@@ -0,0 +1,18 @@
+---
+import Button, { button } from "../Button.astro";
+import TempbladeLogo from "components/Logo/tempblade.astro";
+---
+
+
diff --git a/web/src/components/Logo/tempblade.astro b/web/src/components/Logo/tempblade.astro
new file mode 100644
index 0000000..edf4f91
--- /dev/null
+++ b/web/src/components/Logo/tempblade.astro
@@ -0,0 +1,43 @@
+
diff --git a/web/src/layouts/RootLayout.astro b/web/src/layouts/RootLayout.astro
index 723fa92..c77d017 100644
--- a/web/src/layouts/RootLayout.astro
+++ b/web/src/layouts/RootLayout.astro
@@ -1,5 +1,6 @@
---
import Footer from "@/components/Layout/Footer.astro";
+import Header from "@/components/Layout/Header.astro";
import "@/styles/global.css";
export interface Props {
@@ -24,6 +25,7 @@ const { title } = Astro.props;
{title}
+
diff --git a/web/src/sections/Features.astro b/web/src/sections/Features.astro
index c0fb8f1..5b3f7a5 100644
--- a/web/src/sections/Features.astro
+++ b/web/src/sections/Features.astro
@@ -69,6 +69,4 @@ const features: Array = [
);
});
}
-
- console.log(cardsContainer);
diff --git a/web/src/sections/Introduction.astro b/web/src/sections/Introduction.astro
index 655bcd5..7ba6132 100644
--- a/web/src/sections/Introduction.astro
+++ b/web/src/sections/Introduction.astro
@@ -2,7 +2,7 @@
import Heading from "@/components/Heading.astro";
---
-
+
The Next Generation Motion Design Tool - Free & Open Source
@@ -28,3 +28,26 @@ import Heading from "@/components/Heading.astro";
patreon!
+
+
diff --git a/web/src/sections/Landing.astro b/web/src/sections/Landing.astro
index 9ae141d..e375f05 100644
--- a/web/src/sections/Landing.astro
+++ b/web/src/sections/Landing.astro
@@ -1,5 +1,5 @@
---
-import Button from "@/components/Button.astro";
+import TempbladeLogo from "@/components/Logo/tempblade.astro";
---
@@ -8,29 +8,47 @@ import Button from "@/components/Button.astro";
class="z-0 absolute top-0 flex items-center w-full h-full justify-center object-center object-contain"
id="landing-bg-container"
>
-
-
-
- tempblade Creator
+
+
+
+ Creator
-
- Rust Based Open Source Motion Design Editor & Toolkit
+
+
+ Rust Based Open Source
+
+ Motion Design Editor & Toolkit
diff --git a/web/tailwind.config.cjs b/web/tailwind.config.cjs
index 767ed0f..b43d158 100644
--- a/web/tailwind.config.cjs
+++ b/web/tailwind.config.cjs
@@ -1,3 +1,5 @@
+const plugin = require("tailwindcss/plugin");
+
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
@@ -55,5 +57,9 @@ module.exports = {
},
},
},
- plugins: [],
+ plugins: [
+ plugin(function ({ addVariant }) {
+ addVariant("hocus", ["&:hover", "&:focus"]);
+ }),
+ ],
};