Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/ui/Soon.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
import { twMerge } from 'tailwind-merge';

const { tag = 'Soon <span class="hidden sm:inline">in v6</span>', classes = {} } = Astro.props;
const { tag = 'Soon', classes = {} } = Astro.props;
---

<span class={twMerge("rounded-full text-xs text-white bg-sky-600 dark:text-neutral-200 dark:bg-sky-900 px-2 shadow-sm shadow-black/20 ml-2", classes)}><Fragment set:html={tag} /></span>
7 changes: 0 additions & 7 deletions src/components/ui/Tag.astro

This file was deleted.

7 changes: 3 additions & 4 deletions src/components/widgets/FeaturesList.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Headline from '~/components/ui/Headline.astro';
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
import type { FeaturesList as Props } from '~/types';
import Tick from '../ui/Tick.astro';
import Tag from '../ui/Tag.astro';
import Soon from '../ui/Soon.astro';

const {
Expand Down Expand Up @@ -39,11 +38,11 @@ const {
</thead>
<tbody>
{
specs.map(({ feature, isHeader, isV6, isSoon, values, available }) => (
specs.map(({ feature, isHeader, isSoon, values, available }) => (
<tr class={(isHeader && ' bg-neutral-50 dark:bg-neutral-800') || ''}>
{isHeader && <td class="p-2 font-semibold"><Fragment set:html={feature} />{ (!isSoon && isV6) && <Tag/> }{ isSoon && <Soon/> }</td>}
{isHeader && <td class="p-2 font-semibold"><Fragment set:html={feature} />{ isSoon && <Soon/> }</td>}
{isHeader && products.map(() => <td class="p-2 text-center" />)}
{!isHeader && <td class="px-2 text-muted"><Fragment set:html={feature} />{ (!isSoon && isV6) && <Tag/> }{ isSoon && <Soon/> }</td> }
{!isHeader && <td class="px-2 text-muted"><Fragment set:html={feature} />{ isSoon && <Soon/> }</td> }
{!isHeader && values && (values.map((val) => <td class="px-2 text-muted text-center">{val}</td>))}
{!isHeader && available && available.map((yes) => <td class="px-2 text-muted text-center">{yes && <Tick />}</td>)}
</tr>
Expand Down
63 changes: 40 additions & 23 deletions src/pages/get-supporter-edition.astro
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const metadata = {
title="Full comparison<sup class='text-xl'>*</sup>"
tagline="the essentials and a few more"
products={['Free', 'Lychee <span class="text-sky-600 dark:text-sky-300">SE</span>']}
extra="<sup>*</sup> This table is summary of Lychee's functionalities and does not represent the large amount of configurations available.<br>\
extra="<sup>*</sup> This table is summary of Lychee's functionalities and does not represent the large amount of configurations available (200+).<br>\
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is actually 240+ 😆

<sup>**</sup> Some languages are still untranslated. Any translations provided via <a class='text-sky-600 dark:text-sky-300 underline hover:text-sky-400 dark:hover:text-sky-500' href='https://weblate.lycheeorg.dev'>weblate</a> will be appreciated.<br>\
<sup>***</sup> This option is not available on <span class='text-sky-600 dark:text-sky-300'>SE</span> as they are already hidden."
specs={[
Expand Down Expand Up @@ -160,7 +160,6 @@ const metadata = {
{
feature: 'Hide Lychee <span class="text-sky-600 dark:text-sky-300">SE</span> call for actions <sup>*</sup><sup>*</sup><sup>*</sup>',
available: [true, false],
isV6: true,
},


Expand Down Expand Up @@ -191,32 +190,26 @@ const metadata = {
{
feature: 'Upload by chunks',
available: [true, true],
isV6: true,
},
{
feature: 'Slideshow',
available: [true, true],
isV6: true,
},
{
feature: 'Hotlink protection',
available: [true, true],
isV6: true,
},
{
feature: 'AES-Secured links',
available: [false, true],
isV6: true,
},
{
feature: 'Statistics (download,share, etc.)',
available: [false, true],
isV6: true,
},
{
feature: 'Color palette extraction',
available: [false, true],
isV6: true,
},

{
Expand Down Expand Up @@ -246,22 +239,18 @@ const metadata = {
{
feature: 'Slideshow with previous & next',
available: [true, true],
isV6: true,
},
{
feature: 'Timeline view',
available: [true, true],
isV6: true,
},
{
feature: 'Photo statistics per album',
available: [false, true],
isV6: true,
},
{
feature: 'Statistics (download,share, etc.)',
available: [false, true],
isV6: true,
},

{
Expand All @@ -287,18 +276,45 @@ const metadata = {
{
feature: 'Customizable photo layout',
available: [true, true],
isV6: true,
},
{
feature: 'Customizable timeline',
available: [false, true],
isV6: true,
},

{
feature: 'Flow (display albums in a feed like manner)',
isHeader: true,
isSoon: true,
},
{
feature: 'Standalone page',
available: [true, true],
},
{
feature: 'With access control',
available: [true, true],
},
{
feature: 'Configuatble base album',
Comment thread
ildyria marked this conversation as resolved.
Outdated
available: [true, true],
},
{
feature: 'Custom strategy: opt-in vs auto',
available: [false, true],
},
{
feature: 'Compact mode for flow cards',
available: [false, true],
},
{
feature: 'Extensive flow card customizations',
available: [false, true],
},

{
feature: 'Timeline',
isHeader: true,
isV6: true,
isSoon: true,
},
{
Expand Down Expand Up @@ -333,7 +349,10 @@ const metadata = {
{
feature: 'Registration page',
available: [true, true],
isV6: true,
},
{
feature: 'Invite links',
available: [true, true],
},
{
feature: 'Access rights management per album',
Expand All @@ -346,23 +365,24 @@ const metadata = {
{
feature: 'Space usage per user',
available: [false, true],
isV6: true,
},
{
feature: 'Upload quota per user',
available: [false, true],
isV6: true,
},
{
feature: 'Admin note per user',
available: [false, true],
isV6: true,
},
{
feature: 'Multi-admin support',
available: [false, true],
},

{
feature: 'User groups',
isHeader: true,
isV6: true,
isSoon: true,
},
{
feature: 'Support group admin',
Expand All @@ -371,7 +391,6 @@ const metadata = {
{
feature: 'Support group sharing',
available: [false, true],
isSoon: true,
},


Expand Down Expand Up @@ -406,7 +425,6 @@ const metadata = {
{
feature: 'Personal favourites',
available: [false, true],
isV6: true,
},

{
Expand All @@ -432,7 +450,6 @@ const metadata = {
{
feature: 'Duplicates Finding',
available: [true, true],
isV6: true,
},
{
feature: 'Full manual settings control',
Expand Down