branch wieder master; layout orange

This commit is contained in:
2022-12-21 02:06:12 +01:00
parent 722f7a5cff
commit a4658286cf
6 changed files with 22 additions and 40 deletions

View File

@ -18,7 +18,7 @@ $returnData = new CMsg(0);
if ($_SERVER["REQUEST_METHOD"] != "POST")
{
$returnData = new CMsg(0, 404, 'Page Not Found!');
$returnData = new CMsg(0, 404, 'Page Not Found! REQUEST_METHOD');
echo $returnData->jsonarray();
return;
}

View File

@ -1,38 +1,6 @@
.App {
text-align: center;
background-color: rgb(243, 97, 12);
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

View File

@ -2,7 +2,6 @@ import React from 'react';
import {useContext} from 'react'
import './App.css';
import { BrowserRouter, Routes, Route, Navigate} from 'react-router-dom';
import "./App.css";
import Login from './components/Login';
import Register from './components/Register';
import Home from './components/Home';

14
src/components/Dog.css Normal file
View File

@ -0,0 +1,14 @@
.Dog
.Content
{
font-weight: bold;
margin: 5px;
}
.neben
{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}

View File

@ -3,6 +3,7 @@ import React, { useContext, useState } from 'react'
import { useParams } from "react-router-dom";
import Img from './Img';
import DogNameTxt from './DogNameTxt';
import './Dog.css';
const Dog = () =>
{
@ -32,7 +33,7 @@ const Dog = () =>
}
return (
<div>
<div className = 'Dog'>
<h1>Hast Du mich gefunden?</h1>
{/* <p>name: {name}</p>
<p>email: {email}</p>

View File

@ -5,9 +5,9 @@ export default function DogNameTxt(
{name: string, email: string, phone: string}) {
return (
<div>
<p>Hallo ich bin die <p>{name}!</p></p>
<p>bitte schreib eine Mail an <p>{email}</p>
oder ruf <p>{phone} an,</p>damit ich schnell wieder Heim komme.</p>
<p>Hallo ich bin <p className='Content'>{name}!</p></p>
<p>bitte schreib eine Mail an <p className='Content'>{email}</p>
oder ruf <div className='neben'><div className='Content'>{phone}</div> an,</div> damit ich schnell wieder Heim komme.</p>
</div>
)
}