diff --git a/src/components/Jumbotron.astro b/src/components/Jumbotron.astro new file mode 100644 index 0000000..087c857 --- /dev/null +++ b/src/components/Jumbotron.astro @@ -0,0 +1,15 @@ +--- +--- + +

Cozy

+ + diff --git a/src/components/SimpleAddressBar.astro b/src/components/SimpleAddressBar.astro new file mode 100644 index 0000000..20e09d4 --- /dev/null +++ b/src/components/SimpleAddressBar.astro @@ -0,0 +1,93 @@ +--- +import Icon from "astro-iconify"; +import SettingsPopover from "./SettingsPopover.astro"; + +export interface Props { + url: string | null; +} + +const placeholder = "Type the article URL here"; +const { url } = Astro.props; +--- + +
+
+ +
+ +
+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 1cbafa7..8f7e7fe 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,11 +1,12 @@ --- import Serialize from "@ayco/astro-resume"; import { ArticleData, extract } from "@extractus/article-extractor"; -import AddressBar from "../components/AddressBar.astro"; +import SimpleAddressBar from "../components/SimpleAddressBar.astro"; import Post from "../components/Post.astro"; import Layout from "../layouts/Layout.astro"; import Library from "../components/Library.astro"; import Footer from "../components/Footer.astro"; +import Jumbotron from "../components/Jumbotron.astro"; export const prerender = false; @@ -30,7 +31,8 @@ if (url) --- - + +
@@ -38,4 +40,4 @@ if (url)