Skip to content

Commit

Permalink
Added a start page
Browse files Browse the repository at this point in the history
  • Loading branch information
Le0X8 committed Aug 12, 2024
1 parent 5c15515 commit 5b27136
Show file tree
Hide file tree
Showing 7 changed files with 186 additions and 4 deletions.
9 changes: 9 additions & 0 deletions src/components/Button.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script lang="ts">
export let url;
</script>

<a
href={url}
class="mt-4 w-fit rounded-lg border-2 border-white p-2 px-3 font-semibold no-underline transition hover:bg-white hover:text-black"
><slot /></a
>
19 changes: 19 additions & 0 deletions src/pages/donate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Support the development
---

# Support the development

You can support the development of Acridotheres by donating to us.

## Directly support the project

You can directly support the project by donating via [Open Collective](https://opencollective.com/acridotheres).

## Support the developers

You can support the developers by donating to them directly:

- [Leonard Lesinski (@Le0X8), maintainer](https://ko-fi.com/le0_x8)

If you are a developer and want to be listed here, please open a pull request on the website repository.
2 changes: 1 addition & 1 deletion src/pages/plus_pricing.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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) |
| Price (per year) | 10 € <span>(-16% off)</span> | 45 € <span>(-25% off)</span> | [Contact us](/contact) |
| WebAuth tokens\* / month | 250 | 2000 | 5000+ |
| Max. active WebAuth entries\*\* | 75 | 750 | 2000+ |
| Upload storage | 32 GB | 128 GB | 2 TB+ |
Expand Down
108 changes: 108 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<script lang="ts">
import Button from '$c/Button.svelte';
</script>

<svelte:head>
<title>Home | Acridotheres</title>
</svelte:head>

<div class="m-0 flex h-[calc(66vh)] items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-6xl font-normal">
This is<br /><span class="fancy font-semibold">Acridotheres</span>.
</h1>
<p class="mb-0 text-xl lowercase">Fast. Modern. Open-source. Secure.</p>
<Button url="/download">Download now</Button>
</div>
<img src="/logo.png" alt="Acridotheres logo" class="m-0 size-96" />
</div>

<div class="mb-16 flex items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-4xl font-normal">Supports Over <span class="fancy font-semibold">100 Formats</span></h1>
<p class="mb-0 text-xl">
Acridotheres offers compatibility with more than 100 file formats, ensuring you can work with
virtually any archive you encounter. Whether it's legacy formats like ZIP or RAR, or more
modern ones like 7Z and PEA, Acridotheres has you covered.
</p>
<Button url="https://developers.acridotheres.com/formats">View supported formats</Button>
</div>
</div>

<div class="my-16 flex items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-4xl font-normal">Introducing the <span class="fancy font-semibold">HSSP format</span></h1>
<p class="mb-0 text-xl">
Experience the next generation of file archiving with the HSSP format, developed exclusively
for Acridotheres. Designed to outperform most of the existing archiving formats, the HSSP
format offers a wide spectrum of supported compression algorithms, faster processing times,
enhanced security and many more features — all fully documented and open-source with new
features being added regularly.
</p>
<Button url="https://developers.acridotheres.com/formats/hssp">Read the specification</Button>
</div>
</div>

<div class="my-16 flex items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-4xl font-normal"><span class="fancy font-semibold">Open Source</span>, Community-Driven</h1>
<p class="mb-0 text-xl">
Acridotheres is built with transparency and collaboration in mind. The CLI, Desktop, Mobile
apps, and Core Library are all fully open-source, allowing you to explore, modify, and
contribute to the project. Whether you're looking to customize your experience or contribute
to a growing community, Acridotheres provides the tools you need.
</p>
<Button url="https://github.com/acridotheres/acridotheres">Contribute on GitHub</Button>
</div>
</div>

<div class="my-16 flex items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-4xl font-normal">Comprehensive <span class="fancy font-semibold">Documentation</span></h1>
<p class="mb-0 text-xl">
Dive into detailed documentation that covers every aspect of Acridotheres, from basic usage to
advanced features. Whether you're a developer looking to integrate Acridotheres into your own
projects, or a power user wanting to master every function, our documentation has you covered.
</p>
<Button url="/guide/get-started">Get Started</Button>
</div>
</div>

<div class="my-16 flex items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-4xl font-normal"><span class="fancy font-semibold">Customizable</span> Compression Settings</h1>
<p class="mb-0 text-xl">
Tailor your archiving process with Acridotheres' advanced compression settings. Choose the
perfect balance between speed and file size, or opt for maximum security with encrypted
archives. Whatever your needs, Acridotheres adapts to you.
</p>
<Button url="/guide/advanced">View Advanced options</Button>
</div>
</div>

<div class="my-16 flex items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-4xl font-normal">Lightweight and <span class="fancy font-semibold">Efficient</span></h1>
<p class="mb-0 text-xl">
Acridotheres is designed to be lightweight, using minimal system resources while delivering
maximum performance. Whether you're working on an older machine or the latest hardware,
Acridotheres ensures smooth operation without compromising on power.
</p>
<p class="mb-0 text-xl">
To achieve that, Acridotheres was written in <a href="https://www.rust-lang.org/">Rust</a>, a very fast & memory safe programming
language.
</p>
</div>
</div>

<div class="my-16 flex items-center">
<div class="flex flex-auto flex-col justify-center">
<h1 class="m-0 text-4xl font-normal"><span class="fancy font-semibold">Cross-Platform</span> Availability</h1>
<p class="mb-0 text-xl">
No matter your operating system, Acridotheres is ready to work. With support for Windows,
macOS, and Linux, as well as mobile compatibility, you can manage your archives seamlessly
across all your devices. (Mobile apps are coming soon!)
</p>
<Button url="/download">Download Acridotheres for Your Platform</Button>
</div>
</div>
4 changes: 3 additions & 1 deletion src/routes/[...path]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@
<title>{data.meta?.title ?? 'Untitled'} | {name}</title>
</svelte:head>

<svelte:component this={data.content} />
<article data-pgname={data.pgname}>
<svelte:component this={data.content} />
</article>
6 changes: 4 additions & 2 deletions src/routes/[...path]/+page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export async function load({ params }) {

return {
content: post.default,
meta: post.metadata
meta: post.metadata,
pgname: params.path.length > 0 ? params.path.split('.')[0].replaceAll('/', '_') : 'index'
};
} catch (e) {
console.error(e);
Expand All @@ -17,7 +18,8 @@ export async function load({ params }) {

return {
content: post.default,
meta: post.metadata
meta: post.metadata,
pgname: params.path.split('.')[0].replaceAll('/', '_') + (params.path.endsWith('/') ? '' : '_')
};
} catch (e) {
console.error(e);
Expand Down
42 changes: 42 additions & 0 deletions src/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,45 @@
.prose-invert {
--tw-prose-invert-body: #fff;
}

[data-pgname="plus_pricing"] {
tr {
&>*:first-child {
border-right: 1px solid #475569;
}

&:nth-child(2)>td>span{
opacity: 0.75;
display: block;
font-size: 0.8rem;
}
}
}

@keyframes fancy-bg {
0% {
background-position: 0% 50%;
}

50% {
background-position: 100% 50%;
}

100% {
background-position: 0% 50%;
}
}

.fancy {
background: linear-gradient(318deg, #1b6da4 0%, #23aeb5 50%, #1b6da4 100%);
background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 200% 200%;
animation: fancy-bg 3s linear infinite;
}

.fancy-bg {
background: linear-gradient(318deg, #1b6da4 0%, #23aeb5 50%, #1b6da4 100%);
background-size: 200% 200%;
animation: fancy-bg 3s linear infinite;
}

0 comments on commit 5b27136

Please sign in to comment.