From 5c155155b0a26391f463f462f3ea1de6fa3e16a2 Mon Sep 17 00:00:00 2001
From: Leonard Lesinski <84378319+Le0X8@users.noreply.github.com>
Date: Mon, 12 Aug 2024 15:29:59 +0200
Subject: [PATCH] Added custom branding
---
package-lock.json | 26 +++++--------------------
package.json | 4 +---
src/app.json | 33 +++++++++++++++++++++++---------
src/pages/about.md | 0
src/pages/plus_.md | 9 +++++++++
src/pages/plus_pricing.md | 35 ++++++++++++++++++++++++++++++++++
src/routes/+layout.svelte | 26 ++++++++++++++++++-------
src/routes/[...path]/+page.ts | 18 +++--------------
src/styles/global.scss | 4 +---
static/favicon.png | Bin 1571 -> 45183 bytes
static/logo.png | Bin 0 -> 47047 bytes
tailwind.config.ts | 4 +---
12 files changed, 98 insertions(+), 61 deletions(-)
create mode 100644 src/pages/about.md
create mode 100644 src/pages/plus_.md
create mode 100644 src/pages/plus_pricing.md
create mode 100644 static/logo.png
diff --git a/package-lock.json b/package-lock.json
index e6e802e..dd92bda 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,9 +8,7 @@
"name": "sveltekit-template",
"version": "0.0.1",
"devDependencies": {
- "@fontsource-variable/noto-sans": "^5.0.5",
- "@fontsource-variable/noto-sans-mono": "^5.0.20",
- "@fontsource-variable/noto-serif": "^5.0.6",
+ "@fontsource-variable/readex-pro": "^5.0.13",
"@fontsource/noto-color-emoji": "^5.0.27",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
@@ -568,24 +566,10 @@
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
- "node_modules/@fontsource-variable/noto-sans": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/@fontsource-variable/noto-sans/-/noto-sans-5.0.5.tgz",
- "integrity": "sha512-SVixgckO4DIgvFJ+vTRZEj8vTvjZceuGOhKMgnETItKELl1tHzk+ZFatSTCofPJ1zjhTwqvHrHkFeCbUGiqaRg==",
- "dev": true,
- "license": "OFL-1.1"
- },
- "node_modules/@fontsource-variable/noto-sans-mono": {
- "version": "5.0.20",
- "resolved": "https://registry.npmjs.org/@fontsource-variable/noto-sans-mono/-/noto-sans-mono-5.0.20.tgz",
- "integrity": "sha512-Mik/wbKjiir7t+KBaDZnPZ5GjDnPOXpMF7obmFeyRa528ZsrKcFiSn4ZvArrn3sJMCp/k23wakOcXOWlGNc9cw==",
- "dev": true,
- "license": "OFL-1.1"
- },
- "node_modules/@fontsource-variable/noto-serif": {
- "version": "5.0.6",
- "resolved": "https://registry.npmjs.org/@fontsource-variable/noto-serif/-/noto-serif-5.0.6.tgz",
- "integrity": "sha512-SG+llg2fY8ODJY3XDOXYgcpRT3hObv6luSehW92c+n7m1JQpsudLNcjibykW5U4+JGHHTz0KP52ozDXe6FUTjA==",
+ "node_modules/@fontsource-variable/readex-pro": {
+ "version": "5.0.13",
+ "resolved": "https://registry.npmjs.org/@fontsource-variable/readex-pro/-/readex-pro-5.0.13.tgz",
+ "integrity": "sha512-C6d0oaHUoGTo3fV7ghYF0iRSVVyNy1QBvJnD+CB4dzTRUM+ujZuYSNBgH5Cb4d1tVEnBugef2WXzaX0Dc+zq6A==",
"dev": true,
"license": "OFL-1.1"
},
diff --git a/package.json b/package.json
index 0e570e9..35ddfac 100644
--- a/package.json
+++ b/package.json
@@ -12,9 +12,7 @@
"format": "prettier --write ."
},
"devDependencies": {
- "@fontsource-variable/noto-sans": "^5.0.5",
- "@fontsource-variable/noto-sans-mono": "^5.0.20",
- "@fontsource-variable/noto-serif": "^5.0.6",
+ "@fontsource-variable/readex-pro": "^5.0.13",
"@fontsource/noto-color-emoji": "^5.0.27",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
diff --git a/src/app.json b/src/app.json
index 368b4f1..db8878e 100644
--- a/src/app.json
+++ b/src/app.json
@@ -1,24 +1,39 @@
{
- "name": "Your Website Name",
+ "name": "Acridotheres",
"nav": [
- {
- "title": "Home",
- "url": "/"
- },
{
"title": "About",
"url": "/about"
},
{
- "title": "Contact",
- "url": "/contact"
+ "title": "Features",
+ "url": "/features"
+ },
+ {
+ "title": "Acridotheres+",
+ "url": "/plus"
+ },
+ {
+ "title": "Donate",
+ "url": "/donate"
+ }
+ ],
+ "buttons": [
+ {
+ "title": "Download",
+ "url": "/download",
+ "highlight": true
+ },
+ {
+ "title": "Source Code",
+ "url": "/source"
}
],
"footer": {
"copyright": {
- "owner": "Your Name",
+ "owner": "Leonard Lesinski",
"since": 2024,
- "url": "https://example.com/"
+ "url": "https://leox.dev/"
}
}
}
diff --git a/src/pages/about.md b/src/pages/about.md
new file mode 100644
index 0000000..e69de29
diff --git a/src/pages/plus_.md b/src/pages/plus_.md
new file mode 100644
index 0000000..46460d1
--- /dev/null
+++ b/src/pages/plus_.md
@@ -0,0 +1,9 @@
+---
+
+title: Acridotheres+
+
+---
+
+# Acridotheres+
+
+- [Pricing](/plus/pricing)
\ No newline at end of file
diff --git a/src/pages/plus_pricing.md b/src/pages/plus_pricing.md
new file mode 100644
index 0000000..67886a9
--- /dev/null
+++ b/src/pages/plus_pricing.md
@@ -0,0 +1,35 @@
+---
+title: Acridotheres+ pricing
+---
+
+# Acridotheres+ pricing
+
+**Note:** Acridotheres+ is currently not available for purchase yet.
+
+There are three pricing tiers for Acridotheres+:
+
+| Feature | Plus | Pro | Enterprise |
+| ------------------------------- | :-------------: | :-------------: | :--------------------: |
+| Price (per month) | 1 € | 5 € | [Contact us](/contact) |
+| Price (per year) | 10 € (-16% off) | 45 € (-25% off) | [Contact us](/contact) |
+| WebAuth tokens\* / month | 250 | 2000 | 5000+ |
+| Max. active WebAuth entries\*\* | 75 | 750 | 2000+ |
+| Upload storage | 32 GB | 128 GB | 2 TB+ |
+| Backups | Yes | Yes | Yes |
+| 2FA | Yes | Yes | Yes |
+| Is 2FA optional? | Yes | Yes | No |
+| Early access to new features | No | Yes | Yes |
+| Statistics | No | Yes | Yes |
+| Custom subdomain\*\*\* | No | Yes | Yes |
+| Custom branding | No | No | Yes |
+| Priority support | No | No | Yes |
+| Team management | No | No | Yes |
+| Advanced API access\*\*\*\* | No | No | Yes |
+
+\* Different authentication methods can use different amounts of tokens.
+
+\*\* If the limit is reached, no new entries can be added until old ones are deleted.
+
+\*\*\* Custom subdomains can be chosen for [webauth.cc](/plus/webauth), [getarchive.cc](/plus/sharing) and [filedata.cc](/plus/backups).
+
+\*\*\*\* Advanced API access includes the ability to create and manage WebAuth entries, team management and all features that aren't available through the [public API](https://developers.acridotheres.com/api/public).
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 58208a3..f6d6fc0 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -10,21 +10,22 @@
Untitled | {app.name}
+
+
-