diff --git a/pages/index.js b/pages/index.js
index 2772816..406555e 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,13 +1,30 @@
import Head from 'next/head'
-import 'bootstrap/dist/css/bootstrap.min.css';
+import React from 'react'
+
+import {
+ Button,
+ Navbar,
+ NavbarBrand,
+ NavbarToggler,
+ Collapse,
+ Nav,
+ NavItem,
+ NavLink,
+ Badge,
+ ButtonGroup,
+ Alert,
+ Card,
+ CardBody
+} from 'reactstrap';
+
import '../static/everypage.css'
import '../static/css/index.css'
const Index = (props) => {
return (
-
-
+
+
@@ -32,7 +49,7 @@ function Footer() {
);
}
-function Bigimage(props) {
+function BigImage(props) {
return (
{props.text}
@@ -40,58 +57,70 @@ function Bigimage(props) {
);
}
-function Nav() {
- return (
-
- );
+ constructor(props) {
+ super(props);
+
+ this.toggle = this.toggle.bind(this);
+ this.state = {
+ collapsed: true
+ };
+ }
+
+ toggle() {
+ this.setState({
+ collapsed: !this.state.collapsed
+ });
+ }
+
+ render() {
+ return (
+
+ turnie.re
+
+
+
+
+
+
+
+ );
+ }
}
function Navlink(props) {
return (
-
- {props.text}
-
+
+ {props.text}
+
);
}
function Betabadge() {
- return
BETA;
+ return (
BETA);
}
function LoginLogoutButtons() {
return (
-
+
+
+
+
);
}
function Main() {
return (
-
+
-
+
);
}
@@ -132,14 +161,14 @@ function Marketing() {
function Betawarning() {
return (
-
+
Public Beta
Diese Website ist noch in der Entwicklung.
Bei Problemen fülle bitte dieses
und für Feedback dieses Formular aus.
-
+
);
}
@@ -185,24 +214,27 @@ function MainPromotedLinks() {
}
function PromotedLinkTournamentCode() {
- return (
-
-
-
-
Gib hier einen Turnier Code ein, um direkt zum entsprechenden Turnier zu gelangen.
-
-
-
);
+ return (
+
+
+
+
+
Gib hier einen Turnier Code ein, um direkt zum entsprechenden Turnier zu gelangen.
+
+
+
+ );
}
+
function PromotedLinkListTournaments() {
return (
-
-
+
+
@@ -214,13 +246,14 @@ function PromotedLinkListTournaments() {
Wenn du eingeloggt bist, findest du hier auch deine eigenen Turniere.
-
-
+
+
);
}
+
function PromotedLinkCreateTournament() {
- return (
-
+ return (
+
Einfach ausprobieren: Einen Turnier-Namen, ein paar Team-Namen, und schon
@@ -229,10 +262,10 @@ function PromotedLinkCreateTournament() {
-
-
);
+
+ );
}
export default () => (
diff --git a/yarn.lock b/yarn.lock
index 1441996..5c0a700 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1217,6 +1217,11 @@ body-parser@1.18.3:
raw-body "2.3.3"
type-is "~1.6.16"
+bootstrap@^4.1.3:
+ version "4.1.3"
+ resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.1.3.tgz#0eb371af2c8448e8c210411d0cb824a6409a12be"
+ integrity sha512-rDFIzgXcof0jDyjNosjv4Sno77X4KuPeFxG2XZZv1/Kc8DRVGVADdoQyyOVDwPqL36DDmtCQbrpMCqvpPLJQ0w==
+
brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"