Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
18 lines
879 B
JavaScript
18 lines
879 B
JavaScript
// Primo avvio (spec §10.3: «la schermata vuota del mockup 13 con i due pulsanti»): when Febe is not connected to
|
|
// Instagram and the library is empty, the library shows this instead of an empty mosaic.
|
|
|
|
import { withCarried } from '../core/api.js';
|
|
import { h, icon, brand } from '../core/dom.js';
|
|
import { t } from '../core/text.js';
|
|
|
|
export function welcome() {
|
|
return h('div.benvenuto',
|
|
h('div.marchio-benvenuto', brand()),
|
|
h('h2', t('benvenuto.titolo')),
|
|
h('p', t('benvenuto.testo')),
|
|
h('div.bottoni-benvenuto',
|
|
h('a.btn.primo.grande', { href: withCarried('/impostazioni/collegamento') }, icon('key-round', 's'), t('benvenuto.collegati')),
|
|
h('a.btn.grande', { href: withCarried('/importa?passo=1') }, icon('folder-input', 's'), t('benvenuto.importa'))),
|
|
h('p.nota-benvenuto', icon('triangle-alert', 'xs'), ' ', t('benvenuto.nota')));
|
|
}
|