From 34e32abe51be631f3f70a6de4e0230ac9b226d08 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Mon, 26 Jun 2023 14:10:51 +0200 Subject: [PATCH] fix: prevent history mess (#70) * chore: add favicon * fix: home article url * fix: prevent duplicated history entry (unencoded & encoded) * fix: prevent own app * remove console.log * fix: prevent showing cached cozy --- README.md | 5 +---- favicon.ico | Bin 0 -> 4286 bytes src/components/Footer.astro | 1 + src/components/Library.astro | 21 ++++++++++++++++----- src/layouts/Layout.astro | 9 ++------- src/pages/index.astro | 2 +- src/utils/library.ts | 9 ++++++--- 7 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 favicon.ico diff --git a/README.md b/README.md index 1a5ea2b..e160898 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

Cozy 🧸 Uh, we need a new name! See why here

+

Cozy Uh, we need a new name! See why here

Last Commit @@ -58,6 +58,3 @@ It doesn't exist yet... I'll probably get to creating a browser extension at som ## Contributing Speaking of PRs being welcome, see our [CONTRIBUTING guide](/CONTRIBUTING.md). - -🧸 - diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..85a9aac9664c2e409f6b24ed07e31bfa0525abdc GIT binary patch literal 4286 zcmc&&OHUI~7#;tCE7v4$T=^UP4)s92|6=vXP9AL$MfAnTA-8xhR$uK?L2zV`5yPX=c}e2;;X4ilXvaKVNE-t zY1%O!yriArA=lO5y`#s=NBM%LVTTcg9)eOH?))f9A8x{Uc@BE-$=XNXDHKMpVCBnm z_S#`glvtrT4bPz^&nvo)#2dcfy&;AYAzui$WBv!krs|InoKer+II<)&3v{J#z+D z?g0YxSA7nl4`+4|CVi*N@2cn7*LRt#6{WG;2#deB<>3B&17oP2&n95^7QST;R_ z+3N_Yt7QcGywc6dYOXppg>~1N9foLoHK=!;@2{v$+78|i)U=|j!_rb2d+j}RbXcG6 zQ3urFz3)2NqI9*FpV)xCei9f9D89dOKt5<@PjXRdd(hw84bdcugVLc14z{Zp zgZ;%$!#CztEJUmBFDJ>L*wVj=wvX6f#2wNvNlr>XxhD>ywYj(3)Ybm-H@2Z+T@AMNo_dPn nyKb1n9WeUaV6cvforTdZYPmZ~Px{ofk>JL#dHsKYv_Ag>$U2bG literal 0 HcmV?d00001 diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 7933534..d4790b6 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -12,6 +12,7 @@ import Icon from 'astro-iconify' Hand-crafted with by Ayo Ayco
Star on GitHub to support! +

All rights reserved to content owners.
diff --git a/src/components/Library.astro b/src/components/Library.astro index 7c23cb1..78ce5c8 100644 --- a/src/components/Library.astro +++ b/src/components/Library.astro @@ -17,19 +17,30 @@ const {routerOutlet, skipSave = false} = Astro.props;