From 2b9097748aff226d00990f17558c4878dd447341 Mon Sep 17 00:00:00 2001 From: Freel Date: Mon, 27 Nov 2023 11:48:26 -0800 Subject: [PATCH] all --- css/style.css | 12 +++++++ data/readme.md | 0 img/readme.md | 0 index.html | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++ js/main.js | 20 ++++++++++++ lib/readme.md | 0 6 files changed, 121 insertions(+) create mode 100644 css/style.css create mode 100644 data/readme.md create mode 100644 img/readme.md create mode 100644 index.html create mode 100644 js/main.js create mode 100644 lib/readme.md diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..46423a5 --- /dev/null +++ b/css/style.css @@ -0,0 +1,12 @@ +/* Stylesheet by Ian H Freel, 2023 */ +html, +body { + overflow: hidden; + margin: 0px; + padding: 0px; + height: 100%; + } + #cesiumContainer { + height: 100%; + } + \ No newline at end of file diff --git a/data/readme.md b/data/readme.md new file mode 100644 index 0000000..e69de29 diff --git a/img/readme.md b/img/readme.md new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html new file mode 100644 index 0000000..e4ebabf --- /dev/null +++ b/index.html @@ -0,0 +1,89 @@ + + + + + + + + +
+ + + \ No newline at end of file diff --git a/js/main.js b/js/main.js new file mode 100644 index 0000000..68414e2 --- /dev/null +++ b/js/main.js @@ -0,0 +1,20 @@ +/* Stylesheet by Ian H Freel, 2023 */ +// server.js +// where your node app starts + +// init project +const express = require('express'); +const app = express(); + +// http://expressjs.com/en/starter/static-files.html +app.use(express.static('.')); + +// http://expressjs.com/en/starter/basic-routing.html +app.get('/', function(request, response) { + response.sendFile(__dirname + '/index.html'); +}); + +// listen for requests :) +const listener = app.listen(process.env.PORT, function() { + console.log('Your app is listening on port ' + listener.address().port); +}); diff --git a/lib/readme.md b/lib/readme.md new file mode 100644 index 0000000..e69de29