From 886d8d632b1fa27e5a5e87bce2401251e21e1b02 Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Tue, 1 Jun 2021 14:53:11 +0100 Subject: [PATCH] Demo --- src/shared/prerendered-app/Intro/index.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/shared/prerendered-app/Intro/index.tsx b/src/shared/prerendered-app/Intro/index.tsx index 3174c833..2a011c02 100644 --- a/src/shared/prerendered-app/Intro/index.tsx +++ b/src/shared/prerendered-app/Intro/index.tsx @@ -9,7 +9,7 @@ import artwork from 'url:./imgs/demos/demo-artwork.jpg'; import deviceScreen from 'url:./imgs/demos/demo-device-screen.png'; import largePhotoIcon from 'url:./imgs/demos/icon-demo-large-photo.jpg'; import artworkIcon from 'url:./imgs/demos/icon-demo-artwork.jpg'; -import deviceScreenIcon from 'url:./imgs/demos/icon-demo-device-screen.jpg'; +//import deviceScreenIcon from 'url:./imgs/demos/icon-demo-device-screen.jpg'; import logoIcon from 'url:./imgs/demos/icon-demo-logo.png'; import logoWithText from 'url:./imgs/logo-with-text.svg'; import * as style from './style.css'; @@ -17,6 +17,12 @@ import type SnackBarElement from 'shared/custom-els/snack-bar'; import 'shared/custom-els/snack-bar'; import { startBlobs } from './blob-anim/meta'; +const deviceScreenIcon = new URL( + './imgs/demos/icon-demo-device-screen.jpg', + // @ts-ignore + import.meta.url, +).href; + const demos = [ { description: 'Large photo',