Skip to content

Commit d0b6807

Browse files
authored
Add more teasing (#257)
1 parent 9737e7c commit d0b6807

3 files changed

Lines changed: 20 additions & 7 deletions

File tree

src/components/widgets/FeaturesList.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ const {
3939
</thead>
4040
<tbody>
4141
{
42-
specs.map(({ feature, isHeader, isSoon, isPro, values, available }) => (
42+
specs.map(({ feature, isHeader, isSoon, isPro, values, available, isV7 }) => (
4343
<tr class={(isHeader && ' bg-neutral-50 dark:bg-neutral-800') || ''}>
44-
{isHeader && <td class="p-2 font-semibold"><Fragment set:html={feature} />{ isSoon && <Soon/> }{ isPro && <Pro/> }</td>}
44+
{isHeader && <td class="p-2 font-semibold"><Fragment set:html={feature} />{ isSoon && <Soon/> }{ isPro && <Pro/> }{ isV7 && <Soon tag="v7"/> }</td>}
4545
{isHeader && products.map(() => <td class="p-2 text-center" />)}
46-
{!isHeader && <td class="px-2 text-muted"><Fragment set:html={feature} />{ isSoon && <Soon/> }</td> }
46+
{!isHeader && <td class="px-2 text-muted"><Fragment set:html={feature} />{ isSoon && <Soon/> }{ isV7 && <Soon tag="v7"/> }</td> }
4747
{!isHeader && values && (values.map((val) => <td class="px-2 text-muted text-center">{val}</td>))}
4848
{!isHeader && available && !isPro && available.map((yes) => <td class="px-2 text-muted text-center">{yes && <Tick />}</td>)}
4949
{!isHeader && available && isPro && available.map((yes) => <td class="px-2 text-muted text-center">{yes && <Tick classes={{icon_bg: 'bg-amber-200/80 dark:bg-amber-800', icon: 'text-amber-600 dark:text-amber-100'}} />}</td>)}

src/pages/get-supporter-edition.astro

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ const metadata = {
138138
{
139139
feature: '<span class="text-black dark:text-neutral-400/50 font-bold">Dark</span> and <span class="text-neutral-500 dark:text-neutral-100 font-bold">Light</span> themes',
140140
available: [true, true],
141-
isV6: true,
142141
},
143142
{
144143
feature: 'Unlimited photo upload',
@@ -156,12 +155,16 @@ const metadata = {
156155
feature: 'Multiple languages supported<sup>*</sup><sup>*</sup>',
157156
available: [true, true],
158157
},
158+
{
159+
feature: 'Worker mode (asynchronous processing)',
160+
available: [true, true],
161+
isV7: true,
162+
},
159163
{
160164
feature: 'Hide Lychee <span class="text-sky-600 dark:text-sky-300">SE</span> call for actions <sup>*</sup><sup>*</sup><sup>*</sup>',
161165
available: [true, false],
162166
},
163167

164-
165168
{
166169
feature: 'Photo management',
167170
isHeader: true,
@@ -198,6 +201,11 @@ const metadata = {
198201
feature: 'Hotlink protection',
199202
available: [true, true],
200203
},
204+
{
205+
feature: 'Photo rating (1 to 5 stars)',
206+
available: [true, true],
207+
isV7: true,
208+
},
201209
{
202210
feature: 'AES-Secured links',
203211
available: [false, true],
@@ -219,6 +227,11 @@ const metadata = {
219227
feature: 'Smart albums',
220228
available: [true, true],
221229
},
230+
{
231+
feature: 'Smart albums per user',
232+
available: [true, true],
233+
isV7: true,
234+
},
222235
{
223236
feature: 'Unlimited photos per album',
224237
available: [true, true],
@@ -538,14 +551,14 @@ const metadata = {
538551
{
539552
feature: 'Statistics on your installation',
540553
available: [false, true],
541-
isV6: true,
542554
},
543555

544556
{
545557
feature: 'Webshop integration ****',
546558
isHeader: true,
547559
isSoon: true,
548560
isPro: true,
561+
isV7: true,
549562
},
550563
{
551564
feature: 'Custom pricing (per size & license type)',

src/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export interface Features extends Omit<Headline, 'classes'>, Widget {
257257
export interface Spec {
258258
feature: string;
259259
isHeader?: boolean;
260-
isV6?: boolean;
260+
isV7?: boolean;
261261
isSoon?: boolean;
262262
isPro?: boolean;
263263
values?: string[];

0 commit comments

Comments
 (0)