diff --git a/package.json b/package.json index 712e04c..071aaa1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "@astrojs/node": "^8.3.3", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "@ayco/astro-resume": "^0.4.2", "@ayco/astro-sw": "^0.8.8", "@extractus/article-extractor": "^8.0.10", "@fastify/middie": "^8.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 37c968f..2da4fae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,9 +23,6 @@ importers: '@astrojs/sitemap': specifier: ^3.1.6 version: 3.1.6 - '@ayco/astro-resume': - specifier: ^0.4.2 - version: 0.4.2(astro@4.15.1(@types/node@22.5.2)(rollup@4.21.2)(sass@1.77.8)(typescript@5.5.4)) '@ayco/astro-sw': specifier: ^0.8.8 version: 0.8.8 @@ -124,11 +121,6 @@ packages: '@astrojs/yaml2ts@0.2.1': resolution: {integrity: sha512-CBaNwDQJz20E5WxzQh4thLVfhB3JEEGz72wRA+oJp6fQR37QLAqXZJU0mHC+yqMOQ6oj0GfRPJrz6hjf+zm6zA==} - '@ayco/astro-resume@0.4.2': - resolution: {integrity: sha512-blbFmMxkvLqZ0Fw78ySrfeysdhTlaOIsR7V2Fqd1F20Q0B3SCxFomcNvRMw1j45+tBovxeS44XBtEarhBoQXfw==} - peerDependencies: - astro: ^4.12.2 - '@ayco/astro-sw@0.8.8': resolution: {integrity: sha512-0wHLwfT5r45ZjO3kqh2dRTDDlFYjQq/SWSrmtSddZXcV3oqRN0C69LpzohPvwG2Yjfizmt6/IX7aH9LbWP/gbQ==} engines: {node: '>=18.0.0'} @@ -3074,10 +3066,6 @@ snapshots: dependencies: yaml: 2.5.0 - '@ayco/astro-resume@0.4.2(astro@4.15.1(@types/node@22.5.2)(rollup@4.21.2)(sass@1.77.8)(typescript@5.5.4))': - dependencies: - astro: 4.15.1(@types/node@22.5.2)(rollup@4.21.2)(sass@1.77.8)(typescript@5.5.4) - '@ayco/astro-sw@0.8.8': dependencies: esbuild: 0.23.1 diff --git a/public/favicon.svg b/public/favicon.svg index 25dbaee..348ba5a 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,10 +1,53 @@ - + + - - - + + + + + + - - - - \ No newline at end of file + diff --git a/src/components/AddressBar.astro b/src/components/AddressBar.astro deleted file mode 100644 index deea1ec..0000000 --- a/src/components/AddressBar.astro +++ /dev/null @@ -1,159 +0,0 @@ ---- -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/components/Library.astro b/src/components/Library.astro index b34e8c1..ab7780f 100644 --- a/src/components/Library.astro +++ b/src/components/Library.astro @@ -1,20 +1,15 @@ --- -import Serialize from '@ayco/astro-resume'; export interface Props { skipSave?: boolean } --- -
+
- - - - diff --git a/src/components/SimpleAddressBar.astro b/src/components/SimpleAddressBar.astro index 5e9b4b6..273d8ba 100644 --- a/src/components/SimpleAddressBar.astro +++ b/src/components/SimpleAddressBar.astro @@ -1,6 +1,5 @@ --- import Icon from "astro-iconify"; -import SettingsPopover from "./SettingsPopover.astro"; export interface Props { url: string | null; diff --git a/src/pages/index.astro b/src/pages/index.astro index 8f7e7fe..78928c7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,5 +1,4 @@ --- -import Serialize from "@ayco/astro-resume"; import { ArticleData, extract } from "@extractus/article-extractor"; import SimpleAddressBar from "../components/SimpleAddressBar.astro"; import Post from "../components/Post.astro"; @@ -10,11 +9,6 @@ import Jumbotron from "../components/Jumbotron.astro"; export const prerender = false; -const appConfig = { - routerOutlet: 'router-outlet', -}; -export type AppConfig = typeof appConfig; - let url = Astro.url.searchParams.get('url'); let article: ArticleData | null = {url: '/'}; @@ -33,11 +27,9 @@ if (url) -
+