diff --git a/biome.json b/biome.json index e063e4a..1f2f33b 100644 --- a/biome.json +++ b/biome.json @@ -20,16 +20,26 @@ "useEditorconfig": true }, "files": { - "ignore": [ - "node_modules", - ".git", - "dist" - ] + "ignore": ["node_modules", ".git", "dist"] }, "javascript": { "formatter": { "quoteStyle": "single", "semicolons": "asNeeded" } + }, + "assists": { + "actions": { + "source": { + "sortJsxProps": "on" + } + } + }, + "vcs": { + "enabled": true, + "clientKind": "git", + "defaultBranch": "main", + "root": ".", + "useIgnoreFile": true } } diff --git a/package.json b/package.json index 06bc126..909318b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "wrangler": "wrangler", "astro": "astro", "lint": "biome lint ./src", - "format": "biome format ./src --write", + "format": "biome format ./src", "prepare": "husky" }, "dependencies": { @@ -45,8 +45,6 @@ "wrangler": "^3.94.0" }, "lint-staged": { - "src/**/*.{ts,tsx,astro,js,jsx}": [ - "biome check --write ./src" - ] + "src/**/*.{ts,tsx,astro,js,jsx}": ["biome check --write ./src"] } } diff --git a/public/funding.json b/public/funding.json index dc9b51d..bbc60c2 100644 --- a/public/funding.json +++ b/public/funding.json @@ -1,68 +1,70 @@ { - "version": "v1.0.0", - "entity": { - "type": "individual", - "role": "owner", - "name": "Mauro", - "email": "funding@zen-browser.com", - "description": "Im the developer of Zen Browser, a web browser that is fast, secure, and easy to use. I am passionate about creating software that makes people's lives easier and more enjoyable.", - "webpageUrl": { - "url": "https://cheff.dev", - "wellKnown": "https://cheff.dev/.well-known/funding-manifest-urls" - } - }, - "projects": [{ - "guid": "zen-browser", - "name": "Zen", - "description": "Zen is a beautiful, fast, and productive web browser. It is designed to be packed with features that make it easy to use and navigate. Zen is built on the latest Firefox engine, providing speed, privacy, and security.", - "webpageUrl": { - "url": "https://zen-browser.app" - }, - "repositoryUrl": { - "url": "https://github.com/zen-browser/desktop", - "wellKnown": "https://github.com/zen-browser/desktop/blob/dev/.well-known/funding-manifest-urls" - }, - "licenses": ["MPL-2.0"], - "tags": ["browser", "web", "desktop", "open-source"] - }], - "funding": { - "channels": [ - { - "guid": "patreon", - "name": "Patreon", - "description": "Patreon is a membership platform that makes it easy for artists and creators to get paid.", - "url": "https://www.patreon.com/zen_browser", - "type": "other" - }, - { - "guid": "ko-fi", - "name": "Ko-fi", - "description": "Ko-fi is a platform that allows creators to receive donations from their fans.", - "url": "https://ko-fi.com/zen_browser", - "type": "other" - } - ], - "plans": [ - { - "guid": "licenses-and-hosting", - "status": "active", - "name": "Licenses and hosting", - "description": "Help me pay for the licenses and hosting of the project. This includes self-hosting build servers, cloudflare services, and software lienses.", - "amount": 420, - "currency": "EUR", - "frequency": "yearly", - "channels": ["patreon", "ko-fi"] - }, - { - "guid": "angel-plan", - "status": "active", - "name": "Goodwill plan", - "description": "Pay anything you wish to show your goodwill for the project.", - "amount": 0, - "currency": "EUR", - "frequency": "one-time", - "channels": ["patreon", "ko-fi"] - } - ] + "version": "v1.0.0", + "entity": { + "type": "individual", + "role": "owner", + "name": "Mauro", + "email": "funding@zen-browser.com", + "description": "Im the developer of Zen Browser, a web browser that is fast, secure, and easy to use. I am passionate about creating software that makes people's lives easier and more enjoyable.", + "webpageUrl": { + "url": "https://cheff.dev", + "wellKnown": "https://cheff.dev/.well-known/funding-manifest-urls" } + }, + "projects": [ + { + "guid": "zen-browser", + "name": "Zen", + "description": "Zen is a beautiful, fast, and productive web browser. It is designed to be packed with features that make it easy to use and navigate. Zen is built on the latest Firefox engine, providing speed, privacy, and security.", + "webpageUrl": { + "url": "https://zen-browser.app" + }, + "repositoryUrl": { + "url": "https://github.com/zen-browser/desktop", + "wellKnown": "https://github.com/zen-browser/desktop/blob/dev/.well-known/funding-manifest-urls" + }, + "licenses": ["MPL-2.0"], + "tags": ["browser", "web", "desktop", "open-source"] + } + ], + "funding": { + "channels": [ + { + "guid": "patreon", + "name": "Patreon", + "description": "Patreon is a membership platform that makes it easy for artists and creators to get paid.", + "url": "https://www.patreon.com/zen_browser", + "type": "other" + }, + { + "guid": "ko-fi", + "name": "Ko-fi", + "description": "Ko-fi is a platform that allows creators to receive donations from their fans.", + "url": "https://ko-fi.com/zen_browser", + "type": "other" + } + ], + "plans": [ + { + "guid": "licenses-and-hosting", + "status": "active", + "name": "Licenses and hosting", + "description": "Help me pay for the licenses and hosting of the project. This includes self-hosting build servers, cloudflare services, and software lienses.", + "amount": 420, + "currency": "EUR", + "frequency": "yearly", + "channels": ["patreon", "ko-fi"] + }, + { + "guid": "angel-plan", + "status": "active", + "name": "Goodwill plan", + "description": "Pay anything you wish to show your goodwill for the project.", + "amount": 0, + "currency": "EUR", + "frequency": "one-time", + "channels": ["patreon", "ko-fi"] + } + ] + } } diff --git a/src/components/BackButton.astro b/src/components/BackButton.astro index 2397d41..497dec0 100644 --- a/src/components/BackButton.astro +++ b/src/components/BackButton.astro @@ -1,5 +1,5 @@ --- -import { ArrowLeft } from 'lucide-astro' +import ArrowLeftIcon from '~/icons/ArrowLeftIcon.astro' import { getLocale, getUI } from '~/utils/i18n' const locale = getLocale(Astro) @@ -15,6 +15,6 @@ const { onclick="window.history.back()" class="mb-8 flex w-min items-center gap-2" > - + {slug.back} diff --git a/src/components/Community.astro b/src/components/Community.astro index 293c729..a133992 100644 --- a/src/components/Community.astro +++ b/src/components/Community.astro @@ -1,11 +1,12 @@ --- import Image from 'astro/components/Image.astro' -import { Check, Github } from 'lucide-astro' import { motion } from 'motion/react' import { getTitleAnimation } from '~/animations' import ComImage from '~/assets/ComImage.png' import Button from '~/components/Button.astro' import Description from '~/components/Description.astro' +import CheckIcon from '~/icons/CheckIcon.astro' +import GitHubIcon from '~/icons/GitHubIcon.astro' import { getLocale, getUI } from '~/utils/i18n' const locale = getLocale(Astro) @@ -19,9 +20,9 @@ const {
- + {community.title[0]} @@ -35,16 +36,14 @@ const { {community.description} -
+
@@ -53,7 +52,7 @@ const { {...getTitleAnimation(1)} className="flex items-center gap-4" > - + {community.lists.simpleYetPowerful.title} - + {community.lists.privateAndAlwaysUpToDate.title}
{community.images.community.alt}
diff --git a/src/components/Features.astro b/src/components/Features.astro index 2ba4965..e86def6 100644 --- a/src/components/Features.astro +++ b/src/components/Features.astro @@ -26,7 +26,7 @@ const descriptions = Object.values(features.featureTabs).map((tab) => tab.descri
@@ -42,9 +42,7 @@ const descriptions = Object.values(features.featureTabs).map((tab) => tab.descri {features.description} -
+
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 337cb20..0005aaa 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,9 +1,9 @@ --- -import { ArrowRight } from 'lucide-astro' import Button from '~/components/Button.astro' import Circles from '~/components/Circles.astro' import Description from '~/components/Description.astro' import SocialMediaStrip from '~/components/SocialMediaStrip.astro' +import ArrowRightIcon from '~/icons/ArrowRightIcon.astro' import { getLocale, getPath, getUI } from '~/utils/i18n' const locale = getLocale(Astro) @@ -15,11 +15,13 @@ const {