Anvil/assets/Welcome-CqAJxOTq.js.map

1 line
2.7 KiB
Text
Raw Normal View History

2024-07-31 10:01:28 +02:00
{"version":3,"file":"Welcome-CqAJxOTq.js","sources":["../../src/lib/components/molecules/Welcome.svelte"],"sourcesContent":["<!--\nWelcome molecule.\nCopyright (C) 2024 André Jaenisch\nSPDX-FileCopyrightText: 2024 André Jaenisch\nSPDX-License-Identifier: AGPL-3.0-or-later\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.\n-->\n\n<script>\n\timport { _ } from 'svelte-i18n';\n\n\timport AnvilLogo from '../atoms/AnvilLogo.svelte';\n\n\t/**\n\t * Translation keys.\n\t */\n\texport let i18n = {\n\t\tcreate: '',\n\t\theadline: '',\n\t\tintro: '',\n\t\tlogin: '',\n\t\tlogo: {\n\t\t\talt: ''\n\t\t},\n\t\treset: ''\n\t};\n\n\t/**\n\t * Allow for linking stories in Storybook.\n\t */\n\texport let sbCreate = '';\n\n\t/**\n\t * Allow for linking stories in Storybook.\n\t */\n\texport let sbLogin = '';\n\n\t/**\n\t * Allow for linking stories in Storybook.\n\t */\n\texport let sbReset = '';\n</script>\n\n<main class=\"flex h-full\">\n\t<div\n\t\tclass=\"max-w-[400px] mx-auto flex flex-col self-center justify-start items-center content-stretch bg-surface-50 border border-rounded border-surface-200 drop-shadow p-8\"\n\t>\n\t\t<AnvilLogo i18n={i18n.logo} class=\"items-center w-[77px]\" />\n\t\t<h1 class=\"font-semibold text-4xl text-surface-500\">{$_(i18n.headline)}</h1>\n\t\t<p class=\"text-surface-500\">{$_(i18n.intro)}</p>\n\t\t<div class=\"space-y-3\">\n\t\t\t<div>\n\t\t\t\t<a href=\"/account/create\" class=\"btn variant-filled-primary\" data-sb-kind={sbCreate}\n\t\t\t\t\t>{$_(i18n.create)}</a\n\t\t\t\t>\n\t\t\t</div>\n\t\t\t<div>\n\t\t\t\t<a\n\t\t\t\t\thref=\"/account/login\"\n\t\t\t\t\tclass=\"btn text-primary-500 font-semibold variant-filled-ghost\"\n\t\t\t\t\tdata-sb-kind={sbLogin}>{$_(i18n.login)}</a\n\t\t\t\t>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class=\"text-center\">\n\t\t\t<a href=\"/\" class=\"btn bg-initial text-surface-500\" data-sb-kind={sbReset}>{$_(i18n.reset)}</a\n\t\t\t>\n\t\t</div>\n\t</div>\n</main>\n"],"names":["append_hydration","alt","sbLogin","cov_qizcki6nw","b","s","$$props"],"mappings":"s13BAsE+EA,GAAAA,IAAAA,oGAlB5DA,s1DAtCTC,IAAA,EAAA,iFAwCqBC,CAAAA,QAAAA,GAAAC,EAAAC,EAAAA,WAAA,GAAE,GAAAD,EAAA,EAAAE,EAAA,GAAA,IAAAC"}