35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
@extends('layouts.app')
|
|
|
|
@push('head')
|
|
<link rel="stylesheet" href="{{ mix("css/login.css") }}">
|
|
@endpush
|
|
|
|
@section('title', "Sklep")
|
|
|
|
@section('main')
|
|
|
|
<div class="login-register-container">
|
|
<div class="login-register-form">
|
|
<h1> Zaloguj się </h1>
|
|
<form method="post">
|
|
<input type="email" name="email">
|
|
<input type="password" name="password">
|
|
<input type="submit">
|
|
@csrf
|
|
</form>
|
|
</div>
|
|
<div>
|
|
<h1> Zarejstruj się </h1>
|
|
<form method="post" action="{{ url("register") }}">
|
|
<!-- TODO validation in js !-->
|
|
<input type="email" name="email" placeholder="email">
|
|
<input type="text" name="name" placeholder="Imie">
|
|
<input type="password" name="password" placeholder="Hasło">
|
|
<input type="password" name="password_confirmation" placeholder="Powtórz hasło">
|
|
<input type="submit">
|
|
@csrf
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection()
|