Skip to content

Commit dae3bb7

Browse files
committed
Fix base links
1 parent 59e8cae commit dae3bb7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/assets/astro.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/assets/background.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

src/pages/index.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import Layout from "../layouts/Layout.astro";
3+
import productImage from '../assets/dcae7953-f89c-409c-887f-82576c8a78a0.png'
34
45
// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
56
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
@@ -13,7 +14,7 @@ import Layout from "../layouts/Layout.astro";
1314
<div class="relative overflow-hidden rounded-lg">
1415
<div class="absolute inset-0">
1516
<img
16-
src="/dcae7953-f89c-409c-887f-82576c8a78a0.png"
17+
src={productImage.src}
1718
alt=""
1819
class="size-full object-cover"
1920
/>
@@ -44,7 +45,7 @@ import Layout from "../layouts/Layout.astro";
4445
Add to cart
4546
</button>
4647
<a
47-
href="/juce-app-demo"
48+
href="astro-storefront/juce-app-demo"
4849
class="mt-8 block w-full rounded-md border border-transparent bg-white px-8 py-3 text-base font-medium text-gray-900 hover:bg-gray-100 sm:w-auto"
4950
>
5051
Learn more

src/pages/juce-app-demo.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import Layout from "../layouts/Layout.astro";
3+
import productImage from '../assets/dcae7953-f89c-409c-887f-82576c8a78a0.png'
34
45
// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
56
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
@@ -14,7 +15,7 @@ import Layout from "../layouts/Layout.astro";
1415
<!-- Product image -->
1516
<div class="lg:col-span-4 lg:row-end-1">
1617
<img
17-
src="/dcae7953-f89c-409c-887f-82576c8a78a0.png"
18+
src={productImage.src}
1819
alt="Sample of 30 icons with friendly and fun details in outline, filled, and brand color styles."
1920
class="aspect-[4/3] w-full rounded-lg bg-gray-100 object-cover"
2021
/>

0 commit comments

Comments
 (0)