|
24 | 24 | import Substance from '$lib/assets/substance.webp'; |
25 | 25 | import ViolencePhoto from '$lib/assets/violence.webp'; |
26 | 26 | import { MediaQuery } from 'svelte/reactivity'; |
27 | | - import { ExternalLink, Shuffle } from 'lucide-svelte'; |
| 27 | + import { ExternalLink, Shuffle, Rss } from 'lucide-svelte'; |
28 | 28 | let { data } = $props(); |
29 | 29 | import cutsByOfficeData from '$lib/data/charts/cuts_by_office.json'; |
30 | 30 | import CensoredFilms from '$lib/components/charts/CensoredFilms.svelte'; |
|
215 | 215 | </div> |
216 | 216 |
|
217 | 217 | {#if newAdditions.length > 0} |
218 | | - <section class="relative mb-8 py-2" aria-label="New Additions"> |
| 218 | + <section class="relative py-2" aria-label="New Additions"> |
219 | 219 | <div |
220 | 220 | class="mb-4 flex flex-col items-start justify-start gap-2 md:flex-row md:items-center md:justify-between" |
221 | 221 | > |
|
236 | 236 | </div> |
237 | 237 | {/if} |
238 | 238 | </div> |
239 | | - <Button variant="default" size="sm" class="md:ml-2" href="/contribute">Contribute</Button> |
| 239 | + <Button variant="default" size="sm" class="md:ml-2" href="/contribute" |
| 240 | + >Contribute Data</Button |
| 241 | + > |
240 | 242 | </div> |
241 | 243 |
|
242 | 244 | {#if newAdditionsGrid.length > 0} |
|
327 | 329 | {/if} |
328 | 330 | </section> |
329 | 331 | {/if} |
330 | | - |
| 332 | + <section |
| 333 | + class="my-4 grid grid-cols-1 gap-4 rounded-xs md:grid-cols-12 md:items-center" |
| 334 | + aria-label="RSS Subscription" |
| 335 | + > |
| 336 | + <div class="flex items-center gap-4 md:col-span-8 lg:col-span-9"> |
| 337 | + <div class="space-y-1"> |
| 338 | + <p class="font-atkinson text-md leading-relaxed"> |
| 339 | + Get notified about new film certifications and censorship data directly in your RSS |
| 340 | + reader. |
| 341 | + </p> |
| 342 | + </div> |
| 343 | + </div> |
| 344 | + <div class="md:col-span-4 lg:col-span-3 lg:text-right"> |
| 345 | + <Button |
| 346 | + href="/rss.xml" |
| 347 | + target="_blank" |
| 348 | + variant="outline" |
| 349 | + size="sm" |
| 350 | + class="w-full bg-[#e29350] text-white hover:bg-[#e29350]/80 md:w-auto" |
| 351 | + > |
| 352 | + <Rss class="mr-2 h-4 w-4" /> |
| 353 | + Subscribe via RSS |
| 354 | + </Button> |
| 355 | + </div> |
| 356 | + </section> |
331 | 357 | {#if currentMovies.length > 0} |
332 | 358 | <section class="relative py-2" aria-label="Popular films"> |
333 | 359 | <div class="flex items-center justify-start gap-2"> |
|
572 | 598 | > |
573 | 599 | </div> |
574 | 600 | </section> |
| 601 | + |
| 602 | + <!-- RSS Subscription CTA --> |
575 | 603 | </div> |
576 | 604 | </main> |
0 commit comments