---
import Base from '../layouts/Base.astro';
import { has } from '../lib/modules';
import SharesApp from '../components/SharesApp';
import { tFor, dictFor } from '../lib/i18n.server';
// A page of a module that is off does not exist for this instance.
if (!has('share')) return Astro.redirect('/print', 302);
const locale = Astro.locals.locale ?? 'en';
const t = tFor(locale);
const dict = dictFor(locale);
---
{t('Shared links')}
{t('Links that let other people look at your images — without an account. Here you can see how often they were opened, and switch them off whenever you want.')}