From 60ecfc44e357b3f83b84ab4002dd4be4e5487ba9 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 22 Jan 2024 12:19:35 -0700 Subject: [PATCH] Added iframe html/target, and updated with new bridge --- Makefile | 5 +- iframe.html | 33 ++++++++++++ src/routes/+page.svelte | 86 +++++++++++++++++--------------- static/{ => fonts}/apple2.woff2 | Bin 4 files changed, 84 insertions(+), 40 deletions(-) create mode 100644 iframe.html rename static/{ => fonts}/apple2.woff2 (100%) diff --git a/Makefile b/Makefile index fb9cfd4..a145561 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ build/index.html: src/routes/+page.svelte npm run build -.PHONY: run dev +.PHONY: run dev iframe run: build/index.html cd build && python3 -m http.server dev: npm run dev + +iframe: build/index.html + cp iframe.html build/iframe.html && cd build && python3 -m http.server diff --git a/iframe.html b/iframe.html new file mode 100644 index 0000000..8d2092a --- /dev/null +++ b/iframe.html @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index ff03f71..766834b 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,13 +1,13 @@ @@ -255,7 +263,7 @@ onMount(() => {