Skip to content

Commit

Permalink
add impressum, german DSGVO, and translated english gdpr version
Browse files Browse the repository at this point in the history
  • Loading branch information
butburg committed Aug 4, 2024
1 parent b577f8f commit 6d9bbfc
Show file tree
Hide file tree
Showing 7 changed files with 910 additions and 64 deletions.
103 changes: 55 additions & 48 deletions src/resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
@@ -1,51 +1,58 @@
<x-guest-layout>
<div class="pt-3">
<form method="POST" action="{{ route('register') }}">
@csrf

<!-- Name -->
<div>
<x-input-label for="name" :value="__('Username (visible to others)')" />
<x-text-input id="name" class="block mt-1 w-full" type="text" name="name" :value="old('name')" placeholder="Choose a unique username" required autofocus autocomplete="name" />
<x-input-error :messages="$errors->get('name')" class="mt-2" />
</div>

<!-- Email Address -->
<div class="mt-4">
<x-input-label for="email" :value="'Email (only for login)'" />
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autocomplete="username" />
<x-input-error :messages="$errors->get('email')" class="mt-2" />
</div>

<!-- Password -->
<div class="mt-4">
<x-input-label for="password" :value="__('Password')" />

<x-text-input id="password" class="block mt-1 w-full"
type="password"
name="password"
required autocomplete="new-password" />

<x-input-error :messages="$errors->get('password')" class="mt-2" />
</div>

<!-- Confirm Password -->
<div class="mt-4">
<x-input-label for="password_confirmation" :value="__('Confirm Password')" />

<x-text-input id="password_confirmation" class="block mt-1 w-full"
type="password"
name="password_confirmation" required autocomplete="new-password" />

<x-input-error :messages="$errors->get('password_confirmation')" class="mt-2" />
</div>

<div class="flex items-center justify-end mt-4">

<x-primary-button class="ms-4">
{{ __('Register') }}
</x-primary-button>
</div>
</form>
</div>
<form method="POST" action="{{ route('register') }}">
@csrf

<!-- Name -->
<div>
<x-input-label for="name" :value="__('Username (visible to others)')" />
<x-text-input class="mt-1 block w-full" id="name" name="name" type="text" :value="old('name')"
placeholder="Choose a unique username" required autofocus autocomplete="name" />
<x-input-error class="mt-2" :messages="$errors->get('name')" />
</div>

<!-- Email Address -->
<div class="mt-4">
<x-input-label for="email" :value="'Email (only for login)'" />
<x-text-input class="mt-1 block w-full" id="email" name="email" type="email" :value="old('email')"
required autocomplete="username" />
<x-input-error class="mt-2" :messages="$errors->get('email')" />
</div>

<!-- Password -->
<div class="mt-4">
<x-input-label for="password" :value="__('Password')" />

<x-text-input class="mt-1 block w-full" id="password" name="password" type="password" required
autocomplete="new-password" />

<x-input-error class="mt-2" :messages="$errors->get('password')" />
</div>

<!-- Confirm Password -->
<div class="mt-4">
<x-input-label for="password_confirmation" :value="__('Confirm Password')" />

<x-text-input class="mt-1 block w-full" id="password_confirmation" name="password_confirmation"
type="password" required autocomplete="new-password" />

<x-input-error class="mt-2" :messages="$errors->get('password_confirmation')" />
</div>

<div class="mt-4 flex items-center">
<input
class="h-4 w-4 rounded border-gray-300 bg-gray-100 text-blue-600 focus:ring-2 focus:ring-blue-500"
id="link-checkbox" type="checkbox" value="">
<label class="ms-2 text-sm font-medium text-gray-900" for="link-checkbox">I agree
with the <a class="text-c-accent hover:underline" href="{{route('impressum')}}">privacy policy</a>.</label>
</div>

<div class="mt-4 flex items-center justify-end">

<x-primary-button class="ms-4">
{{ __('Register') }}
</x-primary-button>
</div>
</form>
</div>
</x-guest-layout>
Loading

0 comments on commit 6d9bbfc

Please sign in to comment.