Skip to content

Commit

Permalink
upd home
Browse files Browse the repository at this point in the history
  • Loading branch information
Smilefounder committed Aug 17, 2023
1 parent f4aba7a commit cbafcf2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions apps/web/src/routes/(client)/[[lang]]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@
console.log(data);
</script>

{#each data.response.items as item}
<a href="/post/{item.seoName}"><h1>{@html item.title}</h1></a>
{/each}
{#if data.response.items.length > 0}
<a href="/" class="btn">Home</a>
{#each data.response.items as item}
<a href="/post/{item.seoName}"><h1>{@html item.title}</h1></a>
{/each}
{:else}
<a href="/vi-vn" class="btn">VI</a> | <a href="/en-us" class="btn">EN</a>
{/if}

<!-- <h1 class="h1 underline">Web</h1>
<MyCounterButton />
Expand Down

1 comment on commit cbafcf2

@vercel
Copy link

@vercel vercel bot commented on cbafcf2 Aug 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mixcore-superapp – ./apps/web

mixcore-superapp-git-main-mixcore.vercel.app
mix-core-spa-web.vercel.app
mixcore-superapp-mixcore.vercel.app
mixcore.dev

Please sign in to comment.