[#37] Login & Register Page UI

https://project.mdnd-it.cc/work_packages/37
This commit is contained in:
2025-05-17 10:33:55 +02:00
parent f089d314ca
commit 8a7500eb69
7 changed files with 131 additions and 16 deletions
@@ -1,3 +1,6 @@
// src/components/Inputs/InputBox.jsx
// Gomb komponens
import { motion } from "framer-motion";
export default function Button({ text, type, onClick }) {
@@ -1,10 +1,15 @@
export default function InputBox({ type, placeholder }) {
// src/components/Inputs/InputBox.jsx
// InputBox komponens
export default function InputBox({ type, placeholder, value, onChange }) {
return (
<div className="mb-6 relative">
<input
type={type}
className="w-full px-4 py-3 border border-gray-300 rounded-lg focus:border-background focus:outline-none text-gray-700 placeholder-gray-400 bg-gray-50"
placeholder={placeholder}
value={value}
onChange={onChange}
/>
</div>
);