diff --git a/src/components/Home.js b/src/components/Home.js index f5ec9cb..eab3203 100644 --- a/src/components/Home.js +++ b/src/components/Home.js @@ -94,7 +94,7 @@ class Home extends Component {
: null } -
+
@@ -109,10 +109,12 @@ class Home extends Component { - {this.props.project ? - < BlocklyWindow blocklyCSS={{ height: '80vH' }} initialXml={this.props.project.xml} /> - : < BlocklyWindow blocklyCSS={{ height: '80vH' }} /> - } +
+ {this.props.project ? + < BlocklyWindow blocklyCSS={{ height: '80vH' }} initialXml={this.props.project.xml} /> + : < BlocklyWindow blocklyCSS={{ height: '80vH' }} /> + } +
{this.state.codeOn ? diff --git a/src/components/Navbar.js b/src/components/Navbar.js index 70cb661..bce150b 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -85,6 +85,7 @@ class Navbar extends Component { color="inherit" onClick={this.toggleDrawer} style={{ margin: '0 10px' }} + className="MenuButton" > @@ -122,7 +123,7 @@ class Navbar extends Component { onClick={() => { this.openTour(); }} style={{ margin: '0 30px 0 auto' }} > - + : null} diff --git a/src/components/Tour.js b/src/components/Tour.js index a8ac7c9..8dfac3b 100644 --- a/src/components/Tour.js +++ b/src/components/Tour.js @@ -13,17 +13,18 @@ export const home = [ }, { selector: ".saveBlocks", - content: 'Speicher deine Blöcke auf dem Computer', + content: 'Speichere deine Blöcke auf dem Computer.', }, { selector: ".MenuButton", content: 'Im Menü findest du Tutorials und eine Gallery mit verschiedenen Beispiel Programmen.', - }, + } ]; export const assessment = [ + // to be continued... { - selector: '.workspaceFunc', - content: 'Hier findest du alle Buttons um dein Programm zu übertragen, zu speichern oder zu teilen', + selector: '.assessmentDiv', + content: 'Hier kannst du eine Aufgabe lösen und kontrollieren.', } ]; diff --git a/src/components/Tutorial/Assessment.js b/src/components/Tutorial/Assessment.js index c869cc5..fa4d1c4 100644 --- a/src/components/Tutorial/Assessment.js +++ b/src/components/Tutorial/Assessment.js @@ -33,7 +33,7 @@ class Assessment extends Component { var statusTask = status.tasks[taskIndex]; return ( -
+
{currentTask.headline}
diff --git a/src/components/Workspace/DownloadProject.js b/src/components/Workspace/DownloadProject.js index 1315625..8603ae3 100644 --- a/src/components/Workspace/DownloadProject.js +++ b/src/components/Workspace/DownloadProject.js @@ -44,7 +44,7 @@ class DownloadProject extends Component {
this.downloadXmlFile()} >