Skip to content

Commit 13bcebd

Browse files
committed
more features
1 parent 9737e7c commit 13bcebd

3 files changed

Lines changed: 15 additions & 6 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: 11 additions & 2 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',
@@ -198,6 +197,11 @@ const metadata = {
198197
feature: 'Hotlink protection',
199198
available: [true, true],
200199
},
200+
{
201+
feature: 'Photo rating (1 to 5 stars)',
202+
available: [true, true],
203+
isV7: true,
204+
},
201205
{
202206
feature: 'AES-Secured links',
203207
available: [false, true],
@@ -219,6 +223,11 @@ const metadata = {
219223
feature: 'Smart albums',
220224
available: [true, true],
221225
},
226+
{
227+
feature: 'Smart albums per user',
228+
available: [true, true],
229+
isV7: true,
230+
},
222231
{
223232
feature: 'Unlimited photos per album',
224233
available: [true, true],
@@ -538,14 +547,14 @@ const metadata = {
538547
{
539548
feature: 'Statistics on your installation',
540549
available: [false, true],
541-
isV6: true,
542550
},
543551

544552
{
545553
feature: 'Webshop integration ****',
546554
isHeader: true,
547555
isSoon: true,
548556
isPro: true,
557+
isV7: true,
549558
},
550559
{
551560
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)