add blockly to navbar
This commit is contained in:
parent
72b6bf47ef
commit
eb3a86a379
@ -249,7 +249,7 @@ export const UI = {
|
||||
/**
|
||||
* Navbar
|
||||
*/
|
||||
|
||||
navbar_blockly: "Blockly",
|
||||
navbar_tutorials: "Tutorials",
|
||||
navbar_tutorialbuilder: "Tutorial erstellen",
|
||||
navbar_gallery: "Galerie",
|
||||
|
@ -245,7 +245,7 @@ export const UI = {
|
||||
/**
|
||||
* Navbar
|
||||
*/
|
||||
|
||||
navbar_blockly: "Blockly",
|
||||
navbar_tutorials: "Tutorials",
|
||||
navbar_tutorialbuilder: "Create tutorial",
|
||||
navbar_gallery: "Gallery",
|
||||
|
@ -36,6 +36,7 @@ import {
|
||||
faTools,
|
||||
faLightbulb,
|
||||
faCode,
|
||||
faPuzzlePiece,
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import * as Blockly from "blockly";
|
||||
@ -213,6 +214,11 @@ class Navbar extends Component {
|
||||
</div>
|
||||
<List>
|
||||
{[
|
||||
{
|
||||
text: Blockly.Msg.navbar_blockly,
|
||||
icon: faPuzzlePiece,
|
||||
link: "/",
|
||||
},
|
||||
{
|
||||
text: Blockly.Msg.navbar_tutorials,
|
||||
icon: faChalkboardTeacher,
|
||||
|
Loading…
x
Reference in New Issue
Block a user