diff --git a/src/components/Library.astro b/src/components/Library.astro new file mode 100644 index 0000000..55761ed --- /dev/null +++ b/src/components/Library.astro @@ -0,0 +1,30 @@ +
+ + \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 59577ea..c2cf81c 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,6 +3,7 @@ import { extract } from "@extractus/article-extractor"; import AddressBar from "../components/AddressBar.astro"; import Post from "../components/Post.astro"; import Layout from "../layouts/Layout.astro"; +import Library from "../components/Library.astro"; const params = Astro.url.searchParams; const url = params.get('url') || ''; @@ -16,8 +17,10 @@ try { content: "

The article extractor did not get any result.

", }; } + --- + {url && }