anulax1225 ago%!(EXTRA string=3 months)
parent 9a3f2bd563
commit 4f17a9135b
  1. 55
      .env.example
  2. 2
      .gitignore
  3. 87
      .lando.yml
  4. 47
      app/Http/Controllers/AlbumController.php
  5. 47
      app/Http/Controllers/ArticleController.php
  6. 52
      app/Http/Controllers/Auth/AuthenticatedSessionController.php
  7. 41
      app/Http/Controllers/Auth/ConfirmablePasswordController.php
  8. 24
      app/Http/Controllers/Auth/EmailVerificationNotificationController.php
  9. 22
      app/Http/Controllers/Auth/EmailVerificationPromptController.php
  10. 69
      app/Http/Controllers/Auth/NewPasswordController.php
  11. 29
      app/Http/Controllers/Auth/PasswordController.php
  12. 51
      app/Http/Controllers/Auth/PasswordResetLinkController.php
  13. 51
      app/Http/Controllers/Auth/RegisteredUserController.php
  14. 27
      app/Http/Controllers/Auth/VerifyEmailController.php
  15. 10
      app/Http/Controllers/AuthController.php
  16. 45
      app/Http/Controllers/CategorieController.php
  17. 31
      app/Http/Controllers/ImageController.php
  18. 47
      app/Http/Controllers/InfoController.php
  19. 68
      app/Http/Controllers/PhotoController.php
  20. 63
      app/Http/Controllers/ProfileController.php
  21. 47
      app/Http/Controllers/UserController.php
  22. 39
      app/Http/Middleware/HandleInertiaRequests.php
  23. 85
      app/Http/Requests/Auth/LoginRequest.php
  24. 30
      app/Http/Requests/ProfileUpdateRequest.php
  25. 30
      app/Models/Album.php
  26. 36
      app/Models/Article.php
  27. 22
      app/Models/Categorie.php
  28. 17
      app/Models/Image.php
  29. 30
      app/Models/Info.php
  30. 13
      app/Models/Photo.php
  31. 17
      app/Models/User.php
  32. 3
      app/Providers/AppServiceProvider.php
  33. 5
      bootstrap/app.php
  34. 17
      composer.json
  35. 2868
      composer.lock
  36. 1
      config/auth.php
  37. 21
      database/migrations/0001_01_01_000000_create_users_table.php
  38. 35
      database/migrations/2024_09_24_073400_create_albums_table.php
  39. 33
      database/migrations/2024_09_24_073499_create_images_table.php
  40. 34
      database/migrations/2024_09_24_073508_create_articles_table.php
  41. 33
      database/migrations/2024_09_24_073599_create_categories_table.php
  42. 33
      database/migrations/2024_09_24_073616_create_infos_table.php
  43. 8
      database/migrations/2025_01_16_183527_create_photos_table.php
  44. 24
      database/seeders/AlbumsSeeder.php
  45. 17
      database/seeders/ArticlesSeeder.php
  46. 22
      database/seeders/CategoriesSeeder.php
  47. 7
      database/seeders/DatabaseSeeder.php
  48. 17
      database/seeders/InfosSeeder.php
  49. 28
      database/seeders/UsersSeeder.php
  50. 10
      jsconfig.json
  51. 263
      lang/en.json
  52. 119
      lang/en/actions.php
  53. 9
      lang/en/auth.php
  54. 84
      lang/en/http-statuses.php
  55. 8
      lang/en/pagination.php
  56. 11
      lang/en/passwords.php
  57. 280
      lang/en/validation.php
  58. 263
      lang/fr.json
  59. 119
      lang/fr/actions.php
  60. 9
      lang/fr/auth.php
  61. 84
      lang/fr/http-statuses.php
  62. 8
      lang/fr/pagination.php
  63. 11
      lang/fr/passwords.php
  64. 280
      lang/fr/validation.php
  65. 3470
      package-lock.json
  66. 17
      package.json
  67. 6
      postcss.config.js
  68. 4
      public/img/add-image.svg
  69. 1
      public/img/background.svg
  70. 3
      public/img/baslac.svg
  71. 5
      public/img/block-quote.svg
  72. 4
      public/img/bold.svg
  73. BIN
      public/img/chalet.webp
  74. 4
      public/img/facebook.svg
  75. 6
      public/img/instagram.svg
  76. 4
      public/img/italic.svg
  77. 4
      public/img/list.svg
  78. BIN
      public/img/logo.png
  79. 24
      public/img/mail.svg
  80. 8
      public/img/title.svg
  81. 157
      resources/css/app.css
  82. 7
      resources/js/Components/ApplicationLogo.vue
  83. 34
      resources/js/Components/Checkbox.vue
  84. 7
      resources/js/Components/DangerButton.vue
  85. 84
      resources/js/Components/Dropdown.vue
  86. 19
      resources/js/Components/DropdownLink.vue
  87. 15
      resources/js/Components/InputError.vue
  88. 14
      resources/js/Components/InputLabel.vue
  89. 45
      resources/js/Components/MarkdownEditor.vue
  90. 123
      resources/js/Components/Modal.vue
  91. 26
      resources/js/Components/NavLink.vue
  92. 7
      resources/js/Components/PrimaryButton.vue
  93. 26
      resources/js/Components/ResponsiveNavLink.vue
  94. 17
      resources/js/Components/SecondaryButton.vue
  95. 26
      resources/js/Components/TextInput.vue
  96. 22
      resources/js/Layouts/AuthLayout.vue
  97. 54
      resources/js/Layouts/GuestLayout.vue
  98. 196
      resources/js/Layouts/LoggedLayout.vue
  99. 55
      resources/js/Pages/Auth/ConfirmPassword.vue
  100. 68
      resources/js/Pages/Auth/ForgotPassword.vue
  101. Some files were not shown because too many files have changed in this diff Show More

@ -1,17 +1,21 @@
APP_NAME=Laravel
# Laravel config to use with the .lando.yml file
# Replace baslac with your app name
APP_NAME=baslac
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=http://localhost
APP_TIMEZONE=Europe/Zurich
APP_URL=https://baslac.lndo.site
APP_LOCALE=en
APP_LOCALE=fr
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database
PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
@ -19,18 +23,14 @@ LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=
DB_CONNECTION=mysql
DB_HOST=database
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=laravel
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
SESSION_DRIVER=file
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
@ -39,26 +39,31 @@ QUEUE_CONNECTION=database
CACHE_STORE=database
CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
# memcached is not configured
#MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_MAILER=smtp
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_ADDRESS="noreply@baslac.com"
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_URL="https://s3-baslac.lndo.site"
AWS_ENDPOINT="http://minio:9000"
AWS_ACCESS_KEY_ID=minio
AWS_SECRET_ACCESS_KEY=miniosecret
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
AWS_BUCKET=laravel
AWS_USE_PATH_STYLE_ENDPOINT=true
VITE_APP_NAME="${APP_NAME}"

2
.gitignore vendored

@ -4,6 +4,7 @@
/public/hot
/public/storage
/storage/*.key
/storage/pail
/vendor
.env
.env.backup
@ -17,5 +18,6 @@ npm-debug.log
yarn-error.log
/.fleet
/.idea
/.nova
/.vscode
/.zed

@ -0,0 +1,87 @@
# Replace baslac with the name of your app from .lando.yml
name: baslac
recipe: laravel
config:
via: nginx
php: 8.2
database: mysql:8.0
webroot: public
services:
# If you want to manage the MySQL database
phpmyadmin:
name: phpmyadmin
type: phpmyadmin
# If you want to simulate an S3 storage locally
# > configure proxy below as well
minio:
type: lando
app_mount: false
ssl: true
services:
image: bitnami/minio
command: /opt/bitnami/scripts/minio/entrypoint.sh /opt/bitnami/scripts/minio/run.sh
volumes:
- minio_data:/bitnami/minio/data
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=miniosecret
- MINIO_DEFAULT_BUCKETS=laravel
volumes:
minio_data:
driver: local
scanner:
okCodes:
- 200
- 403
# If you want to simulate mail sending locally
# > configure proxy below as well
mailpit:
name: mailpit
type: lando
app_mount: false
ssl: true
sslExpose: false
services:
image: axllent/mailpit
command: /mailpit
environment:
- MP_DATABASE=/data/mailpit.db
volumes:
- mailpit:/data
volumes:
mailpit:
driver: local
# If you want to use vite in your Laravel project
# > remove tooling below if you don't need it
node:
name: node
type: node:18
ports:
- 5173:5173 # check that your port matches the one in vite.config.js
redis:
name: redis
type: redis
proxy:
minio:
- s3-baslac.lndo.site:9000
- s3admin-baslac.lndo.site:9001
mailpit:
- mailpit-baslac.lndo.site:8025
# if you use node, these below will configure the shortcuts
# - lando dev => npm run dev in the node container
# - lando build => npm run build in the node container
tooling:
npmi:
service: node
cmd: npm install
dev:
service: node
cmd: npm run dev
build:
service: node
cmd: npm run build
# /!\ The clean operation is not configured by default
# in the package.json
clean:
service: node
cmd: npm run clean

@ -1,47 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Album;
use Illuminate\Support\Facades\Validator;
class AlbumController extends Controller
{
public function index(Request $request)
{
$albums = Album::paginate(15);
if (count($albums) > $request->page) return response($albums[$request->page]);
return response(["message" => "Page not found"], 404);
}
public function show(Request $request)
{
$album = Album::find($request->id);
if ($album) return response($album);
return response(["message" => "Album not found"], 404);
}
public function store(Request $request)
{
$validator = Validator::make($request->all(), ["name" => "required"]);
if ($validator->fails()) return response($validator->messages(), 400);
response(Album::create($request->all()));
}
public function update(Request $request)
{
$album = Album::find($request->id);
if (!$album) return response(["message" => "Album not found"], 404);
$album->update($request->all());
return response($album);
}
public function destroy(Request $request)
{
$album = Album::find($request->id);
if (!$album) return response(["message" => "Album not found"], 404);
$album->destroy();
return response([]);
}
}

@ -1,47 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Article;
use Illuminate\Support\Facades\Validator;
class ArticleController extends Controller
{
public function index(Request $request)
{
$articles = Article::paginate(15);
if (count($articles) > $request->page) return response($articles[$request->page]);
return response(["message" => "Page not found"], 404);
}
public function show(Request $request)
{
$article = Article::find($request->id);
if ($article) return response($article);
return response(["message" => "Article not found"], 404);
}
public function store(Request $request)
{
$validator = Validator::make($request->all(), ["name" => "required"]);
if ($validator->fails()) return response($validator->messages(), 400);
response(Article::create($request->all()));
}
public function update(Request $request)
{
$article = Article::find($request->id);
if (!$article) return response(["message" => "Article not found"], 404);
$article->update($request->all());
return response($article);
}
public function destroy(Request $request)
{
$article = Article::find($request->id);
if (!$article) return response(["message" => "Article not found"], 404);
$article->destroy();
return response([]);
}
}

@ -0,0 +1,52 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Http\Requests\Auth\LoginRequest;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use Inertia\Response;
class AuthenticatedSessionController extends Controller
{
/**
* Display the login view.
*/
public function create(): Response
{
return Inertia::render('Auth/Login', [
'canResetPassword' => Route::has('password.request'),
'status' => session('status'),
]);
}
/**
* Handle an incoming authentication request.
*/
public function store(LoginRequest $request): RedirectResponse
{
$request->authenticate();
$request->session()->regenerate();
return redirect()->intended(route('dashboard', absolute: false));
}
/**
* Destroy an authenticated session.
*/
public function destroy(Request $request): RedirectResponse
{
Auth::guard('web')->logout();
$request->session()->invalidate();
$request->session()->regenerateToken();
return redirect('/');
}
}

@ -0,0 +1,41 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Validation\ValidationException;
use Inertia\Inertia;
use Inertia\Response;
class ConfirmablePasswordController extends Controller
{
/**
* Show the confirm password view.
*/
public function show(): Response
{
return Inertia::render('Auth/ConfirmPassword');
}
/**
* Confirm the user's password.
*/
public function store(Request $request): RedirectResponse
{
if (! Auth::guard('web')->validate([
'email' => $request->user()->email,
'password' => $request->password,
])) {
throw ValidationException::withMessages([
'password' => __('auth.password'),
]);
}
$request->session()->put('auth.password_confirmed_at', time());
return redirect()->intended(route('dashboard', absolute: false));
}
}

@ -0,0 +1,24 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
class EmailVerificationNotificationController extends Controller
{
/**
* Send a new email verification notification.
*/
public function store(Request $request): RedirectResponse
{
if ($request->user()->hasVerifiedEmail()) {
return redirect()->intended(route('dashboard', absolute: false));
}
$request->user()->sendEmailVerificationNotification();
return back()->with('status', 'verification-link-sent');
}
}

@ -0,0 +1,22 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Inertia\Inertia;
use Inertia\Response;
class EmailVerificationPromptController extends Controller
{
/**
* Display the email verification prompt.
*/
public function __invoke(Request $request): RedirectResponse|Response
{
return $request->user()->hasVerifiedEmail()
? redirect()->intended(route('dashboard', absolute: false))
: Inertia::render('Auth/VerifyEmail', ['status' => session('status')]);
}
}

@ -0,0 +1,69 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Auth\Events\PasswordReset;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Password;
use Illuminate\Support\Str;
use Illuminate\Validation\Rules;
use Illuminate\Validation\ValidationException;
use Inertia\Inertia;
use Inertia\Response;
class NewPasswordController extends Controller
{
/**
* Display the password reset view.
*/
public function create(Request $request): Response
{
return Inertia::render('Auth/ResetPassword', [
'email' => $request->email,
'token' => $request->route('token'),
]);
}
/**
* Handle an incoming new password request.
*
* @throws \Illuminate\Validation\ValidationException
*/
public function store(Request $request): RedirectResponse
{
$request->validate([
'token' => 'required',
'email' => 'required|email',
'password' => ['required', 'confirmed', Rules\Password::defaults()],
]);
// Here we will attempt to reset the user's password. If it is successful we
// will update the password on an actual user model and persist it to the
// database. Otherwise we will parse the error and return the response.
$status = Password::reset(
$request->only('email', 'password', 'password_confirmation', 'token'),
function ($user) use ($request) {
$user->forceFill([
'password' => Hash::make($request->password),
'remember_token' => Str::random(60),
])->save();
event(new PasswordReset($user));
}
);
// If the password was successfully reset, we will redirect the user back to
// the application's home authenticated view. If there is an error we can
// redirect them back to where they came from with their error message.
if ($status == Password::PASSWORD_RESET) {
return redirect()->route('login')->with('status', __($status));
}
throw ValidationException::withMessages([
'email' => [trans($status)],
]);
}
}

@ -0,0 +1,29 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\Rules\Password;
class PasswordController extends Controller
{
/**
* Update the user's password.
*/
public function update(Request $request): RedirectResponse
{
$validated = $request->validate([
'current_password' => ['required', 'current_password'],
'password' => ['required', Password::defaults(), 'confirmed'],
]);
$request->user()->update([
'password' => Hash::make($validated['password']),
]);
return back();
}
}

@ -0,0 +1,51 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Password;
use Illuminate\Validation\ValidationException;
use Inertia\Inertia;
use Inertia\Response;
class PasswordResetLinkController extends Controller
{
/**
* Display the password reset link request view.
*/
public function create(): Response
{
return Inertia::render('Auth/ForgotPassword', [
'status' => session('status'),
]);
}
/**
* Handle an incoming password reset link request.
*
* @throws \Illuminate\Validation\ValidationException
*/
public function store(Request $request): RedirectResponse
{
$request->validate([
'email' => 'required|email',
]);
// We will send the password reset link to this user. Once we have attempted
// to send the link, we will examine the response then see the message we
// need to show to the user. Finally, we'll send out a proper response.
$status = Password::sendResetLink(
$request->only('email')
);
if ($status == Password::RESET_LINK_SENT) {
return back()->with('status', __($status));
}
throw ValidationException::withMessages([
'email' => [trans($status)],
]);
}
}

@ -0,0 +1,51 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Auth\Events\Registered;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\Rules;
use Inertia\Inertia;
use Inertia\Response;
class RegisteredUserController extends Controller
{
/**
* Display the registration view.
*/
public function create(): Response
{
return Inertia::render('Auth/Register');
}
/**
* Handle an incoming registration request.
*
* @throws \Illuminate\Validation\ValidationException
*/
public function store(Request $request): RedirectResponse
{
$request->validate([
'name' => 'required|string|max:255',
'email' => 'required|string|lowercase|email|max:255|unique:'.User::class,
'password' => ['required', 'confirmed', Rules\Password::defaults()],
]);
$user = User::create([
'name' => $request->name,
'email' => $request->email,
'password' => Hash::make($request->password),
]);
event(new Registered($user));
Auth::login($user);
return redirect(route('dashboard', absolute: false));
}
}

@ -0,0 +1,27 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Auth\Events\Verified;
use Illuminate\Foundation\Auth\EmailVerificationRequest;
use Illuminate\Http\RedirectResponse;
class VerifyEmailController extends Controller
{
/**
* Mark the authenticated user's email address as verified.
*/
public function __invoke(EmailVerificationRequest $request): RedirectResponse
{
if ($request->user()->hasVerifiedEmail()) {
return redirect()->intended(route('dashboard', absolute: false).'?verified=1');
}
if ($request->user()->markEmailAsVerified()) {
event(new Verified($request->user()));
}
return redirect()->intended(route('dashboard', absolute: false).'?verified=1');
}
}

@ -1,10 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class AuthController extends Controller
{
//
}

@ -1,45 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Categorie;
use Illuminate\Support\Facades\Validator;
class CategorieController extends Controller
{
public function index(Request $request)
{
return response(Categorie::all());
}
public function show(Request $request)
{
$categorie = Categorie::find($request->id);
if ($categorie) return response($categorie);
return response(["message" => "Categorie not found"], 404);
}
public function store(Request $request)
{
$validator = Validator::make($request->all(), ["name" => "required"]);
if ($validator->fails()) return response($validator->messages(), 400);
response(Categorie::create($request->all()));
}
public function update(Request $request)
{
$categorie = Categorie::find($request->id);
if (!$categorie) return response(["message" => "Categorie not found"], 404);
$categorie->update($request->all());
return response($categorie);
}
public function destroy(Request $request)
{
$categorie = Categorie::find($request->id);
if (!$categorie) return response(["message" => "Categorie not found"], 404);
$categorie->destroy();
return response([]);
}
}

@ -1,31 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Image;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\Storage;
class ImageController extends Controller
{
public function store(Request $request)
{
$validator = Validator::make($request->all(), ["image" => "required"]);
if ($validator->fails()) return response($validator->messages(), 400);
$path = $request->file("image")->hashName();
$request->file('image')->store("public/images");
return response(Image::create([
"url" => $path
]));
}
public function destroy(Request $request)
{
$image = Image::find($request->id);
if (!$image) return response(["message" => "Image not found"], 404);
Storage::disk('local')->delete("public/images/". $image->url);
$image->destroy();
return response([]);
}
}

@ -1,47 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Info;
use Illuminate\Support\Facades\Validator;
class InfoController extends Controller
{
public function index(Request $request)
{
$infos = Info::paginate(15);
if (count($infos) > $request->page) return response($infos[$request->page]);
return response(["message" => "Page not found"], 404);
}
public function show(Request $request)
{
$info = Info::find($request->id);
if ($info) return response($info);
return response(["message" => "Info not found"], 404);
}
public function store(Request $request)
{
$validator = Validator::make($request->all(), ["name" => "required"]);
if ($validator->fails()) return response($validator->messages(), 400);
response(Info::create($request->all()));
}
public function update(Request $request)
{
$info = Info::find($request->id);
if (!$info) return response(["message" => "Info not found"], 404);
$info->update($request->all());
return response($info);
}
public function destroy(Request $request)
{
$info = Info::find($request->id);
if (!$info) return response(["message" => "Info not found"], 404);
$info->destroy();
return response([]);
}
}

@ -0,0 +1,68 @@
<?php
namespace App\Http\Controllers;
use App\Models\Photo;
use Illuminate\Http\Request;
use Inertia\Inertia;
class PhotoController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
return Inertia::render('Photo/Index', [
"photos" => Photo::all()
]);
}
/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*/
public function show(string $id)
{
//
}
/**
* Show the form for editing the specified resource.
*/
public function edit(string $id)
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, string $id)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(string $id)
{
//
}
}

@ -0,0 +1,63 @@
<?php
namespace App\Http\Controllers;
use App\Http\Requests\ProfileUpdateRequest;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Redirect;
use Inertia\Inertia;
use Inertia\Response;
class ProfileController extends Controller
{
/**
* Display the user's profile form.
*/
public function edit(Request $request): Response
{
return Inertia::render('Profile/Edit', [
'mustVerifyEmail' => $request->user() instanceof MustVerifyEmail,
'status' => session('status'),
]);
}
/**
* Update the user's profile information.
*/
public function update(ProfileUpdateRequest $request): RedirectResponse
{
$request->user()->fill($request->validated());
if ($request->user()->isDirty('email')) {
$request->user()->email_verified_at = null;
}
$request->user()->save();
return Redirect::route('profile.edit');
}
/**
* Delete the user's account.
*/
public function destroy(Request $request): RedirectResponse
{
$request->validate([
'password' => ['required', 'current_password'],
]);
$user = $request->user();
Auth::logout();
$user->delete();
$request->session()->invalidate();
$request->session()->regenerateToken();
return Redirect::to('/');
}
}

@ -1,47 +0,0 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\User;
use Illuminate\Support\Facades\Validator;
class UserController extends Controller
{
public function index(Request $request)
{
$users = User::paginate(15);
if (count($users) > $request->page) return response($users[$request->page]);
return response(["message" => "Page not found"], 404);
}
public function show(Request $request)
{
$user = User::find($request->id);
if ($user) return response($user);
return response(["message" => "User not found"], 404);
}
public function store(Request $request)
{
$validator = Validator::make($request->all(), ["name" => "required"]);
if ($validator->fails()) return response($validator->messages(), 400);
response(User::create($request->all()));
}
public function update(Request $request)
{
$user = User::find($request->id);
if (!$user) return response(["message" => "User not found"], 404);
$user->update($request->all());
return response($user);
}
public function destroy(Request $request)
{
$user = User::find($request->id);
if (!$user) return response(["message" => "User not found"], 404);
$user->destroy();
return response([]);
}
}

@ -0,0 +1,39 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Inertia\Middleware;
class HandleInertiaRequests extends Middleware
{
/**
* The root template that is loaded on the first page visit.
*
* @var string
*/
protected $rootView = 'app';
/**
* Determine the current asset version.
*/
public function version(Request $request): ?string
{
return parent::version($request);
}
/**
* Define the props that are shared by default.
*
* @return array<string, mixed>
*/
public function share(Request $request): array
{
return [
...parent::share($request),
'auth' => [
'user' => $request->user(),
],
];
}
}

@ -0,0 +1,85 @@
<?php
namespace App\Http\Requests\Auth;
use Illuminate\Auth\Events\Lockout;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Str;
use Illuminate\Validation\ValidationException;
class LoginRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
'email' => ['required', 'string', 'email'],
'password' => ['required', 'string'],
];
}
/**
* Attempt to authenticate the request's credentials.
*
* @throws \Illuminate\Validation\ValidationException
*/
public function authenticate(): void
{
$this->ensureIsNotRateLimited();
if (! Auth::attempt($this->only('email', 'password'), $this->boolean('remember'))) {
RateLimiter::hit($this->throttleKey());
throw ValidationException::withMessages([
'email' => trans('auth.failed'),
]);
}
RateLimiter::clear($this->throttleKey());
}
/**
* Ensure the login request is not rate limited.
*
* @throws \Illuminate\Validation\ValidationException
*/
public function ensureIsNotRateLimited(): void
{
if (! RateLimiter::tooManyAttempts($this->throttleKey(), 5)) {
return;
}
event(new Lockout($this));
$seconds = RateLimiter::availableIn($this->throttleKey());
throw ValidationException::withMessages([
'email' => trans('auth.throttle', [
'seconds' => $seconds,
'minutes' => ceil($seconds / 60),
]),
]);
}
/**
* Get the rate limiting throttle key for the request.
*/
public function throttleKey(): string
{
return Str::transliterate(Str::lower($this->string('email')).'|'.$this->ip());
}
}

@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests;
use App\Models\User;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Rule;
class ProfileUpdateRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
'name' => ['required', 'string', 'max:255'],
'email' => [
'required',
'string',
'lowercase',
'email',
'max:255',
Rule::unique(User::class)->ignore($this->user()->id),
],
];
}
}

@ -1,30 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Album extends Model
{
use HasFactory;
protected $fillable = [
"name",
"description",
"created_at",
"updated_at"
];
public function articles()
{
return $this->hasMany(Article::class);
}
public function images()
{
$images = [];
foreach($this->articles as $article) $images = array_merge($images, $article->images);
return $images;
}
}

@ -1,36 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Article extends Model
{
use HasFactory;
protected $fillable = [
"title",
"description",
"content",
"user_id",
"album_id",
"created_at",
"updated_at"
];
public function album()
{
return $this->belongsTo(Album::class);
}
public function user()
{
return $this->belongsTo(User::class);
}
public function images()
{
return $this->belongsToMany(Image::class, "images_articles");
}
}

@ -1,22 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Categorie extends Model
{
use HasFactory;
protected $fillable = [
"name",
"created_at",
"updated_at"
];
public function infos()
{
return $this->hasMany(Info::class);
}
}

@ -1,17 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Image extends Model
{
use HasFactory;
protected $fillable = [
"url",
"created_at",
"updated_at"
];
}

@ -1,30 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Info extends Model
{
use HasFactory;
protected $fillable = [
"title",
"content",
"categorie_id",
"user_id",
"created_at",
"updated_at"
];
public function user()
{
return $this->belongsTo(User::class);
}
public function categorie()
{
return $this->belongsTo(Categorie::class);
}
}

@ -0,0 +1,13 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Photo extends Model
{
protected $fillable = [
'name',
'path',
];
}

@ -9,6 +9,7 @@
class User extends Authenticatable
{
/** @use HasFactory<\Database\Factories\UserFactory> */
use HasFactory, Notifiable;
/**
@ -18,13 +19,9 @@ class User extends Authenticatable
*/
protected $fillable = [
'name',
"lastname",
'email',
"phone",
"totem",
"contactable",
'password',
"image_id"
'email_verified_at'
];
/**
@ -49,14 +46,4 @@ protected function casts(): array
'password' => 'hashed',
];
}
public function infos()
{
return $this->hasMany(Info::class);
}
public function articles()
{
return $this->hasMany(Article::class);
}
}

@ -2,6 +2,7 @@
namespace App\Providers;
use Illuminate\Support\Facades\Vite;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
@ -19,6 +20,6 @@ public function register(): void
*/
public function boot(): void
{
//
Vite::prefetch(concurrency: 3);
}
}

@ -11,6 +11,11 @@
health: '/up',
)
->withMiddleware(function (Middleware $middleware) {
$middleware->web(append: [
\App\Http\Middleware\HandleInertiaRequests::class,
\Illuminate\Http\Middleware\AddLinkHeadersForPreloadedAssets::class,
]);
//
})
->withExceptions(function (Exceptions $exceptions) {

@ -1,4 +1,5 @@
{
"$schema": "https://getcomposer.org/schema.json",
"name": "laravel/laravel",
"type": "project",
"description": "The skeleton application for the Laravel framework.",
@ -6,15 +7,21 @@
"license": "MIT",
"require": {
"php": "^8.2",
"laravel/framework": "^11.9",
"laravel/tinker": "^2.9"
"inertiajs/inertia-laravel": "^2.0",
"laravel-lang/common": "^6.4",
"laravel/framework": "^11.31",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
"tightenco/ziggy": "^2.0"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"laravel/breeze": "^2.3",
"laravel/pail": "^1.1",
"laravel/pint": "^1.13",
"laravel/sail": "^1.26",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.0",
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^11.0.1"
},
"autoload": {
@ -44,6 +51,10 @@
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
]
},
"extra": {

2868
composer.lock generated

File diff suppressed because it is too large Load Diff

@ -12,6 +12,7 @@
| as required, but they're a perfect start for most applications.
|
*/
'defaults' => [
'guard' => env('AUTH_GUARD', 'web'),
'passwords' => env('AUTH_PASSWORD_BROKER', 'users'),

@ -1,11 +1,8 @@
<?php
use Carbon\Carbon;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
return new class extends Migration
{
@ -17,31 +14,13 @@ public function up(): void
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string("lastname");
$table->string("totem")->nullable();
$table->string('email')->unique();
$table->string("phone")->unique()->nullable();
$table->tinyInteger("contactable")->default(0);
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->unsignedBigInteger("image_id")->default(0);
$table->string("api_token", 80)->after('password')->unique()->nullable()->default(null);
$table->rememberToken();
$table->timestamps();
$table->foreign("image_id")->references("id")->on("images");
});
DB::table("users")->insert([
"name" => "Vinayak",
"lastname" => "Ambigapathy",
"totem" => "Tax",
"email" => "anulax1225@icloud.com",
"contactable" => 1,
"password" => bcrypt(env("ADMIN_PASSWORD")),
"email_verified_at" => Carbon::now(),
"api_token" => Str::random(80),
]);
Schema::create('password_reset_tokens', function (Blueprint $table) {
$table->string('email')->primary();
$table->string('token');

@ -1,35 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('albums', function (Blueprint $table) {
$table->id();
$table->string("name", 255);
$table->string("description", 800)->nullable();
$table->timestamps();
});
DB::table("albums")->insert([
"name" => "Autres",
"description" => "Tout les articles sans album."
]);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('albums');
}
};

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('images', function (Blueprint $table) {
$table->id();
$table->string("url", 255)->unique();
$table->timestamps();
});
DB::table("images")->insert([
"url" => "default-pic.svg"
]);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('images');
}
};

@ -1,34 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('articles', function (Blueprint $table) {
$table->id();
$table->string("title", 255);
$table->string("description", 800);
$table->longText("content")->nullable();
$table->unsignedBigInteger("user_id");
$table->unsignedBigInteger("album_id")->default(0);
$table->timestamps();
$table->foreign("user_id")->references("id")->on("users");
$table->foreign("album_id")->references("id")->on("albums");
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('articles');
}
};

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('categories', function (Blueprint $table) {
$table->id();
$table->string("name", 255)->unique();
$table->timestamps();
});
DB::table("categories")->insert([
"name" => "Autres"
]);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('categories');
}
};

@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('infos', function (Blueprint $table) {
$table->id();
$table->string("title", 255);
$table->longText("content");
$table->unsignedBigInteger("categorie_id");
$table->unsignedBigInteger("user_id");
$table->timestamps();
$table->foreign("categorie_id")->references("id")->on("categories");
$table->foreign("user_id")->references("id")->on("users");
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('infos');
}
};

@ -11,10 +11,10 @@
*/
public function up(): void
{
Schema::create('images_articles', function (Blueprint $table) {
Schema::create('photos', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger("image_id");
$table->unsignedBigInteger("article_id");
$table->string("name", 255);
$table->string("path", 511);
$table->timestamps();
});
}
@ -24,6 +24,6 @@ public function up(): void
*/
public function down(): void
{
Schema::dropIfExists('images_articles');
Schema::dropIfExists('photos');
}
};

@ -1,24 +0,0 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\Album;
class AlbumsSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$faker = \Faker\Factory::create();
for ($i = 0; $i < 10; $i++)
Album::create([
"name" => $faker->title(),
"description" => $faker->paragraph(),
]);
}
}

@ -1,17 +0,0 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class ArticlesSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
//
}
}

@ -1,22 +0,0 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\Categorie;
class CategoriesSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$faker = \Faker\Factory::create();
for ($i = 0; $i < 8; $i++)
Categorie::create([
"name" => $faker->title(),
]);
}
}

@ -3,6 +3,7 @@
namespace Database\Seeders;
use App\Models\User;
use Carbon\Carbon;
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
@ -16,8 +17,10 @@ public function run(): void
// User::factory(10)->create();
User::factory()->create([
'name' => 'Test User',
'email' => 'test@example.com',
'name' => 'Anulax',
'email' => 'anulax1225@icloud.com',
'password' => bcrypt("password"),
'email_verified_at' => Carbon::now(),
]);
}
}

@ -1,17 +0,0 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class InfosSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
//
}
}

@ -1,28 +0,0 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\User;
use Carbon\Carbon;
class UsersSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
// $faker = \Faker\Factory::create();
// for ($i = 0; $i < 15; $i++)
// User::create([
// "name" => $faker->firstName(),
// "lastname" => $faker->lastName(),
// "totem" => $faker->company(),
// "email" => $faker->email(),
// "phone" => $faker->e164PhoneNumber(),
// "email_verified_at" => Carbon::now(),
// ]);
}
}

@ -0,0 +1,10 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["resources/js/*"],
"ziggy-js": ["./vendor/tightenco/ziggy"]
}
},
"exclude": ["node_modules", "public"]
}

@ -0,0 +1,263 @@
{
"(and :count more error)": "(and :count more error)",
"(and :count more errors)": "(and :count more error)|(and :count more errors)|(and :count more errors)",
"A decryption key is required.": "A decryption key is required.",
"A new verification link has been sent to the email address you provided during registration.": "A new verification link has been sent to the email address you provided during registration.",
"A new verification link has been sent to your email address.": "A new verification link has been sent to your email address.",
"A Timeout Occurred": "A Timeout Occurred",
"Accept": "Accept",
"Accepted": "Accepted",
"Action": "Action",
"Actions": "Actions",
"Add": "Add",
"Add :name": "Add :name",
"Admin": "Admin",
"Agree": "Agree",
"All rights reserved.": "All rights reserved.",
"Already registered?": "Already registered?",
"Already Reported": "Already Reported",
"Archive": "Archive",
"Are you sure you want to delete your account?": "Are you sure you want to delete your account?",
"Assign": "Assign",
"Associate": "Associate",
"Attach": "Attach",
"Bad Gateway": "Bad Gateway",
"Bad Request": "Bad Request",
"Bandwidth Limit Exceeded": "Bandwidth Limit Exceeded",
"Browse": "Browse",
"Cancel": "Cancel",
"Choose": "Choose",
"Choose :name": "Choose :name",
"Choose File": "Choose File",
"Choose Image": "Choose Image",
"Click here to re-send the verification email.": "Click here to re-send the verification email.",
"Click to copy": "Click to copy",
"Client Closed Request": "Client Closed Request",
"Close": "Close",
"Collapse": "Collapse",
"Collapse All": "Collapse All",
"Comment": "Comment",
"Confirm": "Confirm",
"Confirm Password": "Confirm Password",
"Conflict": "Conflict",
"Connect": "Connect",
"Connection Closed Without Response": "Connection Closed Without Response",
"Connection Timed Out": "Connection Timed Out",
"Continue": "Continue",
"Create": "Create",
"Create :name": "Create :name",
"Created": "Created",
"Current Password": "Current Password",
"Dashboard": "Dashboard",
"Delete": "Delete",
"Delete :name": "Delete :name",
"Delete Account": "Delete Account",
"Detach": "Detach",
"Details": "Details",
"Disable": "Disable",
"Discard": "Discard",
"Done": "Done",
"Down": "Down",
"Duplicate": "Duplicate",
"Duplicate :name": "Duplicate :name",
"Edit": "Edit",
"Edit :name": "Edit :name",
"Email": "Email",
"email": "The :attribute field must be a valid email address.",
"Email Password Reset Link": "Email Password Reset Link",
"Enable": "Enable",
"Encrypted environment file already exists.": "Encrypted environment file already exists.",
"Encrypted environment file not found.": "Encrypted environment file not found.",
"Ensure your account is using a long, random password to stay secure.": "Ensure your account is using a long, random password to stay secure.",
"Environment file already exists.": "Environment file already exists.",
"Environment file not found.": "Environment file not found.",
"errors": "errors",
"Expand": "Expand",
"Expand All": "Expand All",
"Expectation Failed": "Expectation Failed",
"Explanation": "Explanation",
"Export": "Export",
"Export :name": "Export :name",
"Failed Dependency": "Failed Dependency",
"File": "File",
"Files": "Files",
"Forbidden": "Forbidden",
"Forgot your password?": "Forgot your password?",
"Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.": "Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.",
"Found": "Found",
"Gateway Timeout": "Gateway Timeout",
"Go Home": "Go Home",
"Go to page :page": "Go to page :page",
"Gone": "Gone",
"Hello!": "Hello!",
"Hide": "Hide",
"Hide :name": "Hide :name",
"Home": "Home",
"HTTP Version Not Supported": "HTTP Version Not Supported",
"I'm a teapot": "I'm a teapot",
"If you did not create an account, no further action is required.": "If you did not create an account, no further action is required.",
"If you did not request a password reset, no further action is required.": "If you did not request a password reset, no further action is required.",
"If you're having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser:": "If you're having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser:",
"IM Used": "IM Used",
"Image": "Image",
"Impersonate": "Impersonate",
"Impersonation": "Impersonation",
"Import": "Import",
"Import :name": "Import :name",
"Insufficient Storage": "Insufficient Storage",
"Internal Server Error": "Internal Server Error",
"Introduction": "Introduction",
"Invalid filename.": "Invalid filename.",
"Invalid JSON was returned from the route.": "Invalid JSON was returned from the route.",
"Invalid SSL Certificate": "Invalid SSL Certificate",
"length": "length",
"Length Required": "Length Required",
"Like": "Like",
"Load": "Load",
"Localize": "Localize",
"Location": "Location",
"Locked": "Locked",
"Log In": "Log In",
"Log in": "Log in",
"Log Out": "Log Out",
"Login": "Login",
"Logout": "Logout",
"Loop Detected": "Loop Detected",
"Maintenance Mode": "Maintenance Mode",
"Method Not Allowed": "Method Not Allowed",
"Misdirected Request": "Misdirected Request",
"Moved Permanently": "Moved Permanently",
"Multi-Status": "Multi-Status",
"Multiple Choices": "Multiple Choices",
"Name": "Name",
"name": "name",
"Network Authentication Required": "Network Authentication Required",
"Network Connect Timeout Error": "Network Connect Timeout Error",
"Network Read Timeout Error": "Network Read Timeout Error",
"New": "New",
"New :name": "New :name",
"New Password": "New Password",
"No": "No",
"No Content": "No Content",
"Non-Authoritative Information": "Non-Authoritative Information",
"Not Acceptable": "Not Acceptable",
"Not Extended": "Not Extended",
"Not Found": "Not Found",
"Not Implemented": "Not Implemented",
"Not Modified": "Not Modified",
"of": "of",
"OK": "OK",
"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.": "Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.",
"Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.": "Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.",
"Open": "Open",
"Open in a current window": "Open in a current window",
"Open in a new window": "Open in a new window",
"Open in a parent frame": "Open in a parent frame",
"Open in the topmost frame": "Open in the topmost frame",
"Open on the website": "Open on the website",
"Origin Is Unreachable": "Origin Is Unreachable",
"Page Expired": "Page Expired",
"Pagination Navigation": "Pagination Navigation",
"Partial Content": "Partial Content",
"Password": "Password",
"password": "The provided password is incorrect.",
"Payload Too Large": "Payload Too Large",
"Payment Required": "Payment Required",
"Permanent Redirect": "Permanent Redirect",
"Please click the button below to verify your email address.": "Please click the button below to verify your email address.",
"Precondition Failed": "Precondition Failed",
"Precondition Required": "Precondition Required",
"Preview": "Preview",
"Price": "Price",
"Processing": "Processing",
"Profile": "Profile",
"Profile Information": "Profile Information",
"Proxy Authentication Required": "Proxy Authentication Required",
"Railgun Error": "Railgun Error",
"Range Not Satisfiable": "Range Not Satisfiable",
"Record": "Record",
"Regards,": "Regards,",
"Register": "Register",
"Remember me": "Remember me",
"Request Header Fields Too Large": "Request Header Fields Too Large",
"Request Timeout": "Request Timeout",
"Resend Verification Email": "Resend Verification Email",
"Reset Content": "Reset Content",
"Reset Password": "Reset Password",
"Reset Password Notification": "Reset Password Notification",
"Restore": "Restore",
"Restore :name": "Restore :name",
"results": "results",
"Retry With": "Retry With",
"Save": "Save",
"Save & Close": "Save & Close",
"Save & Return": "Save & Return",
"Save :name": "Save :name",
"Saved.": "Saved.",
"Search": "Search",
"Search :name": "Search :name",
"See Other": "See Other",
"Select": "Select",
"Select All": "Select All",
"Send": "Send",
"Server Error": "Server Error",
"Service Unavailable": "Service Unavailable",
"Session Has Expired": "Session Has Expired",
"Settings": "Settings",
"Show": "Show",
"Show :name": "Show :name",
"Show All": "Show All",
"Showing": "Showing",
"Sign In": "Sign In",
"Solve": "Solve",
"SSL Handshake Failed": "SSL Handshake Failed",
"Start": "Start",
"Stop": "Stop",
"Submit": "Submit",
"Subscribe": "Subscribe",
"Switch": "Switch",
"Switch To Role": "Switch To Role",
"Switching Protocols": "Switching Protocols",
"Tag": "Tag",
"Tags": "Tags",
"Temporary Redirect": "Temporary Redirect",
"Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.": "Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.",
"The given data was invalid.": "The given data was invalid.",
"The response is not a streamed response.": "The response is not a streamed response.",
"The response is not a view.": "The response is not a view.",
"This action is unauthorized.": "This action is unauthorized.",
"This is a secure area of the application. Please confirm your password before continuing.": "This is a secure area of the application. Please confirm your password before continuing.",
"This password reset link will expire in :count minutes.": "This password reset link will expire in :count minutes.",
"to": "to",
"Toggle navigation": "Toggle navigation",
"Too Early": "Too Early",
"Too Many Requests": "Too Many Requests",
"Translate": "Translate",
"Translate It": "Translate It",
"Unauthorized": "Unauthorized",
"Unavailable For Legal Reasons": "Unavailable For Legal Reasons",
"Unknown Error": "Unknown Error",
"Unpack": "Unpack",
"Unprocessable Entity": "Unprocessable Entity",
"Unsubscribe": "Unsubscribe",
"Unsupported Media Type": "Unsupported Media Type",
"Up": "Up",
"Update": "Update",
"Update :name": "Update :name",
"Update Password": "Update Password",
"Update your account's profile information and email address.": "Update your account's profile information and email address.",
"Upgrade Required": "Upgrade Required",
"URI Too Long": "URI Too Long",
"Use Proxy": "Use Proxy",
"User": "User",
"Variant Also Negotiates": "Variant Also Negotiates",
"Verify Email Address": "Verify Email Address",
"View": "View",
"View :name": "View :name",
"Web Server is Down": "Web Server is Down",
"Whoops!": "Whoops!",
"Yes": "Yes",
"You are receiving this email because we received a password reset request for your account.": "You are receiving this email because we received a password reset request for your account.",
"You're logged in!": "You're logged in!",
"Your email address is unverified.": "Your email address is unverified."
}

@ -0,0 +1,119 @@
<?php
declare(strict_types=1);
return [
'accept' => 'Accept',
'action' => 'Action',
'actions' => 'Actions',
'add' => 'Add',
'admin' => 'Admin',
'agree' => 'Agree',
'archive' => 'Archive',
'assign' => 'Assign',
'associate' => 'Associate',
'attach' => 'Attach',
'browse' => 'Browse',
'cancel' => 'Cancel',
'choose' => 'Choose',
'choose_file' => 'Choose File',
'choose_image' => 'Choose Image',
'click_to_copy' => 'Click to copy',
'close' => 'Close',
'collapse' => 'Collapse',
'collapse_all' => 'Collapse All',
'comment' => 'Comment',
'confirm' => 'Confirm',
'connect' => 'Connect',
'create' => 'Create',
'delete' => 'Delete',
'detach' => 'Detach',
'details' => 'Details',
'disable' => 'Disable',
'discard' => 'Discard',
'done' => 'Done',
'down' => 'Down',
'duplicate' => 'Duplicate',
'edit' => 'Edit',
'enable' => 'Enable',
'expand' => 'Expand',
'expand_all' => 'Expand All',
'explanation' => 'Explanation',
'export' => 'Export',
'file' => 'File',
'files' => 'Files',
'go_home' => 'Go Home',
'hide' => 'Hide',
'home' => 'Home',
'image' => 'Image',
'impersonate' => 'Impersonate',
'impersonation' => 'Impersonation',
'import' => 'Import',
'introduction' => 'Introduction',
'like' => 'Like',
'load' => 'Load',
'localize' => 'Localize',
'log_in' => 'Log In',
'log_out' => 'Log Out',
'named' => [
'add' => 'Add :name',
'choose' => 'Choose :name',
'create' => 'Create :name',
'delete' => 'Delete :name',
'duplicate' => 'Duplicate :name',
'edit' => 'Edit :name',
'export' => 'Export :name',
'hide' => 'Hide :name',
'import' => 'Import :name',
'new' => 'New :name',
'restore' => 'Restore :name',
'save' => 'Save :name',
'search' => 'Search :name',
'show' => 'Show :name',
'update' => 'Update :name',
'view' => 'View :name',
],
'new' => 'New',
'no' => 'No',
'open' => 'Open',
'open_website' => 'Open on the website',
'preview' => 'Preview',
'price' => 'Price',
'record' => 'Record',
'restore' => 'Restore',
'save' => 'Save',
'save_and_close' => 'Save & Close',
'save_and_return' => 'Save & Return',
'search' => 'Search',
'select' => 'Select',
'select_all' => 'Select All',
'send' => 'Send',
'settings' => 'Settings',
'show' => 'Show',
'show_all' => 'Show All',
'sign_in' => 'Sign In',
'solve' => 'Solve',
'start' => 'Start',
'stop' => 'Stop',
'submit' => 'Submit',
'subscribe' => 'Subscribe',
'switch' => 'Switch',
'switch_to_role' => 'Switch To Role',
'tag' => 'Tag',
'tags' => 'Tags',
'target_link' => [
'blank' => 'Open in a new window',
'parent' => 'Open in a parent frame',
'self' => 'Open in a current window',
'top' => 'Open in the topmost frame',
],
'translate' => 'Translate',
'translate_it' => 'Translate It',
'unpack' => 'Unpack',
'unsubscribe' => 'Unsubscribe',
'up' => 'Up',
'update' => 'Update',
'user' => 'User',
'view' => 'View',
'yes' => 'Yes',
];

@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
return [
'failed' => 'These credentials do not match our records.',
'password' => 'The provided password is incorrect.',
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
];

@ -0,0 +1,84 @@
<?php
declare(strict_types=1);
return [
'0' => 'Unknown Error',
'100' => 'Continue',
'101' => 'Switching Protocols',
'102' => 'Processing',
'200' => 'OK',
'201' => 'Created',
'202' => 'Accepted',
'203' => 'Non-Authoritative Information',
'204' => 'No Content',
'205' => 'Reset Content',
'206' => 'Partial Content',
'207' => 'Multi-Status',
'208' => 'Already Reported',
'226' => 'IM Used',
'300' => 'Multiple Choices',
'301' => 'Moved Permanently',
'302' => 'Found',
'303' => 'See Other',
'304' => 'Not Modified',
'305' => 'Use Proxy',
'307' => 'Temporary Redirect',
'308' => 'Permanent Redirect',
'400' => 'Bad Request',
'401' => 'Unauthorized',
'402' => 'Payment Required',
'403' => 'Forbidden',
'404' => 'Not Found',
'405' => 'Method Not Allowed',
'406' => 'Not Acceptable',
'407' => 'Proxy Authentication Required',
'408' => 'Request Timeout',
'409' => 'Conflict',
'410' => 'Gone',
'411' => 'Length Required',
'412' => 'Precondition Failed',
'413' => 'Payload Too Large',
'414' => 'URI Too Long',
'415' => 'Unsupported Media Type',
'416' => 'Range Not Satisfiable',
'417' => 'Expectation Failed',
'418' => 'I\'m a teapot',
'419' => 'Session Has Expired',
'421' => 'Misdirected Request',
'422' => 'Unprocessable Entity',
'423' => 'Locked',
'424' => 'Failed Dependency',
'425' => 'Too Early',
'426' => 'Upgrade Required',
'428' => 'Precondition Required',
'429' => 'Too Many Requests',
'431' => 'Request Header Fields Too Large',
'444' => 'Connection Closed Without Response',
'449' => 'Retry With',
'451' => 'Unavailable For Legal Reasons',
'499' => 'Client Closed Request',
'500' => 'Internal Server Error',
'501' => 'Not Implemented',
'502' => 'Bad Gateway',
'503' => 'Maintenance Mode',
'504' => 'Gateway Timeout',
'505' => 'HTTP Version Not Supported',
'506' => 'Variant Also Negotiates',
'507' => 'Insufficient Storage',
'508' => 'Loop Detected',
'509' => 'Bandwidth Limit Exceeded',
'510' => 'Not Extended',
'511' => 'Network Authentication Required',
'520' => 'Unknown Error',
'521' => 'Web Server is Down',
'522' => 'Connection Timed Out',
'523' => 'Origin Is Unreachable',
'524' => 'A Timeout Occurred',
'525' => 'SSL Handshake Failed',
'526' => 'Invalid SSL Certificate',
'527' => 'Railgun Error',
'598' => 'Network Read Timeout Error',
'599' => 'Network Connect Timeout Error',
'unknownError' => 'Unknown Error',
];

@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
return [
'next' => 'Next &raquo;',
'previous' => '&laquo; Previous',
];

@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
return [
'reset' => 'Your password has been reset.',
'sent' => 'We have emailed your password reset link.',
'throttled' => 'Please wait before retrying.',
'token' => 'This password reset token is invalid.',
'user' => 'We can\'t find a user with that email address.',
];

@ -0,0 +1,280 @@
<?php
declare(strict_types=1);
return [
'accepted' => 'The :attribute field must be accepted.',
'accepted_if' => 'The :attribute field must be accepted when :other is :value.',
'active_url' => 'The :attribute field must be a valid URL.',
'after' => 'The :attribute field must be a date after :date.',
'after_or_equal' => 'The :attribute field must be a date after or equal to :date.',
'alpha' => 'The :attribute field must only contain letters.',
'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
'alpha_num' => 'The :attribute field must only contain letters and numbers.',
'array' => 'The :attribute field must be an array.',
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
'before' => 'The :attribute field must be a date before :date.',
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
'between' => [
'array' => 'The :attribute field must have between :min and :max items.',
'file' => 'The :attribute field must be between :min and :max kilobytes.',
'numeric' => 'The :attribute field must be between :min and :max.',
'string' => 'The :attribute field must be between :min and :max characters.',
],
'boolean' => 'The :attribute field must be true or false.',
'can' => 'The :attribute field contains an unauthorized value.',
'confirmed' => 'The :attribute field confirmation does not match.',
'contains' => 'The :attribute field is missing a required value.',
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute field must be a valid date.',
'date_equals' => 'The :attribute field must be a date equal to :date.',
'date_format' => 'The :attribute field must match the format :format.',
'decimal' => 'The :attribute field must have :decimal decimal places.',
'declined' => 'The :attribute field must be declined.',
'declined_if' => 'The :attribute field must be declined when :other is :value.',
'different' => 'The :attribute field and :other must be different.',
'digits' => 'The :attribute field must be :digits digits.',
'digits_between' => 'The :attribute field must be between :min and :max digits.',
'dimensions' => 'The :attribute field has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.',
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
'email' => 'The :attribute field must be a valid email address.',
'ends_with' => 'The :attribute field must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'extensions' => 'The :attribute field must have one of the following extensions: :values.',
'file' => 'The :attribute field must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'array' => 'The :attribute field must have more than :value items.',
'file' => 'The :attribute field must be greater than :value kilobytes.',
'numeric' => 'The :attribute field must be greater than :value.',
'string' => 'The :attribute field must be greater than :value characters.',
],
'gte' => [
'array' => 'The :attribute field must have :value items or more.',
'file' => 'The :attribute field must be greater than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be greater than or equal to :value.',
'string' => 'The :attribute field must be greater than or equal to :value characters.',
],
'hex_color' => 'The :attribute field must be a valid hexadecimal color.',
'image' => 'The :attribute field must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field must exist in :other.',
'integer' => 'The :attribute field must be an integer.',
'ip' => 'The :attribute field must be a valid IP address.',
'ipv4' => 'The :attribute field must be a valid IPv4 address.',
'ipv6' => 'The :attribute field must be a valid IPv6 address.',
'json' => 'The :attribute field must be a valid JSON string.',
'list' => 'The :attribute field must be a list.',
'lowercase' => 'The :attribute field must be lowercase.',
'lt' => [
'array' => 'The :attribute field must have less than :value items.',
'file' => 'The :attribute field must be less than :value kilobytes.',
'numeric' => 'The :attribute field must be less than :value.',
'string' => 'The :attribute field must be less than :value characters.',
],
'lte' => [
'array' => 'The :attribute field must not have more than :value items.',
'file' => 'The :attribute field must be less than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be less than or equal to :value.',
'string' => 'The :attribute field must be less than or equal to :value characters.',
],
'mac_address' => 'The :attribute field must be a valid MAC address.',
'max' => [
'array' => 'The :attribute field must not have more than :max items.',
'file' => 'The :attribute field must not be greater than :max kilobytes.',
'numeric' => 'The :attribute field must not be greater than :max.',
'string' => 'The :attribute field must not be greater than :max characters.',
],
'max_digits' => 'The :attribute field must not have more than :max digits.',
'mimes' => 'The :attribute field must be a file of type: :values.',
'mimetypes' => 'The :attribute field must be a file of type: :values.',
'min' => [
'array' => 'The :attribute field must have at least :min items.',
'file' => 'The :attribute field must be at least :min kilobytes.',
'numeric' => 'The :attribute field must be at least :min.',
'string' => 'The :attribute field must be at least :min characters.',
],
'min_digits' => 'The :attribute field must have at least :min digits.',
'missing' => 'The :attribute field must be missing.',
'missing_if' => 'The :attribute field must be missing when :other is :value.',
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
'missing_with' => 'The :attribute field must be missing when :values is present.',
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
'multiple_of' => 'The :attribute field must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute field format is invalid.',
'numeric' => 'The :attribute field must be a number.',
'password' => [
'letters' => 'The :attribute field must contain at least one letter.',
'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.',
'numbers' => 'The :attribute field must contain at least one number.',
'symbols' => 'The :attribute field must contain at least one symbol.',
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
],
'present' => 'The :attribute field must be present.',
'present_if' => 'The :attribute field must be present when :other is :value.',
'present_unless' => 'The :attribute field must be present unless :other is :value.',
'present_with' => 'The :attribute field must be present when :values is present.',
'present_with_all' => 'The :attribute field must be present when :values are present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'regex' => 'The :attribute field format is invalid.',
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'required_if_declined' => 'The :attribute field is required when :other is declined.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute field must match :other.',
'size' => [
'array' => 'The :attribute field must contain :size items.',
'file' => 'The :attribute field must be :size kilobytes.',
'numeric' => 'The :attribute field must be :size.',
'string' => 'The :attribute field must be :size characters.',
],
'starts_with' => 'The :attribute field must start with one of the following: :values.',
'string' => 'The :attribute field must be a string.',
'timezone' => 'The :attribute field must be a valid timezone.',
'ulid' => 'The :attribute field must be a valid ULID.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'uppercase' => 'The :attribute field must be uppercase.',
'url' => 'The :attribute field must be a valid URL.',
'uuid' => 'The :attribute field must be a valid UUID.',
'attributes' => [
'address' => 'address',
'affiliate_url' => 'affiliate URL',
'age' => 'age',
'amount' => 'amount',
'announcement' => 'announcement',
'area' => 'area',
'audience_prize' => 'audience prize',
'audience_winner' => 'audience winner',
'available' => 'available',
'birthday' => 'birthday',
'body' => 'body',
'city' => 'city',
'company' => 'company',
'compilation' => 'compilation',
'concept' => 'concept',
'conditions' => 'conditions',
'content' => 'content',
'contest' => 'contest',
'country' => 'country',
'cover' => 'cover',
'created_at' => 'created at',
'creator' => 'creator',
'currency' => 'currency',
'current_password' => 'current password',
'customer' => 'customer',
'date' => 'date',
'date_of_birth' => 'date of birth',
'dates' => 'dates',
'day' => 'day',
'deleted_at' => 'deleted at',
'description' => 'description',
'display_type' => 'display type',
'district' => 'district',
'duration' => 'duration',
'email' => 'email',
'excerpt' => 'excerpt',
'filter' => 'filter',
'finished_at' => 'finished at',
'first_name' => 'first name',
'gender' => 'gender',
'grand_prize' => 'grand prize',
'group' => 'group',
'hour' => 'hour',
'image' => 'image',
'image_desktop' => 'desktop image',
'image_main' => 'main image',
'image_mobile' => 'mobile image',
'images' => 'images',
'is_audience_winner' => 'is audience winner',
'is_hidden' => 'is hidden',
'is_subscribed' => 'is subscribed',
'is_visible' => 'is visible',
'is_winner' => 'is winner',
'items' => 'items',
'key' => 'key',
'last_name' => 'last name',
'lesson' => 'lesson',
'line_address_1' => 'line address 1',
'line_address_2' => 'line address 2',
'login' => 'login',
'message' => 'message',
'middle_name' => 'middle name',
'minute' => 'minute',
'mobile' => 'mobile',
'month' => 'month',
'name' => 'name',
'national_code' => 'national code',
'number' => 'number',
'password' => 'password',
'password_confirmation' => 'password confirmation',
'phone' => 'phone',
'photo' => 'photo',
'portfolio' => 'portfolio',
'postal_code' => 'postal code',
'preview' => 'preview',
'price' => 'price',
'product_id' => 'product ID',
'product_uid' => 'product UID',
'product_uuid' => 'product UUID',
'promo_code' => 'promo code',
'province' => 'province',
'quantity' => 'quantity',
'reason' => 'reason',
'recaptcha_response_field' => 'recaptcha response field',
'referee' => 'referee',
'referees' => 'referees',
'reject_reason' => 'reject reason',
'remember' => 'remember',
'restored_at' => 'restored at',
'result_text_under_image' => 'result text under image',
'role' => 'role',
'rule' => 'rule',
'rules' => 'rules',
'second' => 'second',
'sex' => 'sex',
'shipment' => 'shipment',
'short_text' => 'short text',
'size' => 'size',
'skills' => 'skills',
'slug' => 'slug',
'specialization' => 'specialization',
'started_at' => 'started at',
'state' => 'state',
'status' => 'status',
'street' => 'street',
'student' => 'student',
'subject' => 'subject',
'tag' => 'tag',
'tags' => 'tags',
'teacher' => 'teacher',
'terms' => 'terms',
'test_description' => 'test description',
'test_locale' => 'test locale',
'test_name' => 'test name',
'text' => 'text',
'time' => 'time',
'title' => 'title',
'type' => 'type',
'updated_at' => 'updated at',
'user' => 'user',
'username' => 'username',
'value' => 'value',
'winner' => 'winner',
'work' => 'work',
'year' => 'year',
],
];

@ -0,0 +1,263 @@
{
"(and :count more error)": "(et :count erreur en plus)",
"(and :count more errors)": "(et :count erreur en plus)|(et :count erreurs en plus)|(et :count erreurs en plus)",
"A decryption key is required.": "A decryption key is required.",
"A new verification link has been sent to the email address you provided during registration.": "Un nouveau lien de vérification a été envoyé à l'adresse e-mail que vous avez indiquée lors de votre inscription.",
"A new verification link has been sent to your email address.": "Un nouveau lien de vérification a été envoyé à votre adresse e-mail.",
"A Timeout Occurred": "Temps d'attente dépassé",
"Accept": "Accepter",
"Accepted": "Accepté",
"Action": "Action",
"Actions": "Actions",
"Add": "Ajouter",
"Add :name": "Ajouter :name",
"Admin": "Administrateur",
"Agree": "Accepter",
"All rights reserved.": "Tous droits réservés.",
"Already registered?": "Déjà inscrit·e ?",
"Already Reported": "Déjà rapporté",
"Archive": "Archive",
"Are you sure you want to delete your account?": "Êtes-vous sûr·e de vouloir supprimer votre compte ?",
"Assign": "Attribuer",
"Associate": "Associé",
"Attach": "Attacher",
"Bad Gateway": "Passerelle invalide",
"Bad Request": "Requête erronée",
"Bandwidth Limit Exceeded": "Limite de bande passante dépassée",
"Browse": "Parcourir",
"Cancel": "Annuler",
"Choose": "Choisir",
"Choose :name": "Choisir :name",
"Choose File": "Choisir le fichier",
"Choose Image": "Choisir une image",
"Click here to re-send the verification email.": "Cliquez ici pour renvoyer l'e-mail de vérification.",
"Click to copy": "Cliquer pour copier",
"Client Closed Request": "Demande fermée par le client",
"Close": "Fermer",
"Collapse": "Réduire",
"Collapse All": "Réduire tout",
"Comment": "Commentaire",
"Confirm": "Confirmer",
"Confirm Password": "Confirmer le mot de passe",
"Conflict": "Conflit",
"Connect": "Connecter",
"Connection Closed Without Response": "Connexion fermée sans réponse",
"Connection Timed Out": "La connexion a expiré",
"Continue": "Continuer",
"Create": "Créer",
"Create :name": "Créer :name",
"Created": "Créé",
"Current Password": "Mot de passe actuel",
"Dashboard": "Tableau de bord",
"Delete": "Supprimer",
"Delete :name": "Supprimer :name",
"Delete Account": "Supprimer le compte",
"Detach": "Détacher",
"Details": "Détails",
"Disable": "Désactiver",
"Discard": "Jeter",
"Done": "Fait",
"Down": "Descendre",
"Duplicate": "Dupliquer",
"Duplicate :name": "Dupliquer :name",
"Edit": "Éditer",
"Edit :name": "Modifier :name",
"Email": "E-mail",
"email": "Le champ :attribute doit être une adresse e-mail valide.",
"Email Password Reset Link": "Lien de réinitialisation du mot de passe",
"Enable": "Activer",
"Encrypted environment file already exists.": "Encrypted environment file already exists.",
"Encrypted environment file not found.": "Encrypted environment file not found.",
"Ensure your account is using a long, random password to stay secure.": "Assurez-vous d'utiliser un mot de passe long et aléatoire pour sécuriser votre compte.",
"Environment file already exists.": "Environment file already exists.",
"Environment file not found.": "Environment file not found.",
"errors": "les erreurs",
"Expand": "Développer",
"Expand All": "Développer tout",
"Expectation Failed": "Comportement attendu insatisfaisant",
"Explanation": "Explication",
"Export": "Exporter",
"Export :name": "Exporter :name",
"Failed Dependency": "Dépendance échouée",
"File": "Déposer",
"Files": "Des dossiers",
"Forbidden": "Interdit",
"Forgot your password?": "Mot de passe oublié ?",
"Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.": "Mot de passe oublié ? Pas de soucis. Veuillez nous indiquer votre adresse e-mail et nous vous enverrons un lien de réinitialisation du mot de passe.",
"Found": "Trouvé",
"Gateway Timeout": "Temps d'attente de la passerelle dépassé",
"Go Home": "Aller à l'accueil",
"Go to page :page": "Aller à la page :page",
"Gone": "Disparu",
"Hello!": "Bonjour !",
"Hide": "Cacher",
"Hide :name": "Cacher :name",
"Home": "Accueil",
"HTTP Version Not Supported": "Version HTTP non prise en charge",
"I'm a teapot": "Je suis une théière",
"If you did not create an account, no further action is required.": "Si vous n'avez pas créé de compte, vous pouvez ignorer ce message.",
"If you did not request a password reset, no further action is required.": "Si vous n'avez pas demandé de réinitialisation de mot de passe, vous pouvez ignorer ce message.",
"If you're having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser:": "Si vous avez des difficultés à cliquer sur le bouton \":actionText\", copiez et collez l'URL ci-dessous\ndans votre navigateur Web :",
"IM Used": "IM utilisé",
"Image": "Image",
"Impersonate": "Utiliser un autre compte",
"Impersonation": "Imitation",
"Import": "Importer",
"Import :name": "Importer :name",
"Insufficient Storage": "Espace insuffisant",
"Internal Server Error": "Erreur interne du serveur",
"Introduction": "Introduction",
"Invalid filename.": "Invalid filename.",
"Invalid JSON was returned from the route.": "Un JSON non valide a été renvoyé par la route.",
"Invalid SSL Certificate": "Certificat SSL invalide",
"length": "length",
"Length Required": "Longueur requise",
"Like": "Aimer",
"Load": "Charger",
"Localize": "Localiser",
"Location": "Emplacement",
"Locked": "Verrouillé",
"Log In": "Se connecter",
"Log in": "Se connecter",
"Log Out": "Se déconnecter",
"Login": "Connexion",
"Logout": "Déconnexion",
"Loop Detected": "Boucle détectée",
"Maintenance Mode": "Mode de maintenance",
"Method Not Allowed": "Méthode non autorisée",
"Misdirected Request": "Demande mal dirigée",
"Moved Permanently": "Déplacé de façon permanente",
"Multi-Status": "Statut multiple",
"Multiple Choices": "Choix multiples",
"Name": "Nom",
"name": "nom",
"Network Authentication Required": "Authentification réseau requise",
"Network Connect Timeout Error": "Temps d'attente de la connexion réseau dépassé",
"Network Read Timeout Error": "Temps d'attente de la lecture réseau dépassé",
"New": "Nouveau",
"New :name": "Nouveau :name",
"New Password": "Nouveau mot de passe",
"No": "Non",
"No Content": "Pas de contenu",
"Non-Authoritative Information": "Informations non certifiées",
"Not Acceptable": "Pas acceptable",
"Not Extended": "Non prolongé",
"Not Found": "Non trouvé",
"Not Implemented": "Non implémenté",
"Not Modified": "Non modifié",
"of": "de",
"OK": "OK",
"Once your account is deleted, all of its resources and data will be permanently deleted. Before deleting your account, please download any data or information that you wish to retain.": "Une fois que votre compte est supprimé, toutes vos données sont supprimées définitivement. Avant de supprimer votre compte, veuillez télécharger vos données.",
"Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.": "Une fois que votre compte est supprimé, toutes les données associées seront supprimées définitivement. Pour confirmer que vous voulez supprimer définitivement votre compte, renseignez votre mot de passe.",
"Open": "Ouvrir",
"Open in a current window": "Ouvrir dans une fenêtre actuelle",
"Open in a new window": "Ouvrir dans une nouvelle fenêtre",
"Open in a parent frame": "Ouvrir dans un cadre parent",
"Open in the topmost frame": "Ouvrir dans le cadre le plus haut",
"Open on the website": "Ouvrir sur le site",
"Origin Is Unreachable": "L'origine est inaccessible",
"Page Expired": "Page expirée",
"Pagination Navigation": "Pagination",
"Partial Content": "Contenu partiel",
"Password": "Mot de passe",
"password": "Le mot de passe est incorrect",
"Payload Too Large": "Charge utile trop grande",
"Payment Required": "Paiement requis",
"Permanent Redirect": "Redirection permanente",
"Please click the button below to verify your email address.": "Veuillez cliquer sur le bouton ci-dessous pour vérifier votre adresse e-mail :",
"Precondition Failed": "La précondition a échoué",
"Precondition Required": "Condition préalable requise",
"Preview": "Aperçu",
"Price": "Prix",
"Processing": "En traitement",
"Profile": "Profil",
"Profile Information": "Informations du profil",
"Proxy Authentication Required": "Authentification proxy requise",
"Railgun Error": "Erreur de Railgun",
"Range Not Satisfiable": "Plage non satisfaisante",
"Record": "Enregistrer",
"Regards,": "Cordialement,",
"Register": "Inscription",
"Remember me": "Se souvenir de moi",
"Request Header Fields Too Large": "Champs d'en-tête de requête trop grands",
"Request Timeout": "Temps d'attente de la requête dépassé",
"Resend Verification Email": "Renvoyer l'e-mail de vérification",
"Reset Content": "Réinitialiser le contenu",
"Reset Password": "Réinitialisation du mot de passe",
"Reset Password Notification": "Notification de réinitialisation du mot de passe",
"Restore": "Restaurer",
"Restore :name": "Restaurer :name",
"results": "résultats",
"Retry With": "Réessayer avec",
"Save": "Sauvegarder",
"Save & Close": "Sauvegarder et fermer",
"Save & Return": "Sauvegarder et retourner",
"Save :name": "Sauvegarder :name",
"Saved.": "Sauvegardé.",
"Search": "Rechercher",
"Search :name": "Chercher :name",
"See Other": "Voir autre",
"Select": "Sélectionner",
"Select All": "Tout sélectionner",
"Send": "Envoyer",
"Server Error": "Erreur serveur",
"Service Unavailable": "Service indisponible",
"Session Has Expired": "La session a expiré",
"Settings": "Paramètres",
"Show": "Afficher",
"Show :name": "Afficher :name",
"Show All": "Afficher tout",
"Showing": "Montrant",
"Sign In": "Se connecter",
"Solve": "Résoudre",
"SSL Handshake Failed": "Échec de la prise de contact SSL",
"Start": "Commencer",
"Stop": "Arrêter",
"Submit": "Soumettre",
"Subscribe": "S'abonner",
"Switch": "Changer",
"Switch To Role": "Passer au rôle",
"Switching Protocols": "Protocoles de commutation",
"Tag": "Mot clé",
"Tags": "Mots clés",
"Temporary Redirect": "Redirection temporaire",
"Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.": "Merci de vous être inscrit(e) ! Avant de commencer, veuillez vérifier votre adresse e-mail en cliquant sur le lien que nous venons de vous envoyer. Si vous n'avez pas reçu cet e-mail, nous vous en enverrons un nouveau avec plaisir.",
"The given data was invalid.": "La donnée renseignée est incorrecte.",
"The response is not a streamed response.": "La réponse n'est pas une réponse diffusée.",
"The response is not a view.": "La réponse n'est pas une vue.",
"This action is unauthorized.": "Cette action n'est pas autorisée.",
"This is a secure area of the application. Please confirm your password before continuing.": "Ceci est une zone sécurisée de l'application. Veuillez confirmer votre mot de passe avant de continuer.",
"This password reset link will expire in :count minutes.": "Ce lien de réinitialisation du mot de passe expirera dans :count minutes.",
"to": "à",
"Toggle navigation": "Afficher / masquer le menu de navigation",
"Too Early": "Trop tôt",
"Too Many Requests": "Trop de requêtes",
"Translate": "Traduire",
"Translate It": "Traduis le",
"Unauthorized": "Non autorisé",
"Unavailable For Legal Reasons": "Indisponible pour des raisons légales",
"Unknown Error": "Erreur inconnue",
"Unpack": "Déballer",
"Unprocessable Entity": "Entité non traitable",
"Unsubscribe": "Se désabonner",
"Unsupported Media Type": "Type de média non supporté",
"Up": "Monter",
"Update": "Mettre à jour",
"Update :name": "Mettre à jour :name",
"Update Password": "Mettre à jour le mot de passe",
"Update your account's profile information and email address.": "Modifier le profil associé à votre compte ainsi que votre adresse e-mail.",
"Upgrade Required": "Mise à niveau requise",
"URI Too Long": "URI trop long",
"Use Proxy": "Utiliser un proxy",
"User": "Utilisateur",
"Variant Also Negotiates": "La variante négocie également",
"Verify Email Address": "Vérifier l'adresse e-mail",
"View": "Vue",
"View :name": "Voir :name",
"Web Server is Down": "Le serveur Web est en panne",
"Whoops!": "Oups !",
"Yes": "Oui",
"You are receiving this email because we received a password reset request for your account.": "Vous recevez cet e-mail car nous avons reçu une demande de réinitialisation de mot de passe pour votre compte.",
"You're logged in!": "Vous êtes connecté·e !",
"Your email address is unverified.": "Votre adresse e-mail n'est pas vérifiée."
}

@ -0,0 +1,119 @@
<?php
declare(strict_types=1);
return [
'accept' => 'Accepter',
'action' => 'Action',
'actions' => 'Actions',
'add' => 'Ajouter',
'admin' => 'Administrateur',
'agree' => 'Approuver',
'archive' => 'Archiver',
'assign' => 'Attribuer',
'associate' => 'Associer',
'attach' => 'Attacher',
'browse' => 'Parcourir',
'cancel' => 'Annuler',
'choose' => 'Choisir',
'choose_file' => 'Choisir le fichier',
'choose_image' => 'Choisir une image',
'click_to_copy' => 'Cliquer pour copier',
'close' => 'Fermer',
'collapse' => 'Réduire',
'collapse_all' => 'Réduire tout',
'comment' => 'Commentaire',
'confirm' => 'Confirmer',
'connect' => 'Connecter',
'create' => 'Créer',
'delete' => 'Supprimer',
'detach' => 'Détacher',
'details' => 'Détails',
'disable' => 'Désactiver',
'discard' => 'Jeter',
'done' => 'Fait',
'down' => 'Descendre',
'duplicate' => 'Dupliquer',
'edit' => 'Editer',
'enable' => 'Activer',
'expand' => 'Développer',
'expand_all' => 'Développer tout',
'explanation' => 'Explication',
'export' => 'Exporter',
'file' => 'Déposer',
'files' => 'Fichiers',
'go_home' => 'Aller à l\'accueil',
'hide' => 'Cacher',
'home' => 'Accueil',
'image' => 'Image',
'impersonate' => 'Imiter',
'impersonation' => 'Imitation',
'import' => 'Importer',
'introduction' => 'Introduction',
'like' => 'Aimer',
'load' => 'Charger',
'localize' => 'Localiser',
'log_in' => 'Se connecter',
'log_out' => 'Se déconnecter',
'named' => [
'add' => 'Ajouter :name',
'choose' => 'Choisir :name',
'create' => 'Créer :name',
'delete' => 'Supprimer :name',
'duplicate' => 'Dupliquer :name',
'edit' => 'Editer :name',
'export' => 'Exporter :name',
'hide' => 'Cacher :name',
'import' => 'Importer :name',
'new' => 'Nouveau :name',
'restore' => 'Restaurer :name',
'save' => 'Sauvegarder :name',
'search' => 'Chercher :name',
'show' => 'Afficher :name',
'update' => 'Mettre à jour :name',
'view' => 'Voir :name',
],
'new' => 'Nouveau',
'no' => 'Non',
'open' => 'Ouvrir',
'open_website' => 'Ouvrir sur le site',
'preview' => 'Aperçu',
'price' => 'Prix',
'record' => 'Enregistrer',
'restore' => 'Restaurer',
'save' => 'Sauvegarder',
'save_and_close' => 'Sauvegarder et fermer',
'save_and_return' => 'Sauvegarder et retourner',
'search' => 'Chercher',
'select' => 'Sélectionner',
'select_all' => 'Tout sélectionner',
'send' => 'Envoyer',
'settings' => 'Paramètres',
'show' => 'Montrer',
'show_all' => 'Afficher tout',
'sign_in' => 'Se connecter',
'solve' => 'Résoudre',
'start' => 'Commencer',
'stop' => 'Arrêter',
'submit' => 'Soumettre',
'subscribe' => 'S\'abonner',
'switch' => 'Changer',
'switch_to_role' => 'Passer au rôle',
'tag' => 'Mot clé',
'tags' => 'Mots clés',
'target_link' => [
'blank' => 'Ouvrir dans une nouvelle fenêtre',
'parent' => 'Ouvrir dans la fenêtre parente',
'self' => 'Ouvrir dans la fenêtre actuelle',
'top' => 'Ouvrir dans le cadre le plus haut',
],
'translate' => 'Traduire',
'translate_it' => 'Traduis le',
'unpack' => 'Déballer',
'unsubscribe' => 'Se désabonner',
'up' => 'Monter',
'update' => 'Mettre à jour',
'user' => 'Utilisateur',
'view' => 'Voir',
'yes' => 'Oui',
];

@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
return [
'failed' => 'Ces identifiants ne correspondent pas à nos enregistrements.',
'password' => 'Le mot de passe est incorrect',
'throttle' => 'Tentatives de connexion trop nombreuses. Veuillez essayer de nouveau dans :seconds secondes.',
];

@ -0,0 +1,84 @@
<?php
declare(strict_types=1);
return [
'0' => 'Erreur inconnue',
'100' => 'Continuer',
'101' => 'Protocoles de commutation',
'102' => 'En traitement',
'200' => 'OK',
'201' => 'Créé',
'202' => 'Accepté',
'203' => 'Informations non certifiées',
'204' => 'Pas de contenu',
'205' => 'Réinitialiser le contenu',
'206' => 'Contenu partiel',
'207' => 'Statut multiple',
'208' => 'Déjà rapporté',
'226' => 'IM utilisé',
'300' => 'Choix multiples',
'301' => 'Déplacé de façon permanente',
'302' => 'A trouvé',
'303' => 'Voir autre',
'304' => 'Non modifié',
'305' => 'Utiliser un proxy',
'307' => 'Redirection temporaire',
'308' => 'Redirection permanente',
'400' => 'Requête invalide',
'401' => 'Non authentifié',
'402' => 'Paiement requis',
'403' => 'Interdit',
'404' => 'Page non trouvée',
'405' => 'Méthode non autorisée',
'406' => 'Non acceptable',
'407' => 'Authentification proxy requise',
'408' => 'Requête expirée',
'409' => 'Conflit',
'410' => 'Disparu',
'411' => 'Longueur requise',
'412' => 'La précondition a échoué',
'413' => 'Charge utile trop grande',
'414' => 'URI trop long',
'415' => 'Type de média non supporté',
'416' => 'Plage non satisfaisante',
'417' => 'Comportement attendu insatisfaisant',
'418' => 'Je suis une théière',
'419' => 'La session a expiré',
'421' => 'Demande mal dirigée',
'422' => 'Contenu non traitable',
'423' => 'Verrouillé',
'424' => 'Dépendance échouée',
'425' => 'Trop tôt',
'426' => 'Mise à niveau requise',
'428' => 'Condition préalable requise',
'429' => 'Trop de demandes',
'431' => 'Champs d\'en-tête de requête trop grands',
'444' => 'Connexion fermée sans réponse',
'449' => 'Réessayer avec',
'451' => 'Indisponible pour des raisons légales',
'499' => 'Demande fermée par le client',
'500' => 'Erreur interne dus erveur',
'501' => 'Non implémenté',
'502' => 'Mauvaise passerelle',
'503' => 'Service non disponible',
'504' => 'Temps d\'attente de la passerelle dépassé',
'505' => 'Version HTTP non prise en charge',
'506' => 'La variante négocie également',
'507' => 'Espace insuffisant',
'508' => 'Boucle détectée',
'509' => 'Limite de bande passante dépassée',
'510' => 'Non prolongé',
'511' => 'Authentification réseau requise',
'520' => 'Erreur inconnue',
'521' => 'Le serveur Web est en panne',
'522' => 'La connexion a expiré',
'523' => 'L\'origine est inaccessible',
'524' => 'Un dépassement de délai s\'est produit',
'525' => 'Échec de la prise de contact SSL',
'526' => 'Certificat SSL invalide',
'527' => 'Erreur de Railgun',
'598' => 'Temps d\'attente de la lecture réseau dépassé',
'599' => 'Temps d\'attente de la connexion réseau dépassé',
'unknownError' => 'Erreur inconnue',
];

@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
return [
'next' => 'Suivant &raquo;',
'previous' => '&laquo; Précédent',
];

@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
return [
'reset' => 'Votre mot de passe a été réinitialisé !',
'sent' => 'Nous vous avons envoyé par email le lien de réinitialisation du mot de passe !',
'throttled' => 'Veuillez patienter avant de réessayer.',
'token' => 'Ce jeton de réinitialisation du mot de passe n\'est pas valide.',
'user' => 'Aucun utilisateur n\'a été trouvé avec cette adresse email.',
];

@ -0,0 +1,280 @@
<?php
declare(strict_types=1);
return [
'accepted' => 'Le champ :attribute doit être accepté.',
'accepted_if' => 'Le champ :attribute doit être accepté quand :other a la valeur :value.',
'active_url' => 'Le champ :attribute n\'est pas une URL valide.',
'after' => 'Le champ :attribute doit être une date postérieure au :date.',
'after_or_equal' => 'Le champ :attribute doit être une date postérieure ou égale au :date.',
'alpha' => 'Le champ :attribute doit contenir uniquement des lettres.',
'alpha_dash' => 'Le champ :attribute doit contenir uniquement des lettres, des chiffres et des tirets.',
'alpha_num' => 'Le champ :attribute doit contenir uniquement des chiffres et des lettres.',
'array' => 'Le champ :attribute doit être un tableau.',
'ascii' => 'Le champ :attribute ne doit contenir que des caractères alphanumériques et des symboles codés sur un octet.',
'before' => 'Le champ :attribute doit être une date antérieure au :date.',
'before_or_equal' => 'Le champ :attribute doit être une date antérieure ou égale au :date.',
'between' => [
'array' => 'Le tableau :attribute doit contenir entre :min et :max éléments.',
'file' => 'La taille du fichier de :attribute doit être comprise entre :min et :max kilo-octets.',
'numeric' => 'La valeur de :attribute doit être comprise entre :min et :max.',
'string' => 'Le texte :attribute doit contenir entre :min et :max caractères.',
],
'boolean' => 'Le champ :attribute doit être vrai ou faux.',
'can' => 'Le champ :attribute contient une valeur non autorisée.',
'confirmed' => 'Le champ de confirmation :attribute ne correspond pas.',
'contains' => 'Le champ :attribute manque une valeur requise.',
'current_password' => 'Le mot de passe est incorrect.',
'date' => 'Le champ :attribute n\'est pas une date valide.',
'date_equals' => 'Le champ :attribute doit être une date égale à :date.',
'date_format' => 'Le champ :attribute ne correspond pas au format :format.',
'decimal' => 'Le champ :attribute doit comporter :decimal décimales.',
'declined' => 'Le champ :attribute doit être décliné.',
'declined_if' => 'Le champ :attribute doit être décliné quand :other a la valeur :value.',
'different' => 'Les champs :attribute et :other doivent être différents.',
'digits' => 'Le champ :attribute doit contenir :digits chiffres.',
'digits_between' => 'Le champ :attribute doit contenir entre :min et :max chiffres.',
'dimensions' => 'La taille de l\'image :attribute n\'est pas conforme.',
'distinct' => 'Le champ :attribute a une valeur en double.',
'doesnt_end_with' => 'Le champ :attribute ne doit pas finir avec une des valeurs suivantes : :values.',
'doesnt_start_with' => 'Le champ :attribute ne doit pas commencer avec une des valeurs suivantes : :values.',
'email' => 'Le champ :attribute doit être une adresse e-mail valide.',
'ends_with' => 'Le champ :attribute doit se terminer par une des valeurs suivantes : :values',
'enum' => 'Le champ :attribute sélectionné est invalide.',
'exists' => 'Le champ :attribute sélectionné est invalide.',
'extensions' => 'Le champ :attribute doit avoir l\'une des extensions suivantes : :values.',
'file' => 'Le champ :attribute doit être un fichier.',
'filled' => 'Le champ :attribute doit avoir une valeur.',
'gt' => [
'array' => 'Le tableau :attribute doit contenir plus de :value éléments.',
'file' => 'La taille du fichier de :attribute doit être supérieure à :value kilo-octets.',
'numeric' => 'La valeur de :attribute doit être supérieure à :value.',
'string' => 'Le texte :attribute doit contenir plus de :value caractères.',
],
'gte' => [
'array' => 'Le tableau :attribute doit contenir au moins :value éléments.',
'file' => 'La taille du fichier de :attribute doit être supérieure ou égale à :value kilo-octets.',
'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :value.',
'string' => 'Le texte :attribute doit contenir au moins :value caractères.',
],
'hex_color' => 'Le champ :attribute doit être une couleur hexadécimale valide.',
'image' => 'Le champ :attribute doit être une image.',
'in' => 'Le champ :attribute est invalide.',
'in_array' => 'Le champ :attribute n\'existe pas dans :other.',
'integer' => 'Le champ :attribute doit être un entier.',
'ip' => 'Le champ :attribute doit être une adresse IP valide.',
'ipv4' => 'Le champ :attribute doit être une adresse IPv4 valide.',
'ipv6' => 'Le champ :attribute doit être une adresse IPv6 valide.',
'json' => 'Le champ :attribute doit être un document JSON valide.',
'list' => 'Le champ :attribute doit être une liste.',
'lowercase' => 'Le champ :attribute doit être en minuscules.',
'lt' => [
'array' => 'Le tableau :attribute doit contenir moins de :value éléments.',
'file' => 'La taille du fichier de :attribute doit être inférieure à :value kilo-octets.',
'numeric' => 'La valeur de :attribute doit être inférieure à :value.',
'string' => 'Le texte :attribute doit contenir moins de :value caractères.',
],
'lte' => [
'array' => 'Le tableau :attribute doit contenir au plus :value éléments.',
'file' => 'La taille du fichier de :attribute doit être inférieure ou égale à :value kilo-octets.',
'numeric' => 'La valeur de :attribute doit être inférieure ou égale à :value.',
'string' => 'Le texte :attribute doit contenir au plus :value caractères.',
],
'mac_address' => 'Le champ :attribute doit être une adresse MAC valide.',
'max' => [
'array' => 'Le tableau :attribute ne peut pas contenir plus que :max éléments.',
'file' => 'La taille du fichier de :attribute ne peut pas dépasser :max kilo-octets.',
'numeric' => 'La valeur de :attribute ne peut pas être supérieure à :max.',
'string' => 'Le texte de :attribute ne peut pas contenir plus de :max caractères.',
],
'max_digits' => 'Le champ :attribute ne doit pas avoir plus de :max chiffres.',
'mimes' => 'Le champ :attribute doit être un fichier de type : :values.',
'mimetypes' => 'Le champ :attribute doit être un fichier de type : :values.',
'min' => [
'array' => 'Le tableau :attribute doit contenir au moins :min éléments.',
'file' => 'La taille du fichier de :attribute doit être supérieure ou égale à :min kilo-octets.',
'numeric' => 'La valeur de :attribute doit être supérieure ou égale à :min.',
'string' => 'Le texte de :attribute doit contenir au moins :min caractères.',
],
'min_digits' => 'Le champ :attribute doit avoir au moins :min chiffres.',
'missing' => 'Le champ :attribute doit être manquant.',
'missing_if' => 'Le champ :attribute doit être manquant quand :other a la valeur :value.',
'missing_unless' => 'Le champ :attribute doit être manquant sauf si :other a la valeur :value.',
'missing_with' => 'Le champ :attribute doit être manquant quand :values est présent.',
'missing_with_all' => 'Le champ :attribute doit être manquant quand :values sont présents.',
'multiple_of' => 'La valeur de :attribute doit être un multiple de :value',
'not_in' => 'Le champ :attribute sélectionné n\'est pas valide.',
'not_regex' => 'Le format du champ :attribute n\'est pas valide.',
'numeric' => 'Le champ :attribute doit contenir un nombre.',
'password' => [
'letters' => 'Le champ :attribute doit contenir au moins une lettre.',
'mixed' => 'Le champ :attribute doit contenir au moins une majuscule et une minuscule.',
'numbers' => 'Le champ :attribute doit contenir au moins un chiffre.',
'symbols' => 'Le champ :attribute doit contenir au moins un symbole.',
'uncompromised' => 'La valeur du champ :attribute est apparue dans une fuite de données. Veuillez choisir une valeur différente.',
],
'present' => 'Le champ :attribute doit être présent.',
'present_if' => 'Le champ :attribute doit être présent lorsque :other est :value.',
'present_unless' => 'Le champ :attribute doit être présent sauf si :other vaut :value.',
'present_with' => 'Le champ :attribute doit être présent lorsque :values est présent.',
'present_with_all' => 'Le champ :attribute doit être présent lorsque :values sont présents.',
'prohibited' => 'Le champ :attribute est interdit.',
'prohibited_if' => 'Le champ :attribute est interdit quand :other a la valeur :value.',
'prohibited_unless' => 'Le champ :attribute est interdit à moins que :other est l\'une des valeurs :values.',
'prohibits' => 'Le champ :attribute interdit :other d\'être présent.',
'regex' => 'Le format du champ :attribute est invalide.',
'required' => 'Le champ :attribute est obligatoire.',
'required_array_keys' => 'Le champ :attribute doit contenir des entrées pour : :values.',
'required_if' => 'Le champ :attribute est obligatoire quand la valeur de :other est :value.',
'required_if_accepted' => 'Le champ :attribute est obligatoire quand le champ :other a été accepté.',
'required_if_declined' => 'The :attribute field is required when :other is declined.',
'required_unless' => 'Le champ :attribute est obligatoire sauf si :other est :values.',
'required_with' => 'Le champ :attribute est obligatoire quand :values est présent.',
'required_with_all' => 'Le champ :attribute est obligatoire quand :values sont présents.',
'required_without' => 'Le champ :attribute est obligatoire quand :values n\'est pas présent.',
'required_without_all' => 'Le champ :attribute est requis quand aucun de :values n\'est présent.',
'same' => 'Les champs :attribute et :other doivent être identiques.',
'size' => [
'array' => 'Le tableau :attribute doit contenir :size éléments.',
'file' => 'La taille du fichier de :attribute doit être de :size kilo-octets.',
'numeric' => 'La valeur de :attribute doit être :size.',
'string' => 'Le texte de :attribute doit contenir :size caractères.',
],
'starts_with' => 'Le champ :attribute doit commencer avec une des valeurs suivantes : :values',
'string' => 'Le champ :attribute doit être une chaîne de caractères.',
'timezone' => 'Le champ :attribute doit être un fuseau horaire valide.',
'ulid' => 'Le champ :attribute doit être un ULID valide.',
'unique' => 'La valeur du champ :attribute est déjà utilisée.',
'uploaded' => 'Le fichier du champ :attribute n\'a pu être téléversé.',
'uppercase' => 'Le champ :attribute doit être en majuscules.',
'url' => 'Le format de l\'URL de :attribute n\'est pas valide.',
'uuid' => 'Le champ :attribute doit être un UUID valide',
'attributes' => [
'address' => 'adresse',
'affiliate_url' => 'URL d\'affiliation',
'age' => 'âge',
'amount' => 'montant',
'announcement' => 'annonce',
'area' => 'zone',
'audience_prize' => 'prix du public',
'audience_winner' => 'audience winner',
'available' => 'disponible',
'birthday' => 'anniversaire',
'body' => 'corps',
'city' => 'ville',
'company' => 'company',
'compilation' => 'compilation',
'concept' => 'concept',
'conditions' => 'conditions',
'content' => 'contenu',
'contest' => 'contest',
'country' => 'pays',
'cover' => 'couverture',
'created_at' => 'date de création',
'creator' => 'créateur',
'currency' => 'devise',
'current_password' => 'mot de passe actuel',
'customer' => 'client',
'date' => 'date',
'date_of_birth' => 'date de naissance',
'dates' => 'rendez-vous',
'day' => 'jour',
'deleted_at' => 'date de suppression',
'description' => 'description',
'display_type' => 'type d\'affichage',
'district' => 'quartier',
'duration' => 'durée',
'email' => 'adresse e-mail',
'excerpt' => 'extrait',
'filter' => 'filtre',
'finished_at' => 'date de fin',
'first_name' => 'prénom',
'gender' => 'genre',
'grand_prize' => 'grand prix',
'group' => 'groupe',
'hour' => 'heure',
'image' => 'image',
'image_desktop' => 'image de bureau',
'image_main' => 'image principale',
'image_mobile' => 'image mobile',
'images' => 'images',
'is_audience_winner' => 'est le gagnant du public',
'is_hidden' => 'est caché',
'is_subscribed' => 'est abonné',
'is_visible' => 'est visible',
'is_winner' => 'est gagnant',
'items' => 'articles',
'key' => 'clé',
'last_name' => 'nom de famille',
'lesson' => 'leçon',
'line_address_1' => 'ligne d\'adresse 1',
'line_address_2' => 'ligne d\'adresse 2',
'login' => 'identifiant',
'message' => 'message',
'middle_name' => 'deuxième prénom',
'minute' => 'minute',
'mobile' => 'portable',
'month' => 'mois',
'name' => 'nom',
'national_code' => 'code national',
'number' => 'numéro',
'password' => 'mot de passe',
'password_confirmation' => 'confirmation du mot de passe',
'phone' => 'téléphone',
'photo' => 'photo',
'portfolio' => 'portefeuille',
'postal_code' => 'code postal',
'preview' => 'aperçu',
'price' => 'prix',
'product_id' => 'identifiant du produit',
'product_uid' => 'UID du produit',
'product_uuid' => 'UUID du produit',
'promo_code' => 'code promo',
'province' => 'région',
'quantity' => 'quantité',
'reason' => 'raison',
'recaptcha_response_field' => 'champ de réponse reCAPTCHA',
'referee' => 'arbitre',
'referees' => 'arbitres',
'reject_reason' => 'motif de rejet',
'remember' => 'se souvenir',
'restored_at' => 'date de restauration',
'result_text_under_image' => 'texte de résultat sous l\'image',
'role' => 'rôle',
'rule' => 'règle',
'rules' => 'règles',
'second' => 'seconde',
'sex' => 'sexe',
'shipment' => 'expédition',
'short_text' => 'texte court',
'size' => 'taille',
'skills' => 'compétences',
'slug' => 'slug',
'specialization' => 'spécialisation',
'started_at' => 'date de début',
'state' => 'état',
'status' => 'statut',
'street' => 'rue',
'student' => 'étudiant',
'subject' => 'sujet',
'tag' => 'mot clé',
'tags' => 'mots clés',
'teacher' => 'professeur',
'terms' => 'conditions',
'test_description' => 'description du test',
'test_locale' => 'localisation du test',
'test_name' => 'nom du test',
'text' => 'texte',
'time' => 'heure',
'title' => 'titre',
'type' => 'type',
'updated_at' => 'date de mise à jour',
'user' => 'utilisateur',
'username' => 'nom d\'utilisateur',
'value' => 'valeur',
'winner' => 'winner',
'work' => 'work',
'year' => 'année',
],
];

3470
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -2,12 +2,23 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build"
"build": "vite build",
"dev": "vite"
},
"devDependencies": {
"@inertiajs/vue3": "^2.0.0",
"@tailwindcss/forms": "^0.5.3",
"@vitejs/plugin-vue": "^5.0.0",
"autoprefixer": "^10.4.12",
"axios": "^1.7.4",
"concurrently": "^9.0.1",
"laravel-vite-plugin": "^1.0",
"vite": "^5.0"
"postcss": "^8.4.31",
"tailwindcss": "^3.2.1",
"vite": "^5.0",
"vue": "^3.4.0"
},
"dependencies": {
"markdown": "^0.5.0"
}
}

@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M14.2647 15.9377L12.5473 14.2346C11.758 13.4519 11.3633 13.0605 10.9089 12.9137C10.5092 12.7845 10.079 12.7845 9.67922 12.9137C9.22485 13.0605 8.83017 13.4519 8.04082 14.2346L4.04193 18.2622M14.2647 15.9377L14.606 15.5991C15.412 14.7999 15.8149 14.4003 16.2773 14.2545C16.6839 14.1262 17.1208 14.1312 17.5244 14.2688C17.9832 14.4253 18.3769 14.834 19.1642 15.6515L20 16.5001M14.2647 15.9377L18.22 19.9628M18.22 19.9628C17.8703 20 17.4213 20 16.8 20H7.2C6.07989 20 5.51984 20 5.09202 19.782C4.7157 19.5903 4.40973 19.2843 4.21799 18.908C4.12583 18.7271 4.07264 18.5226 4.04193 18.2622M18.22 19.9628C18.5007 19.9329 18.7175 19.8791 18.908 19.782C19.2843 19.5903 19.5903 19.2843 19.782 18.908C20 18.4802 20 17.9201 20 16.8V13M11 4H7.2C6.07989 4 5.51984 4 5.09202 4.21799C4.7157 4.40973 4.40973 4.71569 4.21799 5.09202C4 5.51984 4 6.0799 4 7.2V16.8C4 17.4466 4 17.9066 4.04193 18.2622M18 9V6M18 6V3M18 6H21M18 6H15" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@ -0,0 +1 @@
<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 1600 800'><rect fill='#0F172A' width='1600' height='800'/><g fill-opacity='1'><path fill='#0f182b' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/><path fill='#10182c' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/><path fill='#10192e' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/><path fill='#11192f' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/><path fill='#111A30' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/><path fill='#131c34' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/><path fill='#141f39' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/><path fill='#16213d' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/><path fill='#172442' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/><path fill='#192646' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/></g></svg>

@ -81,4 +81,5 @@
id="path523" /></g><path
style="fill:#681536;stroke-width:0.352778;fill-opacity:1"
d="m 113.42204,141.62661 c -0.92859,-1.89441 -1.00282,-2.37353 -1.12316,-7.2494 -0.11216,-4.54473 -0.0508,-5.30718 0.47376,-5.8868 0.59477,-0.65723 0.4406,-1.61815 -0.19645,-1.22443 -0.19645,0.12141 -0.3284,-1.69764 -0.3284,-4.52713 0,-2.60155 -0.10267,-5.94467 -0.22816,-7.42915 -0.19976,-2.36324 -0.15587,-2.69906 0.35278,-2.69906 0.67451,0 0.65608,-0.20016 0.71457,7.76111 0.0235,3.20146 0.17118,6.01927 0.32816,6.2618 0.20866,0.3224 1.79752,0.44098 5.90902,0.44098 4.91234,0 5.62363,0.0712 5.62363,0.56265 0,0.49528 -0.62917,0.54808 -5.25449,0.44097 -4.8103,-0.11139 -5.31868,-0.0636 -6.01392,0.56547 -0.48277,0.43682 -0.72122,1.01514 -0.65454,1.5875 0.0936,0.80355 0.24136,0.88846 1.37421,0.78974 1.13881,-0.0992 1.59219,0.16695 4.40972,2.58892 4.65005,3.99723 6.47594,4.76949 7.90291,3.34252 0.81827,-0.81827 0.92707,-3.01155 0.33149,-6.6824 -0.29666,-1.82842 -0.24894,-2.97619 0.24414,-5.87161 0.57818,-3.39519 0.57878,-3.65098 0.0105,-4.51829 -1.18716,-1.81184 -3.00753,-1.07537 -7.2889,2.94888 -3.09773,2.91169 -5.32464,3.66559 -5.57766,1.88827 -0.15291,-1.07408 0.57926,-2.35199 3.3143,-5.78473 2.40693,-3.02092 4.01757,-5.91274 4.0238,-7.2245 0.002,-0.39948 -0.22092,-1.03316 -0.49515,-1.40818 -0.4648,-0.63567 -1.00861,-0.68354 -8.02569,-0.70645 l -7.52711,-0.0246 -0.97013,0.96466 c -1.23754,1.23054 -1.26442,2.78236 -0.084,4.8473 1.01893,1.78236 1.0266,1.81608 0.41349,1.81608 -0.56031,0 -1.83817,-2.21858 -2.16328,-3.75582 -0.29428,-1.39151 0.50751,-3.41403 1.62788,-4.10631 0.65775,-0.40644 2.39348,-0.50059 8.6355,-0.46842 7.15469,0.0369 7.87479,0.0968 8.55486,0.71231 0.92552,0.83759 1.00586,3.26023 0.16256,4.90173 -0.319,0.62095 -1.99387,3.01002 -3.72193,5.30903 -1.72806,2.29902 -3.08108,4.36277 -3.00672,4.58612 0.33332,1.00118 1.42917,0.4061 4.44121,-2.41176 3.34923,-3.13327 4.29369,-3.70854 6.08863,-3.70854 2.64328,0 3.38531,1.62405 2.5563,5.59484 -0.552,2.64401 -0.54654,3.28083 0.0853,9.93847 0.20389,2.14834 0.15407,2.38091 -0.73674,3.43958 -1.83856,2.18501 -4.69585,1.22965 -9.66786,-3.23254 -1.43085,-1.28414 -2.78957,-2.33479 -3.01938,-2.33479 -0.2298,0 -0.72598,0.22614 -1.10261,0.50253 -1.33042,0.97635 -0.66182,6.66278 1.05739,8.99303 0.67556,0.91568 0.79533,1.33656 0.5244,1.8428 -0.55689,1.04055 -0.91277,0.79316 -1.97427,-1.37239 z"
id="path439" /></g></svg>
id="path439" /></g>
</svg>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d='M.78,8.89c0-3.07,1.53-4.3,4.3-4.34L5.38,6C3.78,6.17,3,7,3.1,8.31H4.54V12H.78Zm5.9,0c0-3.07,1.53-4.3,4.3-4.34L11.28,6C9.68,6.17,8.89,7,9,8.31h1.44V12H6.68Z' />
<path d='M16.94,15.11c0,3.07-1.53,4.3-4.3,4.34L12.35,18c1.6-.16,2.39-1,2.28-2.3H13.18V12h3.76Zm5.9,0c0,3.07-1.53,4.3-4.3,4.34L18.24,18c1.6-.16,2.39-1,2.28-2.3H19.08V12h3.76Z' />
</svg>

After

Width:  |  Height:  |  Size: 580 B

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 1H8.625C11.0412 1 13 2.95875 13 5.375C13 6.08661 12.8301 6.75853 12.5287 7.35243C13.4313 8.15386 14 9.32301 14 10.625C14 13.0412 12.0412 15 9.625 15H2V1ZM5.5 9.75V11.5H9.625C10.1082 11.5 10.5 11.1082 10.5 10.625C10.5 10.1418 10.1082 9.75 9.625 9.75H5.5ZM5.5 6.25H8.625C9.10825 6.25 9.5 5.85825 9.5 5.375C9.5 4.89175 9.10825 4.5 8.625 4.5H5.5V6.25Z" fill="#000000"/>
</svg>

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20 12.05C19.9813 10.5255 19.5273 9.03809 18.6915 7.76295C17.8557 6.48781 16.673 5.47804 15.2826 4.85257C13.8921 4.2271 12.3519 4.01198 10.8433 4.23253C9.33473 4.45309 7.92057 5.10013 6.7674 6.09748C5.61422 7.09482 4.77005 8.40092 4.3343 9.86195C3.89856 11.323 3.88938 12.8781 4.30786 14.3442C4.72634 15.8103 5.55504 17.1262 6.69637 18.1371C7.83769 19.148 9.24412 19.8117 10.75 20.05V14.38H8.75001V12.05H10.75V10.28C10.7037 9.86846 10.7483 9.45175 10.8807 9.05931C11.0131 8.66687 11.23 8.30827 11.5161 8.00882C11.8022 7.70936 12.1505 7.47635 12.5365 7.32624C12.9225 7.17612 13.3368 7.11255 13.75 7.14003C14.3498 7.14824 14.9482 7.20173 15.54 7.30003V9.30003H14.54C14.3676 9.27828 14.1924 9.29556 14.0276 9.35059C13.8627 9.40562 13.7123 9.49699 13.5875 9.61795C13.4627 9.73891 13.3667 9.88637 13.3066 10.0494C13.2464 10.2125 13.2237 10.387 13.24 10.56V12.07H15.46L15.1 14.4H13.25V20C15.1399 19.7011 16.8601 18.7347 18.0985 17.2761C19.3369 15.8175 20.0115 13.9634 20 12.05Z" fill="#000000"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z" fill="#0F0F0F"/>
<path d="M18 5C17.4477 5 17 5.44772 17 6C17 6.55228 17.4477 7 18 7C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Z" fill="#0F0F0F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.65396 4.27606C1 5.55953 1 7.23969 1 10.6V13.4C1 16.7603 1 18.4405 1.65396 19.7239C2.2292 20.8529 3.14708 21.7708 4.27606 22.346C5.55953 23 7.23969 23 10.6 23H13.4C16.7603 23 18.4405 23 19.7239 22.346C20.8529 21.7708 21.7708 20.8529 22.346 19.7239C23 18.4405 23 16.7603 23 13.4V10.6C23 7.23969 23 5.55953 22.346 4.27606C21.7708 3.14708 20.8529 2.2292 19.7239 1.65396C18.4405 1 16.7603 1 13.4 1H10.6C7.23969 1 5.55953 1 4.27606 1.65396C3.14708 2.2292 2.2292 3.14708 1.65396 4.27606ZM13.4 3H10.6C8.88684 3 7.72225 3.00156 6.82208 3.0751C5.94524 3.14674 5.49684 3.27659 5.18404 3.43597C4.43139 3.81947 3.81947 4.43139 3.43597 5.18404C3.27659 5.49684 3.14674 5.94524 3.0751 6.82208C3.00156 7.72225 3 8.88684 3 10.6V13.4C3 15.1132 3.00156 16.2777 3.0751 17.1779C3.14674 18.0548 3.27659 18.5032 3.43597 18.816C3.81947 19.5686 4.43139 20.1805 5.18404 20.564C5.49684 20.7234 5.94524 20.8533 6.82208 20.9249C7.72225 20.9984 8.88684 21 10.6 21H13.4C15.1132 21 16.2777 20.9984 17.1779 20.9249C18.0548 20.8533 18.5032 20.7234 18.816 20.564C19.5686 20.1805 20.1805 19.5686 20.564 18.816C20.7234 18.5032 20.8533 18.0548 20.9249 17.1779C20.9984 16.2777 21 15.1132 21 13.4V10.6C21 8.88684 20.9984 7.72225 20.9249 6.82208C20.8533 5.94524 20.7234 5.49684 20.564 5.18404C20.1805 4.43139 19.5686 3.81947 18.816 3.43597C18.5032 3.27659 18.0548 3.14674 17.1779 3.0751C16.2777 3.00156 15.1132 3 13.4 3Z" fill="#0F0F0F"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 3H20M4 21H14M15 3L9 21" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 347 B

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 6.00067L21 6.00139M8 12.0007L21 12.0015M8 18.0007L21 18.0015M3.5 6H3.51M3.5 12H3.51M3.5 18H3.51M4 6C4 6.27614 3.77614 6.5 3.5 6.5C3.22386 6.5 3 6.27614 3 6C3 5.72386 3.22386 5.5 3.5 5.5C3.77614 5.5 4 5.72386 4 6ZM4 12C4 12.2761 3.77614 12.5 3.5 12.5C3.22386 12.5 3 12.2761 3 12C3 11.7239 3.22386 11.5 3.5 11.5C3.77614 11.5 4 11.7239 4 12ZM4 18C4 18.2761 3.77614 18.5 3.5 18.5C3.22386 18.5 3 18.2761 3 18C3 17.7239 3.22386 17.5 3.5 17.5C3.77614 17.5 4 17.7239 4 18Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

@ -0,0 +1,24 @@
<?xml version="1.0" ?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<title/>
<g id="Complete">
<g id="mail">
<g>
<polyline fill="none" points="4 8.2 12 14.1 20 8.2" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
<rect fill="none" height="14" rx="2" ry="2" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="18" x="3" y="6.5"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 558 B

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
<path d="M46.5,0v139.6h23.3c0-23.3,0-69.8,23.3-93.1c23.2-23.3,46.5-23.3,69.8-23.3h46.5v395.6c0,34.9-11.6,69.8-46.5,69.8l-22.8,0
l-0.5,23.2h232.7v-23.3h-23.3c-34.9,0-46.5-34.9-46.5-69.8V23.3h46.5c23.3,0,46.5,0,69.8,23.3s23.3,69.8,23.3,93.1h23.3V0H46.5z"/>
</svg>

After

Width:  |  Height:  |  Size: 620 B

@ -0,0 +1,157 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
}
@layer components {
}
@layer utilities {
.md-content {
font-family: "Roboto";
}
.md-content h1 {
font-size: 45px;
font-weight: 700;
border-bottom: 1px solid rgb(133, 133, 133);
margin-top: 5px;
padding-left: 10px;
}
.md-content h2 {
font-size: 40px;
font-weight: 600;
border-bottom: 1px solid gray;
margin-top: 5px;
padding-left: 10px;
}
.md-content h3 {
font-size: 30px;
font-weight: 500;
margin-top: 5px;
padding-left: 10px;
}
.md-content h4 {
font-size: 25px;
font-weight: 500;
margin-top: 5px;
padding-left: 10px;
}
.md-content h5 {
font-size: 20px;
font-weight: 500;
margin-top: 5px;
padding-left: 10px;
}
.md-content h6 {
font-size: 15px;
margin-top: 5px;
padding-left: 10px;
}
.md-content p {
margin-top: 5px;
}
.md-content blockquote {
border-left: 10px solid rgb(107, 107, 107);
background-color: rgb(224, 224, 224);
padding: 20px;
margin-top: 10px;
}
.md-content ul {
padding-left: 30px;
padding-right: 30px;
list-style: circle;
margin-top: 5px;
}
.md-content code {
width: 100%;
display: flex;
background-color: rgba(128, 128, 128, 0.13);
border-radius: 7px;
padding: 5px 10px 5px 10px;
margin-top: 15px;
}
.bg-radial {
background: radial-gradient(hsla(0, 0%, 5%, 0.568), hsla(0, 0%, 25%, 0));
}
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
-ms-overflow-y-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.social-icon-in {
animation: 0.2s social-icon-in-anim ease-out forwards;
}
.social-icon-out {
animation: 0.2s social-icon-out-anim ease-in forwards;
}
@keyframes social-icon-in-anim {
from {
background-color: inherit;
transform: scale(1);
}
to {
background-color: #681536;
transform: scale(0.9);
}
}
@keyframes social-icon-out-anim {
from {
background-color: #681536;
transform: scale(0.9);
}
to {
background-color: inherit;
transform: scale(1);
}
}
.icon-in {
animation: 0.2s icon-in-anim ease-out forwards;
}
.icon-out {
animation: 0.2s icon-out-anim ease-in forwards;
}
@keyframes icon-in-anim {
from {
filter: invert(0);
}
to {
filter: invert(1);
}
}
@keyframes icon-out-anim {
from {
filter: invert(1);
}
to {
filter: invert(0);
}
}
}

@ -0,0 +1,7 @@
<script setup>
import { Link } from '@inertiajs/vue3';
</script>
<template>
<Link :href="route('home')"><img src="/img/logo.png" class="max-h-20"></Link>
</template>

@ -0,0 +1,34 @@
<script setup>
import { computed } from 'vue';
const emit = defineEmits(['update:checked']);
const props = defineProps({
checked: {
type: [Array, Boolean],
required: true,
},
value: {
default: null,
},
});
const proxyChecked = computed({
get() {
return props.checked;
},
set(val) {
emit('update:checked', val);
},
});
</script>
<template>
<input
type="checkbox"
:value="value"
v-model="proxyChecked"
class="rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500"
/>
</template>

@ -0,0 +1,7 @@
<template>
<button
class="inline-flex items-center rounded-md border border-transparent bg-red-600 px-4 py-2 text-xs font-semibold uppercase tracking-widest text-white transition duration-150 ease-in-out hover:bg-red-500 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 active:bg-red-700"
>
<slot />
</button>
</template>

@ -0,0 +1,84 @@
<script setup>
import { computed, onMounted, onUnmounted, ref } from 'vue';
const props = defineProps({
align: {
type: String,
default: 'right',
},
width: {
type: String,
default: '48',
},
contentClasses: {
type: String,
default: 'py-1 bg-white',
},
});
const closeOnEscape = (e) => {
if (open.value && e.key === 'Escape') {
open.value = false;
}
};
onMounted(() => document.addEventListener('keydown', closeOnEscape));
onUnmounted(() => document.removeEventListener('keydown', closeOnEscape));
const widthClass = computed(() => {
return {
48: 'w-48',
}[props.width.toString()];
});
const alignmentClasses = computed(() => {
if (props.align === 'left') {
return 'ltr:origin-top-left rtl:origin-top-right start-0';
} else if (props.align === 'right') {
return 'ltr:origin-top-right rtl:origin-top-left end-0';
} else {
return 'origin-top';
}
});
const open = ref(false);
</script>
<template>
<div class="relative">
<div @click="open = !open">
<slot name="trigger" />
</div>
<!-- Full Screen Dropdown Overlay -->
<div
v-show="open"
class="fixed inset-0 z-40"
@click="open = false"
></div>
<Transition
enter-active-class="transition ease-out duration-200"
enter-from-class="opacity-0 scale-95"
enter-to-class="opacity-100 scale-100"
leave-active-class="transition ease-in duration-75"
leave-from-class="opacity-100 scale-100"
leave-to-class="opacity-0 scale-95"
>
<div
v-show="open"
class="absolute z-50 mt-2 rounded-md shadow-lg"
:class="[widthClass, alignmentClasses]"
style="display: none"
@click="open = false"
>
<div
class="rounded-md ring-1 ring-black ring-opacity-5"
:class="contentClasses"
>
<slot name="content" />
</div>
</div>
</Transition>
</div>
</template>

@ -0,0 +1,19 @@
<script setup>
import { Link } from '@inertiajs/vue3';
defineProps({
href: {
type: String,
required: true,
},
});
</script>
<template>
<Link
:href="href"
class="block w-full px-4 py-2 text-start text-sm leading-5 text-gray-700 transition duration-150 ease-in-out hover:bg-gray-100 focus:bg-gray-100 focus:outline-none"
>
<slot />
</Link>
</template>

@ -0,0 +1,15 @@
<script setup>
defineProps({
message: {
type: String,
},
});
</script>
<template>
<div v-show="message">
<p class="text-sm text-red-600">
{{ message }}
</p>
</div>
</template>

@ -0,0 +1,14 @@
<script setup>
defineProps({
value: {
type: String,
},
});
</script>
<template>
<label class="block text-sm font-medium text-gray-700">
<span v-if="value">{{ value }}</span>
<span v-else><slot /></span>
</label>
</template>

@ -0,0 +1,45 @@
<script setup>
import { markdown } from 'markdown';
const keyHandle = (e) => { render(); }
const render = () => {
let input = document.querySelector("#md-input").value;
document.querySelector("#markdown-html").innerHTML = markdown.toHTML(input);
}
const remove = () => {
document.querySelector("#md-input").value = "";
document.querySelector("#markdown-html").innerHTML = "";
}
const switchMode = () => {
document.querySelector("#md-input").classList.toggle('hidden');
document.querySelector("#markdown-html").classList.toggle('hidden');
document.querySelector("#btn-switch").textContent = document.querySelector("#md-input").classList.contains('hidden') ? "Text Mode" : "Page Mode";
}
</script>
<template>
<div class="w-full h-full rounded-md overflow-hidden border-b border-gray-300 shadow-md shadow-gray-100">
<div class="w-full flex justify-between bg-gray-100">
<div class="flex">
<button class="p-3 bg-gray-200 border-r border-gray-300"><img src="/img/title.svg" class="h-5"></button>
<button class="p-3 bg-gray-200 border-r border-gray-300"><img src="/img/add-image.svg" class="h-5"></button>
<button class="p-3 bg-gray-200 border-r border-gray-300"><img src="/img/bold.svg" class="h-5"></button>
<button class="p-3 bg-gray-200 border-r border-gray-300"><img src="/img/italic.svg" class="h-5"></button>
<button class="p-3 bg-gray-200"><img src="/img/block-quote.svg" class="h-5"></button>
</div>
<div class="flex">
<button id="btn-switch" @click="switchMode()" class="p-2 bg-blue-600 text-white font-bold ">Text Mode</button>
<button @click="remove()" class="p-2 bg-red-600 text-white font-bold ">Effacer</button>
</div>
</div>
<div class="w-full h-full border-t border-l border-r border-gray-300 ">
<div id="markdown-html" class="md-content p-3 overflow-scroll">
</div>
<textarea id="md-input" class="hidden border-none h-full resize-none text-lg text-gray-700 font-semibold focus:ring-0 overflow-scroll" @keydown="keyHandle"></textarea>
</div>
</div>
</template>

@ -0,0 +1,123 @@
<script setup>
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
const props = defineProps({
show: {
type: Boolean,
default: false,
},
maxWidth: {
type: String,
default: '2xl',
},
closeable: {
type: Boolean,
default: true,
},
});
const emit = defineEmits(['close']);
const dialog = ref();
const showSlot = ref(props.show);
watch(
() => props.show,
() => {
if (props.show) {
document.body.style.overflow = 'hidden';
showSlot.value = true;
dialog.value?.showModal();
} else {
document.body.style.overflow = '';
setTimeout(() => {
dialog.value?.close();
showSlot.value = false;
}, 200);
}
},
);
const close = () => {
if (props.closeable) {
emit('close');
}
};
const closeOnEscape = (e) => {
if (e.key === 'Escape') {
e.preventDefault();
if (props.show) {
close();
}
}
};
onMounted(() => document.addEventListener('keydown', closeOnEscape));
onUnmounted(() => {
document.removeEventListener('keydown', closeOnEscape);
document.body.style.overflow = '';
});
const maxWidthClass = computed(() => {
return {
sm: 'sm:max-w-sm',
md: 'sm:max-w-md',
lg: 'sm:max-w-lg',
xl: 'sm:max-w-xl',
'2xl': 'sm:max-w-2xl',
}[props.maxWidth];
});
</script>
<template>
<dialog
class="z-50 m-0 min-h-full min-w-full overflow-y-auto bg-transparent backdrop:bg-transparent"
ref="dialog"
>
<div
class="fixed inset-0 z-50 overflow-y-auto px-4 py-6 sm:px-0"
scroll-region
>
<Transition
enter-active-class="ease-out duration-300"
enter-from-class="opacity-0"
enter-to-class="opacity-100"
leave-active-class="ease-in duration-200"
leave-from-class="opacity-100"
leave-to-class="opacity-0"
>
<div
v-show="show"
class="fixed inset-0 transform transition-all"
@click="close"
>
<div
class="absolute inset-0 bg-gray-500 opacity-75"
/>
</div>
</Transition>
<Transition
enter-active-class="ease-out duration-300"
enter-from-class="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
enter-to-class="opacity-100 translate-y-0 sm:scale-100"
leave-active-class="ease-in duration-200"
leave-from-class="opacity-100 translate-y-0 sm:scale-100"
leave-to-class="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
>
<div
v-show="show"
class="mb-6 transform overflow-hidden rounded-lg bg-white shadow-xl transition-all sm:mx-auto sm:w-full"
:class="maxWidthClass"
>
<slot v-if="showSlot" />
</div>
</Transition>
</div>
</dialog>
</template>

@ -0,0 +1,26 @@
<script setup>
import { computed } from 'vue';
import { Link } from '@inertiajs/vue3';
const props = defineProps({
href: {
type: String,
required: true,
},
active: {
type: Boolean,
},
});
const classes = computed(() =>
props.active
? 'flex items-center h-full px-3 border-b-2 border-primary'
: 'flex items-center h-full px-3 hover:scale-110',
);
</script>
<template>
<Link :href="href" :class="classes">
<slot />
</Link>
</template>

@ -0,0 +1,7 @@
<template>
<button
class="inline-flex items-center rounded-md border border-transparent bg-gray-800 px-4 py-2 text-xs font-semibold uppercase tracking-widest text-white transition duration-150 ease-in-out hover:bg-gray-700 focus:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 active:bg-gray-900"
>
<slot />
</button>
</template>

@ -0,0 +1,26 @@
<script setup>
import { computed } from 'vue';
import { Link } from '@inertiajs/vue3';
const props = defineProps({
href: {
type: String,
required: true,
},
active: {
type: Boolean,
},
});
const classes = computed(() =>
props.active
? 'block w-full ps-3 pe-4 py-2 border-l-4 border-indigo-400 text-start text-base font-medium text-indigo-700 bg-indigo-50 focus:outline-none focus:text-indigo-800 focus:bg-indigo-100 focus:border-indigo-700 transition duration-150 ease-in-out'
: 'block w-full ps-3 pe-4 py-2 border-l-4 border-transparent text-start text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 focus:outline-none focus:text-gray-800 focus:bg-gray-50 focus:border-gray-300 transition duration-150 ease-in-out',
);
</script>
<template>
<Link :href="href" :class="classes">
<slot />
</Link>
</template>

@ -0,0 +1,17 @@
<script setup>
defineProps({
type: {
type: String,
default: 'button',
},
});
</script>
<template>
<button
:type="type"
class="inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-xs font-semibold uppercase tracking-widest text-gray-700 shadow-sm transition duration-150 ease-in-out hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 disabled:opacity-25"
>
<slot />
</button>
</template>

@ -0,0 +1,26 @@
<script setup>
import { onMounted, ref } from 'vue';
const model = defineModel({
type: String,
required: true,
});
const input = ref(null);
onMounted(() => {
if (input.value.hasAttribute('autofocus')) {
input.value.focus();
}
});
defineExpose({ focus: () => input.value.focus() });
</script>
<template>
<input
class="rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500"
v-model="model"
ref="input"
/>
</template>

@ -0,0 +1,22 @@
<script setup>
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
import { Link } from '@inertiajs/vue3';
</script>
<template>
<div
class="flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0"
>
<div>
<Link href="/">
<ApplicationLogo class="h-20 w-20 fill-current text-gray-500" />
</Link>
</div>
<div
class="mt-6 w-full overflow-hidden bg-white px-6 py-4 shadow-md sm:max-w-md sm:rounded-lg"
>
<slot />
</div>
</div>
</template>

@ -0,0 +1,54 @@
<script setup>
import { Link } from '@inertiajs/vue3';
import NavLink from '@/Components/NavLink.vue';
</script>
<template>
<nav class="sticky w-full z-10 h-16 top-0 right-0 left-0 bg-gray-50 text-gray-900">
<div class="w-full h-full flex px-[17.5%] justify-between border-b border-gray-300">
<div class="h-full flex">
<Link :href="route('home')" class="h-full mr-10">
<img src="/img/logo.png" class="h-full py-1.5">
</Link>
</div>
<div class="flex font-semibold">
<NavLink :href="route('home')" :active="route().current('home')">
Home
</NavLink>
<NavLink :href="route('photo.index')" :active="route().current('photo.index')">
Photothèque
</NavLink>
<NavLink :href="'#'" :active="false">
Posts
</NavLink>
<NavLink :href="route('info')" :active="route().current('info')">
Infos
</NavLink>
<NavLink :href="'#'" :active="false">
News letter
</NavLink>
</div>
</div>
</nav>
<slot name="content"/>
<footer class="w-full px-[17.5%] bg-gray-50 text-gray-900 flex items-center justify-between">
<p class="italic text-gray-600">&copy; 2024 Propriété de l'association Scout Bas-Lac</p>
<div class="flex my-8">
<div class="group mx-2">
<div class="group-hover:social-icon-in social-icon-out p-2 border border-gray-600 rounded-lg">
<img src="/img/facebook.svg" class="w-[2rem] group-hover:icon-in icon-out dark:invert">
</div>
</div>
<div class="group mx-2">
<div class="group group-hover:social-icon-in social-icon-out p-2 border border-gray-600 rounded-lg">
<img src="/img/instagram.svg" class="w-[2rem] group-hover:icon-in icon-out dark:invert">
</div>
</div>
<div class="group mx-2">
<div class="group group-hover:social-icon-in social-icon-out p-2 border border-gray-600 rounded-lg">
<img src="/img/mail.svg" class="w-[2rem] group-hover:icon-in icon-out dark:invert">
</div>
</div>
</div>
</footer>
</template>

@ -0,0 +1,196 @@
<script setup>
import { ref } from 'vue';
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
import Dropdown from '@/Components/Dropdown.vue';
import DropdownLink from '@/Components/DropdownLink.vue';
import NavLink from '@/Components/NavLink.vue';
import ResponsiveNavLink from '@/Components/ResponsiveNavLink.vue';
import { Link } from '@inertiajs/vue3';
const showingNavigationDropdown = ref(false);
</script>
<template>
<div>
<div class="min-h-screen bg-gray-100">
<nav
class="border-b border-gray-100 bg-white"
>
<!-- Primary Navigation Menu -->
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div class="flex h-16 justify-between">
<div class="flex">
<!-- Logo -->
<div class="flex shrink-0 items-center">
<Link :href="route('dashboard')">
<img src="/img/logo.png" class="w-10">
</Link>
</div>
<!-- Navigation Links -->
<div
class="hidden space-x-8 sm:-my-px sm:ms-10 sm:flex"
>
<NavLink
:href="route('dashboard')"
:active="route().current('dashboard')"
>
Dashboard
</NavLink>
</div>
</div>
<div class="hidden sm:ms-6 sm:flex sm:items-center">
<!-- Settings Dropdown -->
<div class="relative ms-3">
<Dropdown align="right" width="48">
<template #trigger>
<span class="inline-flex rounded-md">
<button
type="button"
class="inline-flex items-center rounded-md border border-transparent bg-white px-3 py-2 text-sm font-medium leading-4 text-gray-500 transition duration-150 ease-in-out hover:text-gray-700 focus:outline-none"
>
{{ $page.props.auth.user.name }}
<svg
class="-me-0.5 ms-2 h-4 w-4"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd"
/>
</svg>
</button>
</span>
</template>
<template #content>
<DropdownLink
:href="route('profile.edit')"
>
Profile
</DropdownLink>
<DropdownLink
:href="route('logout')"
method="post"
as="button"
>
Log Out
</DropdownLink>
</template>
</Dropdown>
</div>
</div>
<!-- Hamburger -->
<div class="-me-2 flex items-center sm:hidden">
<button
@click="
showingNavigationDropdown =
!showingNavigationDropdown
"
class="inline-flex items-center justify-center rounded-md p-2 text-gray-400 transition duration-150 ease-in-out hover:bg-gray-100 hover:text-gray-500 focus:bg-gray-100 focus:text-gray-500 focus:outline-none"
>
<svg
class="h-6 w-6"
stroke="currentColor"
fill="none"
viewBox="0 0 24 24"
>
<path
:class="{
hidden: showingNavigationDropdown,
'inline-flex':
!showingNavigationDropdown,
}"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4 6h16M4 12h16M4 18h16"
/>
<path
:class="{
hidden: !showingNavigationDropdown,
'inline-flex':
showingNavigationDropdown,
}"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
</button>
</div>
</div>
</div>
<!-- Responsive Navigation Menu -->
<div
:class="{
block: showingNavigationDropdown,
hidden: !showingNavigationDropdown,
}"
class="sm:hidden"
>
<div class="space-y-1 pb-3 pt-2">
<ResponsiveNavLink
:href="route('dashboard')"
:active="route().current('dashboard')"
>
Dashboard
</ResponsiveNavLink>
</div>
<!-- Responsive Settings Options -->
<div
class="border-t border-gray-200 pb-1 pt-4"
>
<div class="px-4">
<div
class="text-base font-medium text-gray-800"
>
{{ $page.props.auth.user.name }}
</div>
<div class="text-sm font-medium text-gray-500">
{{ $page.props.auth.user.email }}
</div>
</div>
<div class="mt-3 space-y-1">
<ResponsiveNavLink :href="route('profile.edit')">
Profile
</ResponsiveNavLink>
<ResponsiveNavLink
:href="route('logout')"
method="post"
as="button"
>
Log Out
</ResponsiveNavLink>
</div>
</div>
</div>
</nav>
<!-- Page Heading -->
<header
class="bg-white shadow"
v-if="$slots.header"
>
<div class="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8">
<slot name="header" />
</div>
</header>
<!-- Page Content -->
<main>
<slot />
</main>
</div>
</div>
</template>

@ -0,0 +1,55 @@
<script setup>
import GuestLayout from '@/Layouts/AuthLayout.vue';
import InputError from '@/Components/InputError.vue';
import InputLabel from '@/Components/InputLabel.vue';
import PrimaryButton from '@/Components/PrimaryButton.vue';
import TextInput from '@/Components/TextInput.vue';
import { Head, useForm } from '@inertiajs/vue3';
const form = useForm({
password: '',
});
const submit = () => {
form.post(route('password.confirm'), {
onFinish: () => form.reset(),
});
};
</script>
<template>
<GuestLayout>
<Head title="Confirm Password" />
<div class="mb-4 text-sm text-gray-600">
This is a secure area of the application. Please confirm your
password before continuing.
</div>
<form @submit.prevent="submit">
<div>
<InputLabel for="password" value="Password" />
<TextInput
id="password"
type="password"
class="mt-1 block w-full"
v-model="form.password"
required
autocomplete="current-password"
autofocus
/>
<InputError class="mt-2" :message="form.errors.password" />
</div>
<div class="mt-4 flex justify-end">
<PrimaryButton
class="ms-4"
:class="{ 'opacity-25': form.processing }"
:disabled="form.processing"
>
Confirm
</PrimaryButton>
</div>
</form>
</GuestLayout>
</template>

@ -0,0 +1,68 @@
<script setup>
import GuestLayout from '@/Layouts/AuthLayout.vue';
import InputError from '@/Components/InputError.vue';
import InputLabel from '@/Components/InputLabel.vue';
import PrimaryButton from '@/Components/PrimaryButton.vue';
import TextInput from '@/Components/TextInput.vue';
import { Head, useForm } from '@inertiajs/vue3';
defineProps({
status: {
type: String,
},
});
const form = useForm({
email: '',
});
const submit = () => {
form.post(route('password.email'));
};
</script>
<template>
<GuestLayout>
<Head title="Forgot Password" />
<div class="mb-4 text-sm text-gray-600">
Forgot your password? No problem. Just let us know your email
address and we will email you a password reset link that will allow
you to choose a new one.
</div>
<div
v-if="status"
class="mb-4 text-sm font-medium text-green-600"
>
{{ status }}
</div>
<form @submit.prevent="submit">
<div>
<InputLabel for="email" value="Email" />
<TextInput
id="email"
type="email"
class="mt-1 block w-full"
v-model="form.email"
required
autofocus
autocomplete="username"
/>
<InputError class="mt-2" :message="form.errors.email" />
</div>
<div class="mt-4 flex items-center justify-end">
<PrimaryButton
:class="{ 'opacity-25': form.processing }"
:disabled="form.processing"
>
Email Password Reset Link
</PrimaryButton>
</div>
</form>
</GuestLayout>
</template>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save