Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/usage/public-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Only Demo runtime displays the fixed, read-only “Built with Atelier-Kit”
homepage section, outside the hero/sidebar grid and catalog. It presents exactly
three consumers with Italian and English Visitor translations:

- [Ombre Quotidiane](https://ombre-quotidiane-giadaware.vercel.app/)
- Universi Condivisi — no link; its public URL has not been verified.
- [Ombre Quotidiane](https://ombre-quotidiane.vercel.app/)
- [Universi Condivisi](https://universi-condivisi.vercel.app/)
- [Club dell'Assurdo](https://club-dell-assurdo.vercel.app/)

These are ordinary links without embeds or external fetches. The section is
Expand Down
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@
<h2 id="demo-showcase-title">{t('home.showcase.title')}</h2>
<ul class="demo-showcase-list">
<li>
<h3><a href="https://ombre-quotidiane-giadaware.vercel.app/">Ombre Quotidiane</a></h3>
<h3><a href="https://ombre-quotidiane.vercel.app/">Ombre Quotidiane</a></h3>
<p>{t('home.showcase.ombreDescription')}</p>
</li>
<li>
<h3>Universi Condivisi</h3>
<h3><a href="https://universi-condivisi.vercel.app/">Universi Condivisi</a></h3>
<p>{t('home.showcase.universiDescription')}</p>
</li>
<li>
Expand Down
6 changes: 3 additions & 3 deletions test/demo-consumer-showcase.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ test('Demo presentation stays visible with disabled, missing, malformed or ready
}
});

test('SSR renders exactly three bilingual consumers and two correct ordinary links outside hero and catalog', async () => {
test('SSR renders exactly three bilingual consumers and three correct ordinary links outside hero and catalog', async () => {
setRuntime({ ATELIER_STUDIO_MODE: 'demo' });
const page = await server.ssrLoadModule('/src/routes/+page.server.js');
/** @type {Record<string, string[]>} */
Expand Down Expand Up @@ -178,9 +178,9 @@ test('SSR renders exactly three bilingual consumers and two correct ordinary lin
assert.deepEqual(entries.map((entry) => entry.querySelector('h3')?.textContent),
['Ombre Quotidiane', 'Universi Condivisi', "Club dell'Assurdo"]);
assert.deepEqual(entries.map((entry) => entry.querySelector('p')?.textContent), descriptions[language]);
assert.equal(entries[1].querySelector('a'), null);
assert.deepEqual([...section.querySelectorAll('a')].map((a) => [a.textContent, a.getAttribute('href')]), [
['Ombre Quotidiane', 'https://ombre-quotidiane-giadaware.vercel.app/'],
['Ombre Quotidiane', 'https://ombre-quotidiane.vercel.app/'],
['Universi Condivisi', 'https://universi-condivisi.vercel.app/'],
["Club dell'Assurdo", 'https://club-dell-assurdo.vercel.app/']
]);
assert.equal(section.querySelector('form, button, iframe, img, script'), null);
Expand Down
Loading