Skip to content

Commit

Permalink
Bring hero to MVP level and fix stupid mistakes from the last PR (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
selfsigned authored Jan 23, 2024
1 parent 4edace1 commit 497d19c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
18 changes: 13 additions & 5 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
<script>
import { base } from '$app/paths';
import Icon from '@iconify/svelte';
</script>

<div class="flex h-[calc(100dvh)] flex-col bg-base-100 bg-gradient-to-r to-base-300">
<h2 class="text-bold m-5 flex text-xl">
<Icon class="mt-1" icon="tdesign:map-3d" />
storecompanion
</h2>
<div class="hero flex-1">
<div class="hero-content text-center">
<div class="max-w-md">
<h1
class="text-bold bg-gradient-to-r from-primary via-secondary to-primary-content bg-clip-text text-5xl text-transparent"
class="text-bold bg-gradient-to-r from-primary via-secondary to-primary-content bg-clip-text text-6xl text-transparent"
>
Your Store, Your World
Your Store,<br />Your World
</h1>
<p class="py-6">
Transform your customer's shopping experience with a comprehensive omni-channel solution
and cool 3D
Unlock a new era of personalized shopping with storecompanion - Create your store's
digital twin to make finding items yesterday's problem and get customer hooked.
</p>
<a class="btn btn-primary" href="{base}/app">Try it now</a>
<div>
<a class="btn mr-2" href="mailto:sales@storecompanion.xyz">Contact Us</a>
<a class="btn btn-primary" href="{base}/app">Try it now</a>
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/app/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
// Selection
function selectItemEvent(e, itemId) {
if (allItems[itemId].shelf) {
if (allItems[itemId].shelf !== null) {
// if item is avail show it on map
$currentItem = $currentItem !== itemId ? itemId : null;
} else {
Expand Down

0 comments on commit 497d19c

Please sign in to comment.