mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
Ajout zones en pavage + fix dockefiles
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { useTeamConnexion } from "@/context/teamConnexionContext";
|
||||
import Image from "next/image";
|
||||
|
||||
export default function BlueButton({ children, ...props }) {
|
||||
export function BlueButton({ children, ...props }) {
|
||||
return (<button {...props} className="bg-blue-600 hover:bg-blue-500 text-lg ease-out duration-200 text-white w-full h-full p-4 shadow-sm rounded">
|
||||
{children}
|
||||
</button>)
|
||||
@@ -20,6 +19,6 @@ export function GreenButton({ children, ...props }) {
|
||||
}
|
||||
|
||||
export function LogoutButton() {
|
||||
const { logout } = useTeamConnexion();
|
||||
return <img src="/icons/logout.png" onClick={logout} className='w-12 h-12 bg-red-500 p-2 top-1 right-1 rounded-lg cursor-pointer bg-red fixed z-20' />
|
||||
}
|
||||
const { logout } = useTeamConnexion();
|
||||
return <img src="/icons/logout.png" onClick={logout} className='w-12 h-12 bg-red-500 p-2 top-1 right-1 rounded-lg cursor-pointer bg-red fixed z-20' />
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
|
||||
export default function TextInput({...props}) {
|
||||
export function TextInput({...props}) {
|
||||
return (
|
||||
<input {...props} type="text" className="block w-full h-full p-4 rounded text-center ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600" />
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user