diff --git a/docs/Bestellung # 000001860.pdf b/docs/Bestellung # 000001860.pdf
new file mode 100644
index 0000000..da08de4
Binary files /dev/null and b/docs/Bestellung # 000001860.pdf differ
diff --git a/docs/Bonny.jpg b/docs/Bonny.jpg
new file mode 100755
index 0000000..5ecf110
Binary files /dev/null and b/docs/Bonny.jpg differ
diff --git a/docs/Conny.jpeg b/docs/Conny.jpeg
new file mode 100644
index 0000000..7dc9915
Binary files /dev/null and b/docs/Conny.jpeg differ
diff --git a/docs/Conny2.png b/docs/Conny2.png
new file mode 100644
index 0000000..b7e393a
Binary files /dev/null and b/docs/Conny2.png differ
diff --git a/docs/Hund gefundenBonny.pdf b/docs/Hund gefundenBonny.pdf
new file mode 100644
index 0000000..7a6d316
Binary files /dev/null and b/docs/Hund gefundenBonny.pdf differ
diff --git a/docs/Hund gefundenConny.pdf b/docs/Hund gefundenConny.pdf
new file mode 100644
index 0000000..7fec5e3
Binary files /dev/null and b/docs/Hund gefundenConny.pdf differ
diff --git a/hope-fly.env b/hope-fly.env
new file mode 100644
index 0000000..227dd7b
--- /dev/null
+++ b/hope-fly.env
@@ -0,0 +1 @@
+REACT_APP_PHP_ROOT = https://hope-fly.de/dog/php-dog/
diff --git a/local.env b/local.env
new file mode 100644
index 0000000..c13bed9
--- /dev/null
+++ b/local.env
@@ -0,0 +1 @@
+REACT_APP_PHP_ROOT = http://localhost/dog/php-dog/
diff --git a/package-lock.json b/package-lock.json
index 29a2cf6..b91677f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,6 +16,7 @@
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"axios": "^1.2.1",
+ "env-cmd": "^10.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.5",
@@ -6556,6 +6557,29 @@
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
+ "node_modules/env-cmd": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/env-cmd/-/env-cmd-10.1.0.tgz",
+ "integrity": "sha512-mMdWTT9XKN7yNth/6N6g2GuKuJTsKMDHlQFUDacb/heQRRWOTIZ42t1rMHnQu4jYxU1ajdTeJM+9eEETlqToMA==",
+ "dependencies": {
+ "commander": "^4.0.0",
+ "cross-spawn": "^7.0.0"
+ },
+ "bin": {
+ "env-cmd": "bin/env-cmd.js"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/env-cmd/node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/error-ex": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
diff --git a/package.json b/package.json
index 029e337..50a30e0 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"axios": "^1.2.1",
+ "env-cmd": "^10.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.5",
@@ -23,9 +24,8 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
-
"postbuild": "cp ./src/.htaccess ./build/ && sudo cp -r -v ./build/static/ /opt/lampp/htdocs/dog/ && sudo cp -v ./build/* /opt/lampp/htdocs/dog/"
-},
+ },
"eslintConfig": {
"extends": [
"react-app",
diff --git a/src/App.tsx b/src/App.tsx
index 6987dbc..684777d 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -7,6 +7,7 @@ import Register from './components/Register';
import Home from './components/Home';
import Dog from './components/Dog';
import {UserCtx, UserCtxT} from './context/UserContext';
+import Qr from './components/Qr';
function App()
@@ -20,8 +21,9 @@ function App()