From bb89fd763f70e9e3d55404b01dea3ed127dc9b57 Mon Sep 17 00:00:00 2001 From: "Chris K. Thomas" <135461249+chriskthomas@users.noreply.github.com> Date: Sat, 29 Jun 2024 20:00:28 +0000 Subject: [PATCH] single source of ionicons version/cdn --- src/index.js | 5 +++-- src/index.php | 31 +++++++++++++++++++++---------- src/template.php | 4 ++-- 3 files changed, 26 insertions(+), 14 deletions(-) diff --git a/src/index.js b/src/index.js index 7aa620c..2c03d6c 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ const localStorageIgnore = ["photo"]; const themeUrl = document.getElementById("themes-source").value; +const ioniconsUrl = document.getElementById("ionicons-source").value; // Elements const addCustomLinkButton = document.querySelector("a.btn"); @@ -324,8 +325,8 @@ function UpdatePreview() { ${email} ${themeScriptTag} - - `; + + `; // If previewBlock is empty, append the iframe if (previewBlock.childElementCount === 0) { diff --git a/src/index.php b/src/index.php index 27e5956..5285f08 100644 --- a/src/index.php +++ b/src/index.php @@ -1,5 +1,6 @@ - + - - + +
- Fill out this form to generate your own single page website. All fields are optional except for your name. So, don't worry if you don't have all these accounts. The output will be a single index.html
file that you can upload to any static hosting provider such as GitHub Pages, Cloudflare Pages, Vercel, Netlify, or DigitalOcean Apps.
+ Fill out this form to generate your own single page website. All fields are optional except for your name.
+ So, don't worry if you don't have all these accounts. The output will be a single index.html
+ file that you can upload to any static hosting provider such as GitHub Pages, Cloudflare Pages, Vercel,
+ Netlify, or DigitalOcean Apps.