mirror of
https://github.com/GithubOrgProjectPiza/frontend.git
synced 2026-09-06 07:35:59 +02:00
Eingabefeld, Listenansicht erstellt
Eingabefeld fertig + Listenansicht
This commit is contained in:
Generated
+5
@@ -5396,6 +5396,11 @@
|
|||||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz",
|
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz",
|
||||||
"integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w=="
|
"integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w=="
|
||||||
},
|
},
|
||||||
|
"font-awesome": {
|
||||||
|
"version": "4.7.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz",
|
||||||
|
"integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM="
|
||||||
|
},
|
||||||
"fork-ts-checker-webpack-plugin": {
|
"fork-ts-checker-webpack-plugin": {
|
||||||
"version": "6.5.0",
|
"version": "6.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.0.tgz",
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
"@testing-library/jest-dom": "^5.16.2",
|
"@testing-library/jest-dom": "^5.16.2",
|
||||||
"@testing-library/react": "^12.1.4",
|
"@testing-library/react": "^12.1.4",
|
||||||
"@testing-library/user-event": "^13.5.0",
|
"@testing-library/user-event": "^13.5.0",
|
||||||
|
"font-awesome": "^4.7.0",
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"react-scripts": "5.0.0",
|
"react-scripts": "5.0.0",
|
||||||
|
|||||||
@@ -2,8 +2,11 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");
|
||||||
|
|
||||||
.App {
|
.App {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-family: qicksand, arial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.App-logo {
|
.App-logo {
|
||||||
|
|||||||
+3
-2
@@ -1,9 +1,10 @@
|
|||||||
import Eingabefelder from "./Components/eingabefelder";
|
import Eingabefeld from "./Components/eingabefeld";
|
||||||
|
import "../node_modules/font-awesome/css/font-awesome.min.css";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<div className="App">
|
<div className="App">
|
||||||
<Eingabefelder label="test" placeholder="password" />
|
<Eingabefeld label="Name" isPassword={false} placeholder="" />
|
||||||
<p className="from-green-50">tets</p>
|
<p className="from-green-50">tets</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -5,8 +5,10 @@ function Eingabefeld(props) {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<label>{props.label}</label>
|
<label>{props.label}</label>
|
||||||
|
<br />
|
||||||
<input
|
<input
|
||||||
className="form-control
|
className="form-control
|
||||||
|
border-radius: 5px
|
||||||
block
|
block
|
||||||
w-220
|
w-220
|
||||||
h-35
|
h-35
|
||||||
@@ -15,11 +17,11 @@ function Eingabefeld(props) {
|
|||||||
text-base
|
text-base
|
||||||
font-normal
|
font-normal
|
||||||
border border-solid border-gray-300
|
border border-solid border-gray-300
|
||||||
rounded
|
rounded"
|
||||||
focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none"
|
|
||||||
onChange={(e) => setPollName(e.target.value)}
|
onChange={(e) => setPollName(e.target.value)}
|
||||||
value={usepollName}
|
value={usepollName}
|
||||||
placeholder={props.placeholder}
|
placeholder={props.placeholder}
|
||||||
|
type={props.isPassword ? "password" : "text"}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
import React, { useState } from "react";
|
||||||
|
|
||||||
|
function Liste(props) {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<Label></Label>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Liste;
|
||||||
+7
-5
@@ -4,14 +4,16 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
|
||||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
"Droid Sans", "Helvetica Neue", sans-serif;
|
||||||
sans-serif;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||||
monospace;
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
font-family: FontAwesome;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user