Skip to content

Commit c4f5597

Browse files
ildyriaCopilot
andauthored
Drop 'new v6 tags' + add more info (#221)
Co-authored-by: Copilot <[email protected]>
1 parent 47c13d5 commit c4f5597

File tree

4 files changed

+44
-35
lines changed

4 files changed

+44
-35
lines changed

src/components/ui/Soon.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import { twMerge } from 'tailwind-merge';
33
4-
const { tag = 'Soon <span class="hidden sm:inline">in v6</span>', classes = {} } = Astro.props;
4+
const { tag = 'Soon', classes = {} } = Astro.props;
55
---
66

77
<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>

src/components/ui/Tag.astro

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/components/widgets/FeaturesList.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import Headline from '~/components/ui/Headline.astro';
33
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
44
import type { FeaturesList as Props } from '~/types';
55
import Tick from '../ui/Tick.astro';
6-
import Tag from '../ui/Tag.astro';
76
import Soon from '../ui/Soon.astro';
87
98
const {
@@ -39,11 +38,11 @@ const {
3938
</thead>
4039
<tbody>
4140
{
42-
specs.map(({ feature, isHeader, isV6, isSoon, values, available }) => (
41+
specs.map(({ feature, isHeader, isSoon, values, available }) => (
4342
<tr class={(isHeader && ' bg-neutral-50 dark:bg-neutral-800') || ''}>
44-
{isHeader && <td class="p-2 font-semibold"><Fragment set:html={feature} />{ (!isSoon && isV6) && <Tag/> }{ isSoon && <Soon/> }</td>}
43+
{isHeader && <td class="p-2 font-semibold"><Fragment set:html={feature} />{ isSoon && <Soon/> }</td>}
4544
{isHeader && products.map(() => <td class="p-2 text-center" />)}
46-
{!isHeader && <td class="px-2 text-muted"><Fragment set:html={feature} />{ (!isSoon && isV6) && <Tag/> }{ isSoon && <Soon/> }</td> }
45+
{!isHeader && <td class="px-2 text-muted"><Fragment set:html={feature} />{ isSoon && <Soon/> }</td> }
4746
{!isHeader && values && (values.map((val) => <td class="px-2 text-muted text-center">{val}</td>))}
4847
{!isHeader && available && available.map((yes) => <td class="px-2 text-muted text-center">{yes && <Tick />}</td>)}
4948
</tr>

src/pages/get-supporter-edition.astro

Lines changed: 40 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const metadata = {
128128
title="Full comparison<sup class='text-xl'>*</sup>"
129129
tagline="the essentials and a few more"
130130
products={['Free', 'Lychee <span class="text-sky-600 dark:text-sky-300">SE</span>']}
131-
extra="<sup>*</sup> This table is summary of Lychee's functionalities and does not represent the large amount of configurations available.<br>\
131+
extra="<sup>*</sup> This table is summary of Lychee's functionalities and does not represent the large amount of configurations available (200+).<br>\
132132
<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>\
133133
<sup>***</sup> This option is not available on <span class='text-sky-600 dark:text-sky-300'>SE</span> as they are already hidden."
134134
specs={[
@@ -160,7 +160,6 @@ const metadata = {
160160
{
161161
feature: 'Hide Lychee <span class="text-sky-600 dark:text-sky-300">SE</span> call for actions <sup>*</sup><sup>*</sup><sup>*</sup>',
162162
available: [true, false],
163-
isV6: true,
164163
},
165164

166165

@@ -191,32 +190,26 @@ const metadata = {
191190
{
192191
feature: 'Upload by chunks',
193192
available: [true, true],
194-
isV6: true,
195193
},
196194
{
197195
feature: 'Slideshow',
198196
available: [true, true],
199-
isV6: true,
200197
},
201198
{
202199
feature: 'Hotlink protection',
203200
available: [true, true],
204-
isV6: true,
205201
},
206202
{
207203
feature: 'AES-Secured links',
208204
available: [false, true],
209-
isV6: true,
210205
},
211206
{
212207
feature: 'Statistics (download,share, etc.)',
213208
available: [false, true],
214-
isV6: true,
215209
},
216210
{
217211
feature: 'Color palette extraction',
218212
available: [false, true],
219-
isV6: true,
220213
},
221214

222215
{
@@ -246,22 +239,18 @@ const metadata = {
246239
{
247240
feature: 'Slideshow with previous & next',
248241
available: [true, true],
249-
isV6: true,
250242
},
251243
{
252244
feature: 'Timeline view',
253245
available: [true, true],
254-
isV6: true,
255246
},
256247
{
257248
feature: 'Photo statistics per album',
258249
available: [false, true],
259-
isV6: true,
260250
},
261251
{
262252
feature: 'Statistics (download,share, etc.)',
263253
available: [false, true],
264-
isV6: true,
265254
},
266255

267256
{
@@ -287,18 +276,45 @@ const metadata = {
287276
{
288277
feature: 'Customizable photo layout',
289278
available: [true, true],
290-
isV6: true,
291279
},
292280
{
293281
feature: 'Customizable timeline',
294282
available: [false, true],
295-
isV6: true,
283+
},
284+
285+
{
286+
feature: 'Flow (display albums in a feed like manner)',
287+
isHeader: true,
288+
isSoon: true,
289+
},
290+
{
291+
feature: 'Standalone page',
292+
available: [true, true],
293+
},
294+
{
295+
feature: 'With access control',
296+
available: [true, true],
297+
},
298+
{
299+
feature: 'Configurable base album',
300+
available: [true, true],
301+
},
302+
{
303+
feature: 'Custom strategy: opt-in vs auto',
304+
available: [false, true],
305+
},
306+
{
307+
feature: 'Compact mode for flow cards',
308+
available: [false, true],
309+
},
310+
{
311+
feature: 'Extensive flow card customizations',
312+
available: [false, true],
296313
},
297314

298315
{
299316
feature: 'Timeline',
300317
isHeader: true,
301-
isV6: true,
302318
isSoon: true,
303319
},
304320
{
@@ -333,7 +349,10 @@ const metadata = {
333349
{
334350
feature: 'Registration page',
335351
available: [true, true],
336-
isV6: true,
352+
},
353+
{
354+
feature: 'Invite links',
355+
available: [true, true],
337356
},
338357
{
339358
feature: 'Access rights management per album',
@@ -346,23 +365,24 @@ const metadata = {
346365
{
347366
feature: 'Space usage per user',
348367
available: [false, true],
349-
isV6: true,
350368
},
351369
{
352370
feature: 'Upload quota per user',
353371
available: [false, true],
354-
isV6: true,
355372
},
356373
{
357374
feature: 'Admin note per user',
358375
available: [false, true],
359-
isV6: true,
376+
},
377+
{
378+
feature: 'Multi-admin support',
379+
available: [false, true],
360380
},
361381

362382
{
363383
feature: 'User groups',
364384
isHeader: true,
365-
isV6: true,
385+
isSoon: true,
366386
},
367387
{
368388
feature: 'Support group admin',
@@ -371,7 +391,6 @@ const metadata = {
371391
{
372392
feature: 'Support group sharing',
373393
available: [false, true],
374-
isSoon: true,
375394
},
376395

377396

@@ -406,7 +425,6 @@ const metadata = {
406425
{
407426
feature: 'Personal favourites',
408427
available: [false, true],
409-
isV6: true,
410428
},
411429

412430
{
@@ -432,7 +450,6 @@ const metadata = {
432450
{
433451
feature: 'Duplicates Finding',
434452
available: [true, true],
435-
isV6: true,
436453
},
437454
{
438455
feature: 'Full manual settings control',

0 commit comments

Comments
 (0)