From db150f7cb87e38fe9ddb3861bd5a48347bdd51a3 Mon Sep 17 00:00:00 2001 From: aboutDavid <3875633-aboutDavid@users.noreply.replit.com> Date: Sun, 30 Apr 2023 20:28:27 +0000 Subject: [PATCH] Enable signup --- _site/index.html | 2 +- index.js | 2 ++ index.njk | 25 ++++++++++++++++++++++--- package.json | 3 ++- 4 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 index.js diff --git a/_site/index.html b/_site/index.html index 66d4a54..449073d 100644 --- a/_site/index.html +++ b/_site/index.html @@ -1 +1 @@ -

email.radio

email.radio is dedicated to providing free email hosting for all licensed ham radio operators. You will get a (free!) email @email.radio address.

A magical signup form will appear here on May 3rd, 2023.

Your email will be

\ No newline at end of file +

email.radio

email.radio is dedicated to providing free email hosting for all licensed ham radio operators. You will get a (free!) email @email.radio address.

A magical signup form will appear here on May 3rd, 2023.


Your email will be

\ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..6aa5bd3 --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +const execSync = require('child_process').execSync; +code = execSync('npm dev'); \ No newline at end of file diff --git a/index.njk b/index.njk index ce21037..2ed94e9 100644 --- a/index.njk +++ b/index.njk @@ -7,11 +7,30 @@ layout: base.njk

A magical signup form will appear here on May 3rd, 2023.

-

Your email will be

- +
+ +

Your email will be

+ \ No newline at end of file diff --git a/package.json b/package.json index 8006836..64d4203 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "", "main": "index.js", "scripts": { - "start": "npx @11ty/eleventy --serve --port=8080", + "start": "npx @11ty/eleventy && npx http-serve _site -p 3070", + "dev": "npx @11ty/eleventy --serve --port=8080", "build": "npx @11ty/eleventy", "test": "echo \"Error: no test specified\" && exit 1" },