diff --git a/src/components/Dog.css b/src/components/Dog.css deleted file mode 100644 index 04834dd..0000000 --- a/src/components/Dog.css +++ /dev/null @@ -1,11 +0,0 @@ -.Dog -.Content -{ - font-weight: bold; - margin: 5px; -} - -.text -{ - margin: 5px; -} diff --git a/src/components/Dog.tsx b/src/components/Dog.tsx index 414adf1..ebbdbdb 100644 --- a/src/components/Dog.tsx +++ b/src/components/Dog.tsx @@ -3,7 +3,6 @@ import { ReactNode } from 'react' import { useParams } from "react-router-dom"; import Img from './Img'; import DogNameTxt from './DogNameTxt'; -import './Dog.css'; import {getDog} from '../services/PhpApi' import useSWR from 'swr'; diff --git a/src/components/DogNameTxt.tsx b/src/components/DogNameTxt.tsx index 3a74718..7c78ccb 100644 --- a/src/components/DogNameTxt.tsx +++ b/src/components/DogNameTxt.tsx @@ -6,14 +6,14 @@ export default function DogNameTxt( {name: string, email: string, phone: string, qr_id: string}) { return (
-

Hallo ich bin -

{name}!

+

Hallo ich bin +

{name}!

-

+

oder ruf

-
{phone}
+
{phone}
an,
damit ich schnell wieder Heim komme. diff --git a/src/components/Footer.css b/src/components/Footer.css deleted file mode 100644 index e69de29..0000000 diff --git a/src/components/Footer2.tsx b/src/components/Footer2.tsx deleted file mode 100644 index f7a3e51..0000000 --- a/src/components/Footer2.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { Link } from 'react-router-dom'; -import './Footer.css'; - -function Footer2() { - return ( -
Impressum
- ); -} - -export default Footer2; \ No newline at end of file diff --git a/src/components/Header.css b/src/components/Header.css deleted file mode 100644 index 2229a2b..0000000 --- a/src/components/Header.css +++ /dev/null @@ -1,6 +0,0 @@ -.logout -{ - display: flex; - flex-direction: row; - justify-content: flex-end; -} \ No newline at end of file diff --git a/src/components/Header2.tsx b/src/components/Header2.tsx deleted file mode 100644 index a1d068a..0000000 --- a/src/components/Header2.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import './Header.css'; -import '../App.css'; -import './InputForm.css'; -import {logOut} from '../services/PhpApi' -import { notificationSuccess } from '../services/Notifications'; - - -function Header2() -{ - const logOutForm = () => - { - logOut(); - notificationSuccess("logged out!"); - - window.location.href = '/dog/'; - } - - return ( -
- -
- ); -} - -export default Header2; \ No newline at end of file diff --git a/src/components/Home.tsx b/src/components/Home.tsx deleted file mode 100644 index 6423892..0000000 --- a/src/components/Home.tsx +++ /dev/null @@ -1,14 +0,0 @@ -// import React, { useContext } from 'react' -// import { UserCtx, UserCtxT } from '../context/UserContext'; - -export default function Home() { -// const {user} = useContext(UserCtx) as UserCtxT; -// return ( -//
-//

Home

-//
Logged in als:
-//
{user?.email}
- -//
-// ) -} diff --git a/src/components/PasswordReset.tsx b/src/components/PasswordReset.tsx index 4408910..ae50ef8 100644 --- a/src/components/PasswordReset.tsx +++ b/src/components/PasswordReset.tsx @@ -4,6 +4,7 @@ import { passwordReset, getPwToken } from '../services/PhpApi'; import useSWR from 'swr'; import './InputForm.css'; import { notificationError, notificationSuccess } from '../services/Notifications'; +import { PasswordInput } from '@mantine/core'; export default function PasswordReset() { @@ -25,13 +26,15 @@ export default function PasswordReset() ...formData, [e.currentTarget.name]:e.currentTarget.value }) + + //console.log(e.currentTarget.value); } if(!data.success) { return(
-

Email nicht mehr gültig!

+

Link nicht mehr gültig!

) } @@ -82,15 +85,25 @@ export default function PasswordReset()
-
- - -
-
- - -
- + + +
Login
diff --git a/src/components/Profil.css b/src/components/Profil.css deleted file mode 100644 index e09097c..0000000 --- a/src/components/Profil.css +++ /dev/null @@ -1,4 +0,0 @@ -button.QRakt -{ - max-width: 80%; -} \ No newline at end of file diff --git a/src/components/Profil.tsx b/src/components/Profil.tsx index a0516d1..97b115e 100644 --- a/src/components/Profil.tsx +++ b/src/components/Profil.tsx @@ -6,7 +6,6 @@ import {getProfilData, updateDog} from '../services/PhpApi'; import CreateQr from '../services/CreateQr'; import Img from './Img'; import './InputForm.css'; -import './Profil.css'; import { TextInput } from '@mantine/core'; import { notificationError, notificationSuccess } from '../services/Notifications';