Skip to content

Commit

Permalink
build version 1.0
Browse files Browse the repository at this point in the history
Signed-off-by: 3nt3 <[email protected]>
  • Loading branch information
3nt3 committed Mar 6, 2022
1 parent aa864b1 commit 945fe7f
Show file tree
Hide file tree
Showing 19 changed files with 96 additions and 27 deletions.
14 changes: 6 additions & 8 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
{
"files": {
"main.css": "/static/css/main.8185b3e5.css",
"main.js": "/static/js/main.b9fc3fdf.js",
"main.css": "/static/css/main.9f765470.css",
"main.js": "/static/js/main.cd67a483.js",
"static/media/background.webp": "/static/media/background.b99e6c454fc2f1b52557.webp",
"static/media/cmunrm.ttf": "/static/media/cmunrm.8ff5cee913df84291549.ttf",
"static/media/bauarbeiter.gif": "/static/media/bauarbeiter.21d3721eca42cd1898c1.gif",
"static/media/logo.svg": "/static/media/logo.e30efaf0b65e724c8dc8498e6d7deee6.svg",
"index.html": "/index.html",
"main.8185b3e5.css.map": "/static/css/main.8185b3e5.css.map",
"main.b9fc3fdf.js.map": "/static/js/main.b9fc3fdf.js.map"
"main.9f765470.css.map": "/static/css/main.9f765470.css.map",
"main.cd67a483.js.map": "/static/js/main.cd67a483.js.map"
},
"entrypoints": [
"static/css/main.8185b3e5.css",
"static/js/main.b9fc3fdf.js"
"static/css/main.9f765470.css",
"static/js/main.cd67a483.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="de"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="description" content="Nachhilfe Website am GymHaan"/><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" crossorigin="anonymous" referrerpolicy="no-referrer"/><title>Nachhilfe GymHaan</title><script defer="defer" src="/static/js/main.b9fc3fdf.js"></script><link href="/static/css/main.8185b3e5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app. / Du musst JavaScript aktivieren, um diese Website zu benutzen.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="de"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="description" content="Nachhilfe Website am GymHaan"/><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha512-Fo3rlrZj/k7ujTnHg4CGR2D7kSs0v4LLanw2qksYuRlEzO+tcaEPQogQ0KaoGN26/zrn20ImR1DfuLWnOo7aBA==" crossorigin="anonymous" referrerpolicy="no-referrer"/><title>Nachhilfe GymHaan</title><script defer="defer" src="/static/js/main.cd67a483.js"></script><link href="/static/css/main.9f765470.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app. / Du musst JavaScript aktivieren, um diese Website zu benutzen.</noscript><div id="root"></div></body></html>
2 changes: 0 additions & 2 deletions build/static/css/main.8185b3e5.css

This file was deleted.

1 change: 0 additions & 1 deletion build/static/css/main.8185b3e5.css.map

This file was deleted.

2 changes: 2 additions & 0 deletions build/static/css/main.9f765470.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/css/main.9f765470.css.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions build/static/css/main.d455b39c.css

This file was deleted.

1 change: 0 additions & 1 deletion build/static/css/main.d455b39c.css.map

This file was deleted.

3 changes: 0 additions & 3 deletions build/static/js/main.b9fc3fdf.js

This file was deleted.

1 change: 0 additions & 1 deletion build/static/js/main.b9fc3fdf.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions build/static/js/main.cd67a483.js

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions build/static/js/main.cd67a483.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/

/**
* React Router DOM v6.2.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/**
* React Router v6.2.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions build/static/js/main.cd67a483.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions build/static/js/main.ea502ed0.js

This file was deleted.

1 change: 0 additions & 1 deletion build/static/js/main.ea502ed0.js.map

This file was deleted.

Binary file not shown.
Binary file removed build/static/media/cmunrm.8ff5cee913df84291549.ttf
Binary file not shown.
16 changes: 13 additions & 3 deletions src/Components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import css from "../styles/Navbar.module.scss";
import { Link } from "react-router-dom";
import logo from "../assets/images/logo.svg";
import { useContext } from "react";
import { useContext, useState } from "react";
import { OurContext } from "../OurContext";
import { API_HOST } from "..";
import Alert from "./Alert";
Expand All @@ -10,14 +10,24 @@ import DarkMode from "./DarkMode";

export default function Navbar() {
const context = useContext(OurContext);
const [count, setCount] = useState<number>(0);
const [lastClick, setLastClick] = useState<Date>(new Date());

return (
<nav>
<ul>
<li id={css.logo}>
<li
id={css.logo}
onClick={() => {
setCount(
new Date().getTime() - lastClick.getTime() < 1000 ? count + 1 : 0
);
setLastClick(new Date());
}}
>
<Link to="/">
<img src={logo} alt="gymhaan logo" />
<span>powered by Bix|Concept</span>
{count > 20 ? <span>powered by Bix|Concept</span> : null}
</Link>
</li>
<div id={css.links}>
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { StrictMode } from "react";
import { render } from "react-dom";
import App from "./App";

export const API_HOST = "https://nachhilfe.3nt3.de/api";
export const API_HOST = "https://nachhilfe.gymhaan.de/api";
// export const API_HOST = "http://localhost:5001";

export const checkEmail = (mail: string): boolean => {
Expand Down

0 comments on commit 945fe7f

Please sign in to comment.