@@ -327,6 +327,15 @@ class ArchiveNow extends LitElement {
327
327
< span class ="text-sm "> Back to Webrecorder.net</ span >
328
328
</ a >
329
329
</ header >
330
+ < div class ="justify-self-end [grid-area:restart] ">
331
+ < button
332
+ class ="flex items-center gap-2 leading-none text-stone-400 transition-colors hover:text-stone-600 "
333
+ @click =${ ( ) => ( this . showCreateDialog = true ) }
334
+ >
335
+ < span class ="text-sm "> Start over</ span >
336
+ < sl-icon name ="arrow-clockwise " class ="text-lg "> </ sl-icon >
337
+ </ button >
338
+ </ div >
330
339
< div
331
340
class ="${ this . isFinished || this . showHint || this . showCreateDialog
332
341
? "shadow shadow-earth-800/10 ring-1 ring-earth-300/50"
@@ -343,17 +352,17 @@ class ArchiveNow extends LitElement {
343
352
: html ` < replay-web-page coll =${ this . collId } > </ replay-web-page > ` }
344
353
</ div >
345
354
< div
346
- class ="mr-16 overflow-auto [grid-area:detail] lg:mr-0 lg:px-4 2xl:px-6 "
355
+ class ="-mb-4 -mt-4 overflow-auto pb-4 pt-4 [grid-area:detail] lg:mr-0 lg:px-4 2xl:px-6 "
347
356
>
348
357
< div class ="mb-3 mt-3 ">
349
358
< div
350
359
class ="${ this . isFinished
351
360
? "translate-x-0"
352
- : "lg:-translate-x-4" } inline-flex h-8 items-center gap-1.5 rounded-full border border-brand-green/30 px-2.5 text-brand-green transition-transform lg:pl-1.5 "
361
+ : "lg:-translate-x-4" } inline-flex h-8 items-center gap-1.5 rounded-full text-brand-green transition-transform "
353
362
>
354
363
${ this . isFinished
355
364
? html `
356
- < span class =" pl-1.5 " > 🎉 </ span >
365
+ 🎉
357
366
< span class ="text-sm "> Archiving finished! </ span >
358
367
`
359
368
: html `
@@ -460,26 +469,25 @@ class ArchiveNow extends LitElement {
460
469
</ dl >
461
470
462
471
< hr class ="my-3 rounded-md border-brand-green/30 " />
463
-
464
- < h3 class ="mt-4 mb-4 text-sm font-semibold leading-none text-stone-700 "> Next Steps</ h3 >
472
+ < h3 class ="mt-4 mb-2 text-sm font-semibold leading-none text-stone-700 "> Next Steps</ h3 >
465
473
< p class ="mb-2 mt-1 text-sm "> View your archive any time with
466
474
< a
467
475
class ="font-medium text-cyan-500 transition-colors hover:text-cyan-400 "
468
476
href ="http://replayweb.page "
469
477
target ="_blank "
470
- > ReplayWeb.page</ a > .</ p >
478
+ > ReplayWeb.page</ a > .
479
+ </ p >
471
480
472
481
< p class ="mb-4 mt-1 text-sm ">
473
- Ready to go beyond the demo? Find the Webrecorder tools that best fit your archiving needs.
482
+ Ready to go beyond the demo? Check out these other Webrecorder tools:
474
483
</ p >
475
484
476
485
${ card (
477
486
btrixLockupSrc ,
478
487
"Browsertrix" ,
479
488
html `
480
489
< p >
481
- Automate archiving entire websites on schedule and share your
482
- archives with others.
490
+ Fully automated archiving of entire websites on a set schedule.
483
491
</ p >
484
492
` ,
485
493
{
@@ -491,25 +499,13 @@ class ArchiveNow extends LitElement {
491
499
${ card (
492
500
awpLockupSrc ,
493
501
"ArchiveWeb.page" ,
494
- html ` < p > Archive while you browse with our Chrome extension.</ p > ` ,
502
+ html ` < p > Archive while you browse with our free Chrome extension.</ p > ` ,
495
503
{
496
504
href : "https://chromewebstore.google.com/detail/webrecorder-archivewebpag/fpeoodllldobpkbkabpblcfaogecpndd" ,
497
505
text : "Install Extension" ,
498
506
} ,
499
507
true ,
500
508
) }
501
-
502
- < hr class ="my-3 rounded-md border-brand-green/30 " />
503
-
504
- < div >
505
- < button
506
- class ="flex items-center gap-2 leading-none text-stone-400 transition-colors hover:text-stone-600 "
507
- @click =${ ( ) => ( this . showCreateDialog = true ) }
508
- >
509
- < sl-icon name ="arrow-clockwise " class ="text-lg "> </ sl-icon >
510
- < span class ="text-sm "> Create another archive</ span >
511
- </ button >
512
- </ div >
513
509
</ div >
514
510
` ;
515
511
}
@@ -730,17 +726,6 @@ class ArchiveNow extends LitElement {
730
726
}
731
727
}
732
728
733
- private showBackdrop ( ) {
734
- if ( ! this . hintBackdrop || this . hintBackdrop . style . display === "block" )
735
- return ;
736
-
737
- this . hintBackdrop . style . display = "block" ;
738
-
739
- window . requestAnimationFrame ( ( ) => {
740
- this . hintBackdrop ! . style . opacity = "1" ;
741
- } ) ;
742
- }
743
-
744
729
private hideBackdrop ( ) {
745
730
if ( ! this . hintBackdrop || this . hintBackdrop . style . display === "none" )
746
731
return ;
0 commit comments