From 38eed2202db32836659282e22a72e10f475f99bf Mon Sep 17 00:00:00 2001
From: Brice Copy <500789+bcopy@users.noreply.github.com>
Date: Sat, 12 Oct 2024 23:54:39 +0200
Subject: [PATCH] Rename tutorial scene
---
public/{quizz.html => tutorial.html} | 6 +--
public/vote.html | 53 +++++++++++++++++++++++
src/{quizz-scene.js => tutorial-scene.js} | 5 ---
webpack.config.js | 2 +-
4 files changed, 56 insertions(+), 10 deletions(-)
rename public/{quizz.html => tutorial.html} (96%)
create mode 100644 public/vote.html
rename src/{quizz-scene.js => tutorial-scene.js} (77%)
diff --git a/public/quizz.html b/public/tutorial.html
similarity index 96%
rename from public/quizz.html
rename to public/tutorial.html
index 5cce78c..4092443 100644
--- a/public/quizz.html
+++ b/public/tutorial.html
@@ -2,8 +2,8 @@
- Quizz
-
+ Tutorial
+
@@ -44,8 +44,6 @@
-
-
diff --git a/public/vote.html b/public/vote.html
new file mode 100644
index 0000000..4092443
--- /dev/null
+++ b/public/vote.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Tutorial
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/quizz-scene.js b/src/tutorial-scene.js
similarity index 77%
rename from src/quizz-scene.js
rename to src/tutorial-scene.js
index e256022..cb4a544 100644
--- a/src/quizz-scene.js
+++ b/src/tutorial-scene.js
@@ -2,12 +2,10 @@ import AFRAME from 'aframe';
import TutorialSceneController from './scene-tutorial/TutorialSceneController';
import './components/caustics';
-import './components/floating-camera';
import './components/arc-layout';
import './components/texture-map';
import './components/look-towards';
-import 'aframe-orbit-controls';
import 'aframe-extras';
import 'aframe-label';
import 'aframe-htmlembed-component';
@@ -20,9 +18,6 @@ window.Buffer = Buffer;
AFRAME.registerComponent('scene-controller', {
init: function() {
- // TODO: Replace with actual MQTT broker
this.controller = new TutorialSceneController('ws://localhost:9001', "teams");
-
- console.log("Hello shiny happy people");
}
});
\ No newline at end of file
diff --git a/webpack.config.js b/webpack.config.js
index 6fb9836..4a6ca74 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -5,7 +5,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
entry: {
aframe: './src/aframe-scene.js',
- quizz: './src/quizz-scene.js',
+ tutorial: './src/tutorial-scene.js',
presentation: './src/reveal-presentation.js',
voteAggregator: './src/vote-aggregator.js'
},