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"; +--- + +
+
+
+ +
+ Download +
+
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} +