diff --git a/src/components/WindowBox.astro b/src/components/WindowBox.astro new file mode 100644 index 0000000..7a2b383 --- /dev/null +++ b/src/components/WindowBox.astro @@ -0,0 +1,84 @@ +--- +interface Props { + as?: any; + titlebar?: { + title: string; + heading: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; + }; + link?: string; + padding?: "none" | "normal"; + fill?: boolean; +} + +const { + titlebar, + link, + padding = "normal", + fill, + as: Heading = titlebar?.heading, +} = Astro.props; +--- + +
+ { + titlebar && ( +
+ + {titlebar.title.toUpperCase()} + +
+ ) + } +
+ +
+ { + link && ( + + View all entries + + ) + } +
+ + diff --git a/src/styles/acidtheme.css b/src/styles/acidtheme.css index 2eb3509..e9f8c4a 100644 --- a/src/styles/acidtheme.css +++ b/src/styles/acidtheme.css @@ -3,6 +3,7 @@ --c-medium: #005e48; --c-light: #6abc46; --c-accent: #ccdc38; + --g-rainbow: #772a3a, #44276d, #1b297f, #004163, var(--c-medium), #637929; scrollbar-color: var(--c-light) var(--c-black); }