diff --git a/README.md b/README.md index 8ab1b95..8973680 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ AluLogo

- - # Alu Alu is a beautiful, functional, and sleek web proxy, which focuses on customization and ease of use. @@ -19,7 +17,8 @@ Alu is a beautiful, functional, and sleek web proxy, which focuses on customizat - 🔍 Multiple Search Engines to pick from # Deploying Alu -Deploying Alu is about as simple as it gets, from your terminal, type + +Deploying Alu is about as simple as it gets, from your terminal, type `git clone https://github.com/wearrrrr/Alu --recursive-submodules` diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 9167869..b3c632d 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,5 +1,6 @@ --- import { getLangFromUrl, useTranslations } from "../i18n/utils"; +import Link from "./Link.astro"; import WaveSVG from "./WaveSVG.astro"; const lang = getLangFromUrl(Astro.url); const t = useTranslations(lang); @@ -15,52 +16,52 @@ const t = useTranslations(lang); - - - - diff --git a/src/components/Link.astro b/src/components/Link.astro new file mode 100644 index 0000000..f1b144b --- /dev/null +++ b/src/components/Link.astro @@ -0,0 +1,19 @@ +--- +interface LinkProps { + href: string; + newTab?: boolean; + linkTextContent: string; +} + +const { href, newTab, linkTextContent } = Astro.props; +const target = newTab ? "_blank" : "_self"; +const rel = newTab ? "noopener noreferrer" : ""; +--- + +{linkTextContent} + + diff --git a/src/components/SettingsContent/CloakingTab.astro b/src/components/SettingsContent/CloakingTab.astro index d59f877..511b6f9 100644 --- a/src/components/SettingsContent/CloakingTab.astro +++ b/src/components/SettingsContent/CloakingTab.astro @@ -2,7 +2,10 @@ import Input from "../Input.astro"; const presetCloaks = [ - { cloakTitle: "None", favicon: "/favicon.png" }, + { + cloakTitle: "None", + favicon: "/favicon.png", + }, { cloakTitle: "Google", favicon: