diff --git a/.env.example b/.env.example index 1b0fe38..70c8222 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -APP_NAME=Laravel +APP_NAME=FitAtlas APP_ENV=local APP_KEY= APP_DEBUG=true diff --git a/app/Http/Controllers/LegalController.php b/app/Http/Controllers/LegalController.php new file mode 100644 index 0000000..34a6a57 --- /dev/null +++ b/app/Http/Controllers/LegalController.php @@ -0,0 +1,18 @@ + 'What languages are supported?', 'a6' => 'English and Romanian. Switch with the language control in the header.', ], - 'footer' => [ - 'about' => 'About', - 'privacy' => 'Privacy', - 'terms' => 'Terms', - 'contact' => 'Contact', - ], ], 'workouts' => [ @@ -252,7 +246,12 @@ return [ 'recent_workouts' => 'Recent workouts', 'none' => 'Nothing to show yet.', 'manage_workouts' => 'Manage workouts', + ], + 'footer' => [ + 'privacy' => 'Privacy Policy', + 'terms' => 'Terms of Service', + 'rights' => 'All rights reserved.', ], 'yoga' => [ @@ -316,6 +315,8 @@ return [ 'back' => 'Back', 'register' => 'Register', ], + 'consent_prefix' => 'By creating an account, you agree to our', + 'consent_and' => 'and', 'is_trainer' => 'I am a trainer', 'equipment_options' => [ 'dumbbells' => 'Dumbbells', diff --git a/lang/ro/app.php b/lang/ro/app.php index 8a31e49..0586de6 100644 --- a/lang/ro/app.php +++ b/lang/ro/app.php @@ -127,12 +127,6 @@ return [ 'q6' => 'Ce limbi sunt disponibile?', 'a6' => 'Engleză și Română. Schimbă limba din antet.', ], - 'footer' => [ - 'about' => 'Despre', - 'privacy' => 'Confidențialitate', - 'terms' => 'Termeni', - 'contact' => 'Contact', - ], ], 'workouts' => [ @@ -254,6 +248,12 @@ return [ 'manage_workouts' => 'Gestionează antrenamentele', ], + 'footer' => [ + 'privacy' => 'Politica de confidențialitate', + 'terms' => 'Termeni și condiții', + 'rights' => 'Toate drepturile rezervate.', + ], + 'yoga' => [ 'browse' => 'Răsfoiește pozițiile de yoga', 'browse_desc' => 'Explorează pozițiile de yoga după categorie sau beneficii.', @@ -315,6 +315,8 @@ return [ 'back' => 'Înapoi', 'register' => 'Înregistrare', ], + 'consent_prefix' => 'Prin crearea unui cont, ești de acord cu', + 'consent_and' => 'și cu', 'is_trainer' => 'Sunt antrenor', 'equipment_options' => [ 'dumbbells' => 'Gantere', diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 5074f0a..3af8cdf 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -153,7 +153,14 @@ -
+ {{ __('app.auth.register.consent_prefix') }} + {{ __('app.footer.terms') }} + {{ __('app.auth.register.consent_and') }} + {{ __('app.footer.privacy') }}. +
+ +