diff --git a/app/Http/Controllers/Miscellaneous/HomeController.php b/app/Http/Controllers/Miscellaneous/HomeController.php index 3290999..49dcac2 100755 --- a/app/Http/Controllers/Miscellaneous/HomeController.php +++ b/app/Http/Controllers/Miscellaneous/HomeController.php @@ -5,6 +5,7 @@ namespace App\Http\Controllers\Miscellaneous; use App\Http\Controllers\Controller; use App\Models\Articles\WebsiteArticle; use App\Models\Miscellaneous\CameraWeb; +use App\Models\User; use Illuminate\Support\Facades\Cache; use Illuminate\View\View; @@ -24,9 +25,16 @@ class HomeController extends Controller ->with('user:id,username,look') ->get()); + $onlineUsers = Cache::remember('home_online_users', 30, fn () => User::query() + ->where('online', '1') + ->inRandomOrder() + ->take(12) + ->get(['username', 'look'])); + return view('index', [ 'articles' => $articles, 'photos' => $photos, + 'onlineUsers' => $onlineUsers, ]); } } diff --git a/public/assets/images/EnterHubbly.png b/public/assets/images/EnterHubbly.png new file mode 100644 index 0000000..e62ffa7 Binary files /dev/null and b/public/assets/images/EnterHubbly.png differ diff --git a/public/assets/images/FrankwithBag.gif b/public/assets/images/FrankwithBag.gif new file mode 100644 index 0000000..513da27 Binary files /dev/null and b/public/assets/images/FrankwithBag.gif differ diff --git a/public/assets/images/icons/navigation/bb.png b/public/assets/images/icons/navigation/bb.png new file mode 100644 index 0000000..f401d73 Binary files /dev/null and b/public/assets/images/icons/navigation/bb.png differ diff --git a/public/assets/images/icons/navigation/community.png b/public/assets/images/icons/navigation/community.png old mode 100755 new mode 100644 index 8483fa0..dffcabd Binary files a/public/assets/images/icons/navigation/community.png and b/public/assets/images/icons/navigation/community.png differ diff --git a/public/assets/images/icons/navigation/goody.png b/public/assets/images/icons/navigation/goody.png new file mode 100644 index 0000000..7361760 Binary files /dev/null and b/public/assets/images/icons/navigation/goody.png differ diff --git a/public/assets/images/icons/navigation/home.png b/public/assets/images/icons/navigation/home.png old mode 100755 new mode 100644 diff --git a/public/assets/images/icons/navigation/leaderboards.png b/public/assets/images/icons/navigation/leaderboards.png old mode 100755 new mode 100644 index d1ed516..ef416e1 Binary files a/public/assets/images/icons/navigation/leaderboards.png and b/public/assets/images/icons/navigation/leaderboards.png differ diff --git a/public/assets/images/icons/navigation/me.png b/public/assets/images/icons/navigation/me.png new file mode 100644 index 0000000..a97ab39 Binary files /dev/null and b/public/assets/images/icons/navigation/me.png differ diff --git a/public/assets/images/icons/navigation/shop.png b/public/assets/images/icons/navigation/shop.png old mode 100755 new mode 100644 index 65f3abd..5493a84 Binary files a/public/assets/images/icons/navigation/shop.png and b/public/assets/images/icons/navigation/shop.png differ diff --git a/public/assets/images/mybobba_banner.png b/public/assets/images/mybobba_banner.png new file mode 100644 index 0000000..93f56f7 Binary files /dev/null and b/public/assets/images/mybobba_banner.png differ diff --git a/public/assets/images/user-online.png b/public/assets/images/user-online.png new file mode 100644 index 0000000..f10addd Binary files /dev/null and b/public/assets/images/user-online.png differ diff --git a/public/build/manifest.json b/public/build/manifest.json index 5ed342d..4b6b221 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -64,7 +64,7 @@ "src": "public/assets/images/icons/lighthouse.png" }, "public/assets/images/icons/navigation/community.png": { - "file": "assets/community-Do_t1zw9.png", + "file": "assets/community-BmvnBNdH.png", "src": "public/assets/images/icons/navigation/community.png" }, "public/assets/images/icons/navigation/home.png": { @@ -72,7 +72,7 @@ "src": "public/assets/images/icons/navigation/home.png" }, "public/assets/images/icons/navigation/leaderboards.png": { - "file": "assets/leaderboards-CGasq3cL.png", + "file": "assets/leaderboards-Cz3bgXtU.png", "src": "public/assets/images/icons/navigation/leaderboards.png" }, "public/assets/images/icons/navigation/rules.gif": { @@ -80,7 +80,7 @@ "src": "public/assets/images/icons/navigation/rules.gif" }, "public/assets/images/icons/navigation/shop.png": { - "file": "assets/shop-D3NfN6cF.png", + "file": "assets/shop-LX0jLJ3j.png", "src": "public/assets/images/icons/navigation/shop.png" }, "public/assets/images/leaderboards/trophy-bronze.png": { @@ -100,7 +100,7 @@ "src": "public/assets/images/profile/profile-bg.png" }, "resources/css/global.css": { - "file": "assets/global-CLsqTvoO.css", + "file": "assets/global-qWU3veV8.css", "name": "global", "names": [ "global.css" @@ -128,11 +128,11 @@ "assets/trophy-bronze-CgV5j1MU.png", "assets/background-light-CP7oKwVT.jpg", "assets/background-dark-BfkMu3-0.jpg", - "assets/shop-D3NfN6cF.png", - "assets/leaderboards-CGasq3cL.png", + "assets/shop-LX0jLJ3j.png", + "assets/leaderboards-Cz3bgXtU.png", "assets/rules--xzBmecz.gif", "assets/home-DIMFC97Y.png", - "assets/community-Do_t1zw9.png" + "assets/community-BmvnBNdH.png" ] }, "resources/js/global.js": { @@ -148,7 +148,7 @@ "isEntry": true }, "resources/themes/atom/css/app.css": { - "file": "assets/app-CnWrzlz2.css", + "file": "assets/app-d6aGWIlU.css", "name": "app", "names": [ "app.css" @@ -176,11 +176,11 @@ "assets/trophy-bronze-CgV5j1MU.png", "assets/background-light-CP7oKwVT.jpg", "assets/background-dark-BfkMu3-0.jpg", - "assets/shop-D3NfN6cF.png", - "assets/leaderboards-CGasq3cL.png", + "assets/shop-LX0jLJ3j.png", + "assets/leaderboards-Cz3bgXtU.png", "assets/rules--xzBmecz.gif", "assets/home-DIMFC97Y.png", - "assets/community-Do_t1zw9.png" + "assets/community-BmvnBNdH.png" ] }, "resources/themes/atom/js/app.js": { diff --git a/resources/themes/atom/css/app.css b/resources/themes/atom/css/app.css index 1765d56..b1a9404 100755 --- a/resources/themes/atom/css/app.css +++ b/resources/themes/atom/css/app.css @@ -4,6 +4,16 @@ @plugin "@tailwindcss/typography"; @custom-variant dark (&:where(.dark, .dark *)); +[x-cloak] { display: none !important; } + +@media (max-width: 767px) { + .mobile-nav-menu { display: none !important; overflow: visible !important; } + .mobile-nav-menu.show-mobile { display: flex !important; } +} +@media (min-width: 768px) { + .mobile-nav-menu { overflow: visible !important; } +} + @theme { --font-sans: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, @@ -275,6 +285,12 @@ html.dark .badge-drawer-button .toggled { background: #f2f2f3; } opacity: 0.1; } +.diamond { + top: 0; + left: 50%; + transform: translateX(-50%) rotate(45deg); +} + .text-body { color: var(--color-text); } .text-muted { color: var(--color-text-muted); } .text-nav { color: var(--color-navbar-text); } diff --git a/resources/themes/atom/views/auth/login.blade.php b/resources/themes/atom/views/auth/login.blade.php index 58c9907..8011713 100755 --- a/resources/themes/atom/views/auth/login.blade.php +++ b/resources/themes/atom/views/auth/login.blade.php @@ -1,59 +1,68 @@ - @push('title', __('Create account')) + @push('title', __('Login')) - - +
+
+
+

{{ __('Welcome back!') }}

+

+ {{ __('Login to :hotel', ['hotel' => setting('hotel_name')]) }} +

+
-
-
- - - {{ __('Login to :hotel', ['hotel' => setting('hotel_name')]) }} - +
+ - - {{ __('Login to :hotel and take part in the most wonderful online world!', ['hotel' => setting('hotel_name')]) }} - +
+ @csrf - - @csrf +
+ + +
-
-
- - {{ __('Username') }} - -
+
+ + +
- -
+ @if (setting('google_recaptcha_enabled')) +
+ @endif -
- - {{ __('Password') }} - + @if (setting('cloudflare_turnstile_enabled')) +
+ +
+ @endif - -
+
+ +
- @if (setting('google_recaptcha_enabled')) -
-
- @endif - - @if (setting('cloudflare_turnstile_enabled')) - - @endif - -
- - {{ __('Login') }} - -
- - -
+ + +
+
diff --git a/resources/themes/atom/views/auth/passwords/confirm.blade.php b/resources/themes/atom/views/auth/passwords/confirm.blade.php index c973990..131e1a3 100755 --- a/resources/themes/atom/views/auth/passwords/confirm.blade.php +++ b/resources/themes/atom/views/auth/passwords/confirm.blade.php @@ -6,48 +6,44 @@
- - - {{ __('Confirm your password') }} - +
+
+
+

{{ __('Confirm your password') }}

+
+
+
+

{{ __('You must confirm your password to continue') }}

- - {{ __('You must confirm your password to continue') }} - +
+ @csrf - - @csrf +
+ + +
- -
-
- - {{ __('Password') }} + @if (setting('google_recaptcha_enabled')) +
+ @endif - - {{ __('You must confirm your current password before being able to toggle 2FA.') }} - -
+ @if (setting('cloudflare_turnstile_enabled')) + + @endif - +
+ +
+ +
- - @if (setting('google_recaptcha_enabled')) -
- @endif - - @if (setting('cloudflare_turnstile_enabled')) - - @endif - -
- - {{ __('Confirm password') }} - -
- - -
diff --git a/resources/themes/atom/views/auth/passwords/forget.blade.php b/resources/themes/atom/views/auth/passwords/forget.blade.php index 0bb0e9e..7c40dc8 100755 --- a/resources/themes/atom/views/auth/passwords/forget.blade.php +++ b/resources/themes/atom/views/auth/passwords/forget.blade.php @@ -2,39 +2,36 @@ @push('title', __('Forgot password'))
- - - {{ __('Did you forget your password?') }} - +
+
+
+

{{ __('Did you forget 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.') }} - +
+ @csrf - - @csrf +
+ + +
- -
-
- - {{ __('Email') }} - - - {{ __('Enter your email') }} - - +
+ +
+ +
- - -
- -
- - {{ __('Email Password Reset Link') }} - -
- -
diff --git a/resources/themes/atom/views/auth/passwords/reset.blade.php b/resources/themes/atom/views/auth/passwords/reset.blade.php index ba11bd8..b076a95 100755 --- a/resources/themes/atom/views/auth/passwords/reset.blade.php +++ b/resources/themes/atom/views/auth/passwords/reset.blade.php @@ -2,49 +2,47 @@ @push('title', __('Reset Password'))
- - - {{ __('Reset Password') }} - +
+
+
+

{{ __('Reset Password') }}

+
+
+
+

{{ __('Choose a new password for your Account.') }}

- - {{ __('Choose a new password for your Account.') }} - +
+ @csrf - - @csrf +
+
+ + +
- -
-
- - {{ __('Password') }} +
+ + +
+
- - {{ __('Your password must contain atleast 8 characters. Make sure to use a unique & secure password.') }} - - - - +
+ +
+ +
-
- - -
- - {{ __('Repeat Password') }} - - - -
-
- -
- - {{ __('Reset Password') }} - -
- -
diff --git a/resources/themes/atom/views/auth/register.blade.php b/resources/themes/atom/views/auth/register.blade.php index 39bb677..367ed5e 100755 --- a/resources/themes/atom/views/auth/register.blade.php +++ b/resources/themes/atom/views/auth/register.blade.php @@ -1,207 +1,207 @@ @push('title', __('Create account')) -
- - - {{ __('Create your account!') }} - +
+ @php + $femaleFigures = array_slice(array_filter(array_map('trim', explode(',', setting('register_female_figures', 'hr-100-45.hd-180-1.ch-215-62.lg-270-62.sh-290-62,hr-130-45.hd-180-2.ch-220-62.lg-270-62.sh-305-62,hr-140-45.hd-180-3.ch-225-62.lg-270-62.sh-310-62,hr-165-45.hd-180-1.ch-210-62.lg-270-62.sh-290-62,hr-190-45.hd-180-2.ch-215-62.lg-270-62.sh-305-62')))), 0, 5); + $maleFigures = array_slice(array_filter(array_map('trim', explode(',', setting('register_male_figures', 'hr-100-61.hd-180-1.ch-210-66.lg-270-110.sh-305-62,hr-105-61.hd-190-2.ch-215-66.lg-280-110.sh-310-62,hr-110-61.hd-200-3.ch-220-66.lg-290-110.sh-320-62,hr-115-61.hd-185-1.ch-210-66.lg-275-110.sh-315-62,hr-120-61.hd-180-2.ch-205-66.lg-285-110.sh-305-62')))), 0, 5); + $allFigures = array_merge($femaleFigures, $maleFigures); + $figuresJson = json_encode($allFigures); + @endphp - - {{ __('Create a free account, and be a part of a fun online world!') }} - +
+
-
-
-
- @csrf +
+
-
-
- - {{ __('Username') }} +
+
+
+
+
+ +
+
+
- - {{ __('Your username is what you will have to use, when logging into :hotel. It is also what other users will know you as, so make sure you select a username that you like!', ['hotel' => setting('hotel_name')]) }} - - -
+
+ - -
+ + @csrf - -
-
- - {{ __('Email') }} +
+
+
+ + +
+
+
+
+ + +
+
+
- - {{ __('You will need your email if you were to ever forget your password, so make sure it is something that you remember.') }} - -
-
+
+
+
+ + +
+
+
+
+ + +
+
+
- -
+ @if (setting('requires_beta_code')) +
+
+ + +
+
+ @endif - -
-
- - {{ __('Password') }} +
+ {{ __('Select Your Outfit') }} - - {{ __('Your password must contain atleast 8 characters. Make sure to use a unique & secure password.') }} - - +
+ - -
-
+
+
+ +
+
- -
- - {{ __('Repeat Password') }} - + +
- -
-
+ +
- @if (setting('requires_beta_code')) -
-
- - {{ __('Beta code') }} +
+
+ + +
- - {{ __('Enter the beta code you have been provided with') }} - - -
+ @error('terms') +

{{ $message }}

+ @enderror +
- -
- @endif + -
- + @if (setting('google_recaptcha_enabled')) +
+ @endif -
- @php - $femaleFigures = array_slice(array_filter(array_map('trim', explode(',', setting('register_female_figures', 'hr-100-45.hd-180-1.ch-215-62.lg-270-62.sh-290-62,hr-130-45.hd-180-2.ch-220-62.lg-270-62.sh-305-62,hr-140-45.hd-180-3.ch-225-62.lg-270-62.sh-310-62,hr-165-45.hd-180-1.ch-210-62.lg-270-62.sh-290-62,hr-190-45.hd-180-2.ch-215-62.lg-270-62.sh-305-62')))), 0, 5); - $maleFigures = array_slice(array_filter(array_map('trim', explode(',', setting('register_male_figures', 'hr-100-61.hd-180-1.ch-210-66.lg-270-110.sh-305-62,hr-105-61.hd-190-2.ch-215-66.lg-280-110.sh-310-62,hr-110-61.hd-200-3.ch-220-66.lg-290-110.sh-320-62,hr-115-61.hd-185-1.ch-210-66.lg-275-110.sh-315-62,hr-120-61.hd-180-2.ch-205-66.lg-285-110.sh-305-62')))), 0, 5); - $allFigures = array_merge($femaleFigures, $maleFigures); - @endphp + @if (setting('cloudflare_turnstile_enabled')) + + @endif - @foreach($allFigures as $index => $figure) - - @endforeach -
-
+ -
-
- + @if(setting('social_login_google_enabled') == '1' || setting('social_login_discord_enabled') == '1' || setting('social_login_github_enabled') == '1') +
+

{{ __('Or register with') }}

+
+ @if(setting('social_login_google_enabled') == '1') + + + {{ __('Register with Google') }} + + @endif + @if(setting('social_login_discord_enabled') == '1') + + + {{ __('Register with Discord') }} + + @endif + @if(setting('social_login_github_enabled') == '1') + + + {{ __('Register with GitHub') }} + + @endif +
+
+ @endif - - {{ __('I accept the :hotel terms & rules.', ['hotel' => setting('hotel_name')]) }} - -
- - @error('terms') -

- {{ $message }} -

- @enderror -
- - {{-- Used to determine the refer --}} - - - @if (setting('google_recaptcha_enabled')) -
- @endif - - @if (setting('cloudflare_turnstile_enabled')) - - @endif - -
- - {{ __('Create account') }} - -
- - @if(setting('social_login_google_enabled') == '1' || setting('social_login_discord_enabled') == '1' || setting('social_login_github_enabled') == '1') -
-

{{ __('Or register with') }}

-
- @if(setting('social_login_google_enabled') == '1') - - - {{ __('Register with Google') }} - - @endif - - @if(setting('social_login_discord_enabled') == '1') - - - {{ __('Register with Discord') }} - - @endif - - @if(setting('social_login_github_enabled') == '1') - - - {{ __('Register with GitHub') }} - - @endif + + +
- @endif - -
- - -
-
diff --git a/resources/themes/atom/views/auth/two-factor-challenge.blade.php b/resources/themes/atom/views/auth/two-factor-challenge.blade.php index f0725be..71701dd 100755 --- a/resources/themes/atom/views/auth/two-factor-challenge.blade.php +++ b/resources/themes/atom/views/auth/two-factor-challenge.blade.php @@ -1,57 +1,67 @@ @push('title', __('Two-Factor Authentication')) -
- - - {{ __('Two-Factor Authentication') }} - - - {{ __('Please enter your two-factor authentication code or one of your recovery codes.') }} - +
+
+
+

{{ __('Two-Factor Authentication') }}

+

+ {{ __('Please enter your two-factor authentication code or one of your recovery codes.') }} +

+
- @if (session('error')) -
- {{ session('error') }} +
+ + + @if (session('error')) +
+ {{ session('error') }} +
+ @endif + +
+ @csrf + +
+ + +
+ +
+ + +
+ + @if (setting('google_recaptcha_enabled')) +
+ @endif + + @if (setting('cloudflare_turnstile_enabled')) +
+ +
+ @endif + +
+ +
+
+
+
- @endif - -
- @csrf - - -
- - {{ __('Code') }} - - {{ __('Enter the two-factor authentication code from your authenticator app.') }} - - - -
- - -
- - {{ __('Recovery Code') }} - - {{ __('Enter one of your recovery codes if you cannot access your authenticator app.') }} - - - -
- - @if (setting('google_recaptcha_enabled')) -
- @endif - @if (setting('cloudflare_turnstile_enabled')) - - @endif - - - {{ __('Verify') }} - - - -
- \ No newline at end of file + diff --git a/resources/themes/atom/views/auth/verify-email.blade.php b/resources/themes/atom/views/auth/verify-email.blade.php index 54cb20b..bf118c6 100755 --- a/resources/themes/atom/views/auth/verify-email.blade.php +++ b/resources/themes/atom/views/auth/verify-email.blade.php @@ -1,36 +1,48 @@ -
-
-
- {{ __('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 did not receive the email, we will gladly send you another.') }} -
+
+
+
+

{{ __('Verify Email') }}

+

+ {{ __('Verify your email address to get started.') }} +

+
- @if (session('status') == 'verification-link-sent') -
- {{ __('A new verification link has been sent to the email address you provided during registration.') }} -
- @endif +
+
+ {{ __('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 did not receive the email, we will gladly send you another.') }} +
-
-
- @csrf + @if (session('status') == 'verification-link-sent') +
+ {{ __('A new verification link has been sent to the email address you provided during registration.') }} +
+ @endif -
- -
-
+
+
+ @csrf + +
-
- @csrf - - -
-
-
+
+ @csrf + +
+
+
+
diff --git a/resources/themes/atom/views/banned.blade.php b/resources/themes/atom/views/banned.blade.php index 76ac8db..84ae71d 100755 --- a/resources/themes/atom/views/banned.blade.php +++ b/resources/themes/atom/views/banned.blade.php @@ -29,9 +29,9 @@

- - {{ __('Join discord') }} - +
diff --git a/resources/themes/atom/views/community/article.blade.php b/resources/themes/atom/views/community/article.blade.php index 00b678c..3124e76 100755 --- a/resources/themes/atom/views/community/article.blade.php +++ b/resources/themes/atom/views/community/article.blade.php @@ -1,187 +1,179 @@ @push('title', $article->title) -
-
-
- {{ $article->user && !$article->user->hidden_staff ? $article->user->permission->rank_name ?? 'Member' : 'Member' }} +
+
+
+
+
+

{{ $article->title }}

+

{{ $article->short_story }}

+
+ @if ($article->user) + + + +
+ + {{ $article->user->username }} + +

{{ $article->created_at->format('d F Y') }}

+
+ @else +
{{ __('Unknown author') }}
+ @endif +
+
+
+ +
+
+ {{ \Stevebauman\Purify\Facades\Purify::clean($article->full_story) }} +
+ +
+ @forelse ($article->tags as $tag) + + {{ $tag->name }} + + @empty + + {{ __('No tags found.') }} + + @endforelse +
+ + @include('community.partials.article-reactions') +
+
+ + @if ($article->can_comment) + @if (auth()->check() && !$article->userHasReachedArticleCommentLimit()) +
+
+
+

{{ __('Post a comment') }}

+
+
+
+

{{ __('Post a comment on the article, to let us know what you think about it') }}

+
+ @csrf + + + + +
+
+
+ @endif + +
+
+
+

{{ __('Comments') }}

+
+
+
+

{{ __('Below you will see all the comments, written on this article') }}

+
+ @forelse ($article->comments as $comment) +
+ + + + +
+
+ + {{ $comment->user->username }} + +
+ {{ $comment->created_at->diffForHumans() }} + @if ($comment->canBeDeleted()) +
+ @method('DELETE') + @csrf + +
+ @endif +
+
+

{{ $comment->comment }}

+
+
+ @empty +
+

{{ __('No comments yet. Be the first to comment!') }}

+
+ @endforelse +
+
+
+ @endif
-
-
+
+
+
+
+

{{ __('Other articles') }}

+
+
+
+
+ @forelse($otherArticles as $art) + + {{ Str::limit($art->title, 25) }} + + @empty +

+ {{ __('There is currently no other articles') }} +

+ @endforelse +
+
+
- - - - -

- {{ $article->user->username ?? setting('hotel_name') }} -

- -
-

- {{ $article->user->motto ?? setting('start_motto') }} -

- - @if($article->user) -
-
- @endif -
-
- - - - {{ __('Other articles') }} - - - - {{ __('Our most recent articles') }} - - -
- @forelse($otherArticles as $art) - - {{ Str::limit($art->title, 20) }} - - @empty -

- {{ __('There is currently no other articles') }} -

- @endforelse -
-
-
- -
-
-
-
- -

- {{ $article->title }}

-

{{ $article->short_story }}

-
- -
- {{ \Stevebauman\Purify\Facades\Purify::clean($article->full_story) }} -
- -
- @forelse ($article->tags as $tag) - $tag->background_color, - "text-white" => $tag->background_color - ]) style="background-color: {{ $tag->background_color }}">{{ $tag->name }} - @empty - {{ __('No tags found.') }} - - @endforelse -
- - @include('community.partials.article-reactions') -
- - @if ($article->can_comment) - @if (auth()->check() && !$article->userHasReachedArticleCommentLimit()) - - - {{ __('Post a comment') }} - - - - {{ __('Post a comment on the article, to let us know what you think about it') }} - - -
-
- @csrf - - - - - {{ __('Post comment') }} - -
-
-
- @endif - - - - {{ __('Comments') }} - - - - {{ __('Below you will see all the comments, written on this article') }} - - -
- @foreach ($article->comments as $comment) -
- - - - -
-
- - {{ $comment->user->username }} - - -

- {{ $comment->comment }} -

-
- -
-

- {{ $comment->created_at->diffForHumans() }} -

- - @if ($comment->canBeDeleted()) -
- @method('DELETE') - @csrf - - -
- @endif -
-
-
- @endforeach -
-
- @endif + @if($article->user) +
+
+
+

{{ __('Author') }}

+
+
+
+ + + + + {{ $article->user->username }} + +

{{ $article->user->motto ?? setting('start_motto') }}

+
+
+ {{ $article->user->online ? __('Online') : __('Offline') }} +
+ + {{ $article->user && !$article->user->hidden_staff ? $article->user->permission->rank_name ?? 'Member' : 'Member' }} + +
+
+ @endif
diff --git a/resources/themes/atom/views/community/articles.blade.php b/resources/themes/atom/views/community/articles.blade.php index e1931cf..8981fb6 100755 --- a/resources/themes/atom/views/community/articles.blade.php +++ b/resources/themes/atom/views/community/articles.blade.php @@ -1,17 +1,73 @@ - @push('title', __('Articles')) + @push('title', __('Articles')) -
-
- @forelse($articles as $article) - - @empty - - @endforelse -
+
+
+
+
+
+ {{ __('The Hubbly Newsie') }} +
+
-
- {{ $articles->links() }} -
-
+
+
+
+
+

{{ __('Newsie Directory') }}

+

{{ __('Filter newsie by category or search for a specific article...') }}

+
+ +
+
+
+ + + +
+
+ + @if(request('search')) + + + + + + @endif +
+
+
+
+
+ +
+
+ @forelse($articles as $article) + + @empty +
+

{{ __('No articles found.') }}

+ @if(request('search')) + {{ __('Clear search') }} + @endif +
+ @endforelse +
+
+ + @if(method_exists($articles, 'links')) +
+
+ {{ $articles->links() }} +
+
+ @endif +
+
+
+
diff --git a/resources/themes/atom/views/community/photos.blade.php b/resources/themes/atom/views/community/photos.blade.php index 8200518..a127048 100755 --- a/resources/themes/atom/views/community/photos.blade.php +++ b/resources/themes/atom/views/community/photos.blade.php @@ -2,40 +2,23 @@ @push('title', __('Photos'))
-
-
-
- - - - -
-
-

{{ __('Photos') }}

-

Bekijk de beste momenten vastgelegd door gebruikers

-
-
-
+
+
+
+

{{ __('Photos') }}

+
+
+
+ +
+
- - - {{ __('Photo Gallery') }} - - - - {{ __('Klik op een foto om deze te vergroten') }} - - - - - -
- {{ $photos->links() }} -
+
+ {{ $photos->links() }} +
@push('javascript') - diff --git a/resources/themes/atom/views/community/radio/apply.blade.php b/resources/themes/atom/views/community/radio/apply.blade.php index 9b2d82c..58801a5 100755 --- a/resources/themes/atom/views/community/radio/apply.blade.php +++ b/resources/themes/atom/views/community/radio/apply.blade.php @@ -3,242 +3,276 @@
- - - Word DJ - +
+
+
+
+ ⭐ +
+
+

Word DJ

+

Solliciteer als DJ bij {{ setting('hotel_name') }} Radio!

+
+
+
- - Solliciteer als DJ bij {{ setting('hotel_name') }} Radio! - +
+ @if (session('success')) +
+ {{ session('success') }} +
+ @endif -
- @if (session('success')) -
- {{ session('success') }} -
- @endif + @if (session('error')) +
+ {{ session('error') }} +
+ @endif - @if (session('error')) -
- {{ session('error') }} -
- @endif + @if ($errors->any()) +
+
    + @foreach ($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+ @endif - @if ($errors->any()) -
-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif + @if ($hasPendingApplication) +
+

Je hebt al een openstaande aanmelding!

+

Je kunt pas een nieuwe aanmelding doen als je huidige aanmelding is beoordeeld.

+
+ @else +

Heb je passie voor muziek en wil je onze community entertainen? Solliciteer dan nu als DJ!

- @if ($hasPendingApplication) -
-

Je hebt al een openstaande aanmelding!

-

Je kunt pas een nieuwe aanmelding doen als je huidige aanmelding is beoordeeld.

-
- @else -

Heb je passie voor muziek en wil je onze community entertainen? Solliciteer dan nu als DJ!

+
+ @csrf - - @csrf +
+

Persoonlijke Gegevens

- -
-

Persoonlijke Gegevens

- -
-
- - -
+
+
+ + +
-
- - -
-
-
+
+ + +
+
+
- -
-

DJ Gegevens

+
+

DJ Gegevens

-
-
- - -

Geef aan op welke dagen en tijden je beschikbaar bent om te draaien.

-
+
+
+ + +

Geef aan op welke dagen en tijden je beschikbaar bent om te draaien.

+
-
- - -

Heb je eerder als DJ gewerkt? Bijvoorbeeld op andere hotels of radio stations.

-
+
+ + +

Heb je eerder als DJ gewerkt? Bijvoorbeeld op andere hotels of radio stations.

+
-
- - -

Minimaal 50 karakters. Wees zo uitgebreid mogelijk!

-
+
+ + +

Minimaal 50 karakters. Wees zo uitgebreid mogelijk!

+
-
- - -
+
+ + +
-
- - -

Voor contact over je aanmelding.

-
+
+ + +

Voor contact over je aanmelding.

+
-
- - -
-
-
+
+ + +
+
+
-
- - - Annuleren - +
+ + + Annuleren + +
+ + @endif +
- - @endif -
-
- - - DJ Info - +
+
+
+
+ ℹ️ +
+
+

DJ Info

+

Waarom word DJ?

+
+
+
- - Waarom word DJ? - +
+

Als DJ bij {{ setting('hotel_name') }} Radio krijg je de kans om je favoriete muziek te delen met de community.

-
-

Als DJ bij {{ setting('hotel_name') }} Radio krijg je de kans om je favoriete muziek te delen met de community.

- -
-

Voordelen:

-
    -
  • Eigen radioshow
  • -
  • Leuke community
  • -
  • Ervaring opdoen
  • -
  • Events draaien
  • -
+
+

Voordelen:

+
    +
  • Eigen radioshow
  • +
  • Leuke community
  • +
  • Ervaring opdoen
  • +
  • Events draaien
  • +
+
+ +

We zoeken naar gepassioneerde muziekliefhebbers!

+
-

We zoeken naar gepassioneerde muziekliefhebbers!

-
- +
+
+
+
+ 🎶 +
+
+

Beschikbare Ranks

+

DJ Ranks

+
+
+
- - - Beschikbare Ranks - - - - DJ Ranks - - -
- @forelse ($ranks as $rank) -
- @if ($rank->badge_code) - - @endif - {{ $rank->name }} +
+ @forelse ($ranks as $rank) +
+ @if ($rank->badge_code) + + @endif + {{ $rank->name }} +
+ @empty +

Momenteel geen ranks beschikbaar.

+ @endforelse +
- @empty -

Momenteel geen ranks beschikbaar.

- @endforelse -
-
diff --git a/resources/themes/atom/views/community/radio/disabled.blade.php b/resources/themes/atom/views/community/radio/disabled.blade.php index 42959d7..260b68e 100755 --- a/resources/themes/atom/views/community/radio/disabled.blade.php +++ b/resources/themes/atom/views/community/radio/disabled.blade.php @@ -3,52 +3,60 @@
- - - {{ setting('hotel_name') }} Radio - +
+
+
+
+ 📻 +
+
+

{{ setting('hotel_name') }} Radio

+

Radio is momenteel offline

+
+
+
- - Radio is momenteel offline - +
+
+
📻
+

Radio is Offline

+

Onze radio is momenteel niet beschikbaar.

+

Kom later terug om te luisteren naar onze geweldige DJ's!

-
-
-
📻
-

Radio is Offline

-

Onze radio is momenteel niet beschikbaar.

-

Kom later terug om te luisteren naar onze geweldige DJ's!

- -
- - Bekijk het rooster - - @if(setting('radio_applications_enabled') == '1') - - Word DJ - - @endif +
+ + Bekijk het rooster + + @if(setting('radio_applications_enabled') == '1') + + Word DJ + + @endif +
+
+
- -
-
- - - Radio Info - +
+
+
+
+ ℹ️ +
+
+

Radio Info

+

Over onze radio

+
+
+
- - Over onze radio - - -
-

Onze radio is normaal gesproken 24/7 online met de beste muziek!

-

De radio kan tijdelijk offline zijn voor onderhoud.

+
+

Onze radio is normaal gesproken 24/7 online met de beste muziek!

+

De radio kan tijdelijk offline zijn voor onderhoud.

+
-
diff --git a/resources/themes/atom/views/community/radio/index.blade.php b/resources/themes/atom/views/community/radio/index.blade.php index 9c92b31..08f0670 100755 --- a/resources/themes/atom/views/community/radio/index.blade.php +++ b/resources/themes/atom/views/community/radio/index.blade.php @@ -3,254 +3,300 @@
- - - {{ setting('hotel_name') }} Radio - +
+
+
+
+ 🎵 +
+
+

{{ setting('hotel_name') }} Radio

+

Luister live naar onze DJ's!

+
+
+
- - Luister live naar onze DJ's! - +
+ @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username'])) + @php + $currentDJBanner = $banners->first(function($banner) use ($currentDJ) { + return $banner->user && $banner->user->username === $currentDJ['username']; + }); + @endphp + @if($currentDJBanner) +
+
+ {{ $currentDJBanner->title ?? 'DJ Banner' }} +
+ 🔴 NU LIVE +
+ @if($currentDJBanner->title || $currentDJBanner->description) +
+ @if($currentDJBanner->title) +

{{ $currentDJBanner->title }}

+ @endif + @if($currentDJBanner->description) +

{{ $currentDJBanner->description }}

+ @endif +
+ @endif +
+
+ @endif + @endif -
- @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username'])) - @php - $currentDJBanner = $banners->first(function($banner) use ($currentDJ) { - return $banner->user && $banner->user->username === $currentDJ['username']; - }); - @endphp - @if($currentDJBanner) -
-
- {{ $currentDJBanner->title ?? 'DJ Banner' }} -
- 🔴 NU LIVE -
- @if($currentDJBanner->title || $currentDJBanner->description) -
- @if($currentDJBanner->title) -

{{ $currentDJBanner->title }}

- @endif - @if($currentDJBanner->description) -

{{ $currentDJBanner->description }}

- @endif -
- @endif -
-
- @endif - @endif + @if($banners->count() > 0) +
+

🎧 DJ Banners

+
+ +
+ @if($banners->count() > 1) +
+ @foreach($banners as $index => $banner) + + @endforeach +
+ @endif +
+ @endif - @if($banners->count() > 0) -
-

🎧 DJ Banners

-
- -
- @if($banners->count() > 1) -
- @foreach($banners as $index => $banner) - - @endforeach -
- @endif -
- @endif +
+
+
+
+ @if($isOnline) +
+ LIVE + @else +
+ OFFLINE + @endif +
+ @if($isOnline) +
+ + + + 0 luisteraars +
+ @endif +
-
-
-
-
- @if($isOnline) -
- LIVE - @else -
- OFFLINE - @endif -
- @if($isOnline) -
- - - - 0 luisteraars -
- @endif -
+ @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username'])) +
+

Nu aan het draaien:

+

{{ $currentDJ['username'] }}

+ @if(isset($currentDJ['show_name']) && $currentDJ['show_name']) +

{{ $currentDJ['show_name'] }}

+ @endif +
+ @else +

Geen DJ actief op dit moment

+ @endif - @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username'])) -
-

Nu aan het draaien:

-

{{ $currentDJ['username'] }}

- @if(isset($currentDJ['show_name']) && $currentDJ['show_name']) -

{{ $currentDJ['show_name'] }}

- @endif -
- @else -

Geen DJ actief op dit moment

- @endif + @if($isOnline) +
+

Nu aan het spelen:

+

Laden...

+

+
+ @endif +
- @if($isOnline) -
-

Nu aan het spelen:

-

Laden...

-

-
- @endif -
+ @if($isOnline) +
+ +
+ + + + +
+
+ + @else +
+ Radio is momenteel offline. We zijn zo terug! +
+ @endif +
+
- @if($isOnline) -
- -
- - - - -
-
- - @else -
- Radio is momenteel offline. We zijn zo terug! -
- @endif -
-
- + @if($todaySchedule->count() > 0) +
+
+
+
+ 📅 +
+
+

Vandaag op Radio

+

Bekijk volledig rooster

+
+
+
+
+ @foreach($todaySchedule as $slot) +
+
+

{{ $slot->start_time->format('H:i') }}

+

{{ $slot->end_time->format('H:i') }}

+
+
+

{{ $slot->user->username }}

+ @if($slot->show_name) +

{{ $slot->show_name }}

+ @endif +
+ @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username']) && ($currentDJ['username'] ?? '') === $slot->user->username) + LIVE + @endif +
+ @endforeach +
+
+ @endif - @if($todaySchedule->count() > 0) - - Vandaag op Radio - - Bekijk volledig rooster - -
- @foreach($todaySchedule as $slot) -
-
-

{{ $slot->start_time->format('H:i') }}

-

{{ $slot->end_time->format('H:i') }}

-
-
-

{{ $slot->user->username }}

- @if($slot->show_name) -

{{ $slot->show_name }}

- @endif -
- @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username']) && ($currentDJ['username'] ?? '') === $slot->user->username) - LIVE - @endif -
- @endforeach -
-
- @endif - - @if($banners->count() > 0) - - Alle DJ Banners - Ontdek onze DJ's -
-
- @foreach($banners as $banner) -
- {{ $banner->title ?? 'DJ Banner' }} -
-
- @if($banner->title) -

{{ $banner->title }}

- @endif - @if($banner->user) -

DJ: {{ $banner->user->username }}

- @endif -
-
-
- @endforeach -
-
-
- @endif + @if($banners->count() > 0) +
+
+
+
+ 🖼️ +
+
+

Alle DJ Banners

+

Ontdek onze DJ's

+
+
+
+
+
+ @foreach($banners as $banner) +
+ {{ $banner->title ?? 'DJ Banner' }} +
+
+ @if($banner->title) +

{{ $banner->title }}

+ @endif + @if($banner->user) +

DJ: {{ $banner->user->username }}

+ @endif +
+
+
+ @endforeach +
+
+
+ @endif
- @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username'])) - @php - $currentDJBanner = $banners->first(function($banner) use ($currentDJ) { - return $banner->user && $banner->user->username === $currentDJ['username']; - }); - @endphp - - Nu aan het Draaien - Huidige DJ -
- @if($currentDJBanner) - {{ $currentDJ['username'] }} - @endif -
- - LIVE -
-

{{ $currentDJ['username'] }}

- @if(isset($currentDJ['show_name']) && $currentDJ['show_name']) -

{{ $currentDJ['show_name'] }}

- @endif -
-
- @endif + @if($currentDJ && is_array($currentDJ) && isset($currentDJ['username'])) + @php + $currentDJBanner = $banners->first(function($banner) use ($currentDJ) { + return $banner->user && $banner->user->username === $currentDJ['username']; + }); + @endphp +
+
+
+
+ 👤 +
+
+

Nu aan het Draaien

+

Huidige DJ

+
+
+
+
+ @if($currentDJBanner) + {{ $currentDJ['username'] }} + @endif +
+ + LIVE +
+

{{ $currentDJ['username'] }}

+ @if(isset($currentDJ['show_name']) && $currentDJ['show_name']) +

{{ $currentDJ['show_name'] }}

+ @endif +
+
+ @endif - - Radio Info - Over onze radio -
-

Luister live naar de beste muziek 24/7! Onze DJ's spelen jouw favoriete tracks.

-
- 📅 Bekijk het rooster - @if(setting('radio_applications_enabled') == '1') - 🎤 Word DJ - @endif -
-
-
+
+
+
+
+ ℹ️ +
+
+

Radio Info

+

Over onze radio

+
+
+
+
+

Luister live naar de beste muziek 24/7! Onze DJ's spelen jouw favoriete tracks.

+
+ 📅 Bekijk het rooster + @if(setting('radio_applications_enabled') == '1') + 🎤 Word DJ + @endif +
+
+
- @if($ranks->count() > 0) - - DJ Ranks - Onze DJ niveaus -
- @foreach($ranks as $rank) -
- @if($rank->badge_code) - - @endif - {{ $rank->name }} -
- @endforeach -
-
- @endif + @if($ranks->count() > 0) +
+
+
+
+ ⭐ +
+
+

DJ Ranks

+

Onze DJ niveaus

+
+
+
+
+ @foreach($ranks as $rank) +
+ @if($rank->badge_code) + + @endif + {{ $rank->name }} +
+ @endforeach +
+
+ @endif
diff --git a/resources/themes/atom/views/components/auth/login-form.blade.php b/resources/themes/atom/views/components/auth/login-form.blade.php index b6b8040..2d794b4 100755 --- a/resources/themes/atom/views/components/auth/login-form.blade.php +++ b/resources/themes/atom/views/components/auth/login-form.blade.php @@ -8,22 +8,26 @@
@csrf -
- - {{ __('Username') }} - +
+ - -
+ +
-
- - {{ __('Password') }} - +
+ - -
+ +
@if (setting('google_recaptcha_enabled'))
@@ -33,9 +37,9 @@ @endif - - {{ __('Login') }} - +
diff --git a/resources/themes/atom/views/components/community/staff-card.blade.php b/resources/themes/atom/views/components/community/staff-card.blade.php index f0f67c1..140db6d 100755 --- a/resources/themes/atom/views/components/community/staff-card.blade.php +++ b/resources/themes/atom/views/components/community/staff-card.blade.php @@ -5,86 +5,54 @@ $rankName = $user->permission?->rank_name ?? 'Staff'; @endphp - +
+
+
+
+ Flag +
+
+ @if($user->online) + + @else + + @endif +
+
-
diff --git a/resources/themes/atom/views/components/navigation/navigation-menu.blade.php b/resources/themes/atom/views/components/navigation/navigation-menu.blade.php index 647daad..80b1888 100755 --- a/resources/themes/atom/views/components/navigation/navigation-menu.blade.php +++ b/resources/themes/atom/views/components/navigation/navigation-menu.blade.php @@ -1,137 +1,99 @@ - - - - -
-
-
- - - - - - - @endguest + @endguest
diff --git a/resources/themes/atom/views/components/user/discord-widget.blade.php b/resources/themes/atom/views/components/user/discord-widget.blade.php index e35e51f..d1f957f 100755 --- a/resources/themes/atom/views/components/user/discord-widget.blade.php +++ b/resources/themes/atom/views/components/user/discord-widget.blade.php @@ -1,21 +1,20 @@ - - - {{ __('Discord') }} - - - - - - -
-
- - - {{ __('Join server') }} - - +
+
+
+

{{ __('Discord') }}

+
- + +
@push('javascript')
- - - {{ __('Badge Drawer') }} - - - {{ __('Draw your very own badge') }} - +
+
+
+
+
+ 🏨 +
+
+

{{ __('Badge Drawer') }}

+

{{ __('Draw your very own badge') }}

+
+
+
+
+ @if ($folderError) + + @endif +
+
+
+

{{ __('Drawing Tools') }}

+
+ + + + + + + + +
+
-
- @if ($folderError) - - @endif -
- -
- -
-

{{ __('Drawing Tools') }}

-
- - - - - - - - -
+
+

{{ __('Add Text') }}

+ +
+ + + +
+
+ +
+
+

{{ __('View') }}

+
+
+ + + +
+ +
+
+ +
+

{{ __('Actions') }}

+
+ + + +
+
+
+
+ +
+
+
+ +
+
+
+
+

{{ __('Current Color') }}

+
+ +
+

{{ __('Click to change color') }}

+

+
+
+
+ +
+

{{ __('Color Palette') }}

+
+ +
+
+ +
+

{{ __('Recent Colors') }}

+
+ + +
+
+ +
+

{{ __('Color Themes') }}

+
+ + + + + + + + +
+
+
+ +
+
+ +

{{ __('Badge Actions') }}

+
+
+ + +
+
+
+
+
- -
-

{{ __('Add Text') }}

- -
- - - -
-
+
+
+
+
+
+ 🏨 +
+
+

{{ __('Badge Drawer Details') }}

+

{{ __('My Badge Details') }}

+
+
+
- -
-
-

{{ __('View') }}

-
-
- - - +
+
+

{{ __('Preview') }}

+
+
+ {{ auth()->user()->username}} +
+
+
+
+ +
+
+
+
+ + +

+
+
+ + +

+
+ +

+ {{ __('Please fill in all fields and draw something') }} +

+
+
+
+
- -
-
- -
-

{{ __('Actions') }}

-
- - - -
-
-
-
- -
-
-
- -
-
- -
- -
-

{{ __('Current Color') }}

-
- -
-

{{ __('Click to change color') }}

-

-
-
-
- - -
-

{{ __('Color Palette') }}

-
- -
-
- - -
-

{{ __('Recent Colors') }}

-
- - -
-
- - -
-

{{ __('Color Themes') }}

-
- - - - - - - - -
-
-
- - -
-
- -

{{ __('Badge Actions') }}

-
-
- - -
-
-
-
- - - - {{ __('Badge Drawer Details') }} - - - - {{ __('My Badge Details') }} - - -
-
-

{{ __('Preview') }}

-
-
- {{ auth()->user()->username}} -
-
-
-
- -
-
-
-
- - -

-
-
- - -

-
- -

- {{ __('Please fill in all fields and draw something') }} -

-
-
-
-
@@ -352,22 +325,19 @@ 0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; } 50% { transform: scale(1) rotate(180deg); opacity: 1; } } - + @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-3px); } } - + @keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary); } 50% { box-shadow: 0 0 15px var(--color-primary), 0 0 25px var(--color-primary); } } - - .btn-sparkle { - position: relative; - overflow: visible; - } - + + .btn-sparkle { position: relative; overflow: visible; } + .btn-sparkle::before, .btn-sparkle::after { content: '✦'; @@ -379,19 +349,10 @@ animation: sparkle 2s ease-in-out infinite; opacity: 0; } - - .btn-sparkle::before { - top: -8px; - right: -5px; - animation-delay: 0s; - } - - .btn-sparkle::after { - bottom: -5px; - left: -5px; - animation-delay: 1s; - } - + + .btn-sparkle::before { top: -8px; right: -5px; animation-delay: 0s; } + .btn-sparkle::after { bottom: -5px; left: -5px; animation-delay: 1s; } + .btn-sparkle .sparkle-1, .btn-sparkle .sparkle-2, .btn-sparkle .sparkle-3 { @@ -403,29 +364,12 @@ animation: sparkle 1.5s ease-in-out infinite; opacity: 0; } - - .btn-sparkle .sparkle-1 { - top: 0; - left: 20%; - animation-delay: 0.3s; - } - - .btn-sparkle .sparkle-2 { - top: 50%; - right: 5%; - animation-delay: 0.8s; - } - - .btn-sparkle .sparkle-3 { - bottom: 10%; - left: 10%; - animation-delay: 1.2s; - } - - .btn-float { - animation: float 3s ease-in-out infinite; - } - + + .btn-sparkle .sparkle-1 { top: 0; left: 20%; animation-delay: 0.3s; } + .btn-sparkle .sparkle-2 { top: 50%; right: 5%; animation-delay: 0.8s; } + .btn-sparkle .sparkle-3 { bottom: 10%; left: 10%; animation-delay: 1.2s; } + + .btn-float { animation: float 3s ease-in-out infinite; } .btn-float:nth-child(2) { animation-delay: 0.2s; } .btn-float:nth-child(3) { animation-delay: 0.4s; } .btn-float:nth-child(4) { animation-delay: 0.6s; } @@ -433,16 +377,15 @@ .btn-float:nth-child(6) { animation-delay: 1s; } .btn-float:nth-child(7) { animation-delay: 1.2s; } .btn-float:nth-child(8) { animation-delay: 1.4s; } - - .btn-glow { - animation: pulse-glow 2s ease-in-out infinite; - } - - .star-icon { - position: absolute; - font-size: 10px; - animation: sparkle 2s ease-in-out infinite; - } + + .btn-glow { animation: pulse-glow 2s ease-in-out infinite; } + + .star-icon { position: absolute; font-size: 10px; animation: sparkle 2s ease-in-out infinite; } + #canvas { cursor: pointer; } + #guide { display: block; pointer-events: none; position: absolute; top: 0; left: 0; background-repeat: repeat; } + input[type="color"] { position: absolute; top: auto; left: auto; bottom: 0; right: 0; transform: translateY(100%); } + #avatarbox { float: right; } + .tint-red { filter: invert(21%) sepia(87%) saturate(4855%) hue-rotate(346deg) brightness(91%) contrast(92%); } - - - \ No newline at end of file + diff --git a/resources/themes/atom/views/help-center/index.blade.php b/resources/themes/atom/views/help-center/index.blade.php index ee0f26e..034395b 100755 --- a/resources/themes/atom/views/help-center/index.blade.php +++ b/resources/themes/atom/views/help-center/index.blade.php @@ -6,50 +6,67 @@ @push('title', auth()->user() ? auth()->user()->username : __('Help Center'))
-
- @foreach($categories->where('small_box', false) as $category) - - - {{ str_replace(':hotel', $hotelName, $category->name) }} - +
+ @foreach($categories->where('small_box', false) as $category) +
+
+
+
+ + + +
+
+

{{ str_replace(':hotel', $hotelName, $category->name) }}

+
+
+
-
- - {!! str_replace(':hotel', $hotelName, $category->content) !!} -
+
+
+ + {!! str_replace(':hotel', $hotelName, $category->content) !!} +
- - - - - @endforeach -
+ + + +
+
+ @endforeach +
-
- @foreach($categories->where('small_box', true) as $category) - - - {{ str_replace(':hotel', $hotelName, $category->name) }} - +
+ @foreach($categories->where('small_box', true) as $category) +
+
+
+
+ + + +
+
+

{{ str_replace(':hotel', $hotelName, $category->name) }}

+
+
+
-
- {!! str_replace(':hotel', $hotelName, $category->content) !!} -
+
+
+ {!! str_replace(':hotel', $hotelName, $category->content) !!} +
- - - - - @endforeach -
+ + + +
+
+ @endforeach +
diff --git a/resources/themes/atom/views/help-center/tickets/create.blade.php b/resources/themes/atom/views/help-center/tickets/create.blade.php index c5c16ec..145e2ce 100755 --- a/resources/themes/atom/views/help-center/tickets/create.blade.php +++ b/resources/themes/atom/views/help-center/tickets/create.blade.php @@ -1,78 +1,102 @@ @push('title', 'Create a ticket') - - - {{ __('Create a ticket') }} - +
+
+
+
+
+ + + +
+
+

{{ __('Create a ticket') }}

+

{{ __('Please describe your request below') }}

+
+
+
- - {{ __('Please describe your request below') }} - +
+ + @csrf - - @csrf + - +
+ -
- - {{ __('Title') }} - + +
- +
+ +
+ +
+ +
+ +
+
- - - - {{ __('Submit ticket') }} - - - -
- - - {{ __('Open tickets') }} - +
+
+
+
+ + + +
+
+

{{ __('Open tickets') }}

+

{{ __('Your current open tickets') }}

+
+
+
- - {{ __('Your current open tickets') }} - +
+
+ @forelse($openTickets as $ticket) +
+
+ + + - -
- @forelse($openTickets as $ticket) - - @empty -

- You currently have no open tickets. -

- - @endforelse -
- + + {{ Str::limit($ticket->title, 20) }} + +
+
+ @empty +

+ {{ __('You currently have no open tickets.') }} +

+ @endforelse +
+
+
diff --git a/resources/themes/atom/views/help-center/tickets/edit.blade.php b/resources/themes/atom/views/help-center/tickets/edit.blade.php index 217f222..c8d8c6e 100755 --- a/resources/themes/atom/views/help-center/tickets/edit.blade.php +++ b/resources/themes/atom/views/help-center/tickets/edit.blade.php @@ -1,83 +1,107 @@ - @push('title', 'Create a ticket') + @push('title', 'Edit ticket') - - - {{ __('Edit your ticket') }} - +
+
+
+
+
+ + + +
+
+

{{ __('Edit your ticket') }}

+

{{ __('Please describe your request below') }}

+
+
+
- - {{ __('Please describe your request below') }} - +
+
+ @method('PUT') + @csrf - - @method('PUT') - @csrf + - + @foreach($categories as $category) + + @endforeach + - @foreach($categories as $category) - - @endforeach - +
+ -
- - {{ __('Title') }} - + +
- +
+ +
+ +
+ +
+ +
+
- - - - {{ __('Update ticket') }} - - - -
- - - {{ __('Open tickets') }} - +
+
+
+
+ + + +
+
+

{{ __('Open tickets') }}

+

{{ __('Your current open tickets') }}

+
+
+
- - {{ __('Your current open tickets') }} - +
+
+ @forelse($openTickets as $ticket) +
+
+ + + - -
- @forelse($openTickets as $ticket) - - @empty -

- You currently have no open tickets. -

- - @endforelse -
- + + {{ Str::limit($ticket->title, 20) }} + +
+
+ @empty +

+ {{ __('You currently have no open tickets.') }} +

+ @endforelse +
+
+
diff --git a/resources/themes/atom/views/help-center/tickets/index.blade.php b/resources/themes/atom/views/help-center/tickets/index.blade.php index 57121dd..d0645e9 100755 --- a/resources/themes/atom/views/help-center/tickets/index.blade.php +++ b/resources/themes/atom/views/help-center/tickets/index.blade.php @@ -1,83 +1,99 @@ @push('title', 'Create a ticket') - - - {{ __('All tickets') }} - +
+
+
+
+
+ + + +
+
+

{{ __('All tickets') }}

+

{{ __('Manage all support tickets') }}

+
+
+
-
- - - - - - - - - +
+
+
- {{ __('Title') }} - - {{ __('Author') }} - - {{ __('Status') }} - - {{ __('Actions') }} -
+ + + + + + + + - - @forelse ($tickets as $ticket) - - - - - + @forelse ($tickets as $ticket) + + + + + - - @empty - - - - @endforelse - -
+ {{ __('Title') }} + + {{ __('Author') }} + + {{ __('Status') }} + + {{ __('Actions') }} +
- {{ Str::limit($ticket->title, 80) }} - - {{ $ticket->user->username }} - {{ $ticket->open ? 'Open' : 'Closed' }} - - - - - - - +
+ {{ Str::limit($ticket->title, 80) }} + + {{ $ticket->user->username }} + + + {{ $ticket->open ? 'Open' : 'Closed' }} + + + + + + + + - - - - - + + + + + - @if(hasPermission('delete_website_tickets')) -
- @method('DELETE') - @csrf + @if(hasPermission('delete_website_tickets')) + + @method('DELETE') + @csrf - -
- @endif -
- {{ __('No tickets available') }} -
+ + + @endif + + + @empty + + + {{ __('No tickets available') }} + + + @endforelse + + +
+ +
+ {{ $tickets->links() }} +
+
+
- -
- {{ $tickets->links() }} -
-
diff --git a/resources/themes/atom/views/help-center/tickets/show.blade.php b/resources/themes/atom/views/help-center/tickets/show.blade.php index 4ca1815..f8e427e 100755 --- a/resources/themes/atom/views/help-center/tickets/show.blade.php +++ b/resources/themes/atom/views/help-center/tickets/show.blade.php @@ -1,185 +1,219 @@ - @push('title', 'Create a ticket') + @push('title', $ticket->title) - - -
- {{ $ticket->title }} [{{ $ticket->category->name }}] +
+
+
+
+
+ + + +
+
+

{{ $ticket->title }}

+ + [{{ $ticket->category->name }}] + +
+
+
- @if($ticket->canManageTicket()) - - - - - - @endif +
+
+ @if($ticket->isOpen()) +
+ @method('PUT') + @csrf + +
+ @else +
+ @method('PUT') + @csrf + +
+ @endif + + @if($ticket->canManageTicket()) + + + + @endif + +
+ @method('DELETE') + @csrf + +
+
+ +
+ {!! $ticket->content !!} +
+
+
+ +
+
+
+
+ + + +
+
+

{{ __('Comments') }}

+

{{ __('Please submit your reply below') }}

+
+
+
+ +
+ @if($ticket->isOpen()) +
+ @csrf + + + +
+ +
+ + @endif + +
+ @forelse($ticket->replies as $reply) + @if($reply->user_id === auth()->user()->id) +
+
+
+ + {{ $reply->user->username }} +
+ +
+ {{ $reply->created_at->diffForHumans() }} + + @if($reply->user_id === Auth::id() || hasPermission('delete_website_ticket_replies')) +
+ @method('DELETE') + @csrf + + +
+ @endif +
+
+ +
+ {!! $reply->content !!} +
+
+ @else +
+
+
+ {{ $reply->created_at->diffForHumans() }} + + @if($reply->user_id === Auth::id() || hasPermission('delete_website_ticket_replies')) +
+ @method('DELETE') + @csrf + + +
+ @endif +
+ +
+ {{ $reply->user->username }} + +
+
+ +
+ {!! $reply->content !!} +
+
+ @endif + @empty +

+ {{ __('There is currently no replies') }} +

+ @endforelse +
+
+
- - -
- @if($ticket->isOpen()) -
- @method('PUT') - @csrf - - - Close - -
- @else -
- @method('PUT') - @csrf - - - Re-open - -
- @endif - -
- @method('DELETE') - @csrf - - - Delete - -
-
- -
- {!! $ticket->content !!} -
-
- - - {{ __('Open tickets') }} - +
+
+
+
+ + + +
+
+

{{ __('Open tickets') }}

+

{{ __('Your current open tickets') }}

+
+
+
- - {{ __('Your current open tickets') }} - +
+
+ @forelse($openTickets as $ticket) +
+
+ + + -
- @forelse($openTickets as $ticket) - + @empty +

+ {{ __('You currently have no open tickets.') }} +

+ @endforelse +
+
+
-
- @empty -

- You currently have no open tickets. -

- @endforelse -
-
-
- - - - {{ __('Comments') }} - - - - {{ __('Please submit your reply below') }} - - - @if($ticket->isOpen()) -
- @csrf - - - - - {{ __('Submit reply') }} - - - @endif - -
- @forelse($ticket->replies as $reply) - @if($reply->user_id === auth()->user()->id) -
-
-
- {{ $reply->user->username }} -
- -
-
- -
- {{ $reply->created_at->diffForHumans() }} - - @if($reply->user_id === Auth::id() || hasPermission('delete_website_ticket_replies')) -
- @method('DELETE') - @csrf - - -
- @endif -
-
- -
- {!! $reply->content !!} -
-
- @else -
-
-
-
- @method('DELETE') - @csrf - - -
- - {{ $reply->created_at->diffForHumans() }} -
- - -
- {{ $reply->user->username }} -
- -
-
-
- -
- {!! $reply->content !!} -
-
- @endif - @empty -

- {{ __('There is currently no replies') }} -

- @endforelse -
-
diff --git a/resources/themes/atom/views/index.blade.php b/resources/themes/atom/views/index.blade.php index 58a5b68..648c3b9 100755 --- a/resources/themes/atom/views/index.blade.php +++ b/resources/themes/atom/views/index.blade.php @@ -1,45 +1,194 @@ @push('title', __('Welcome to the best hotel on the web!')) -
-
- - - {{ __('Latest news') }} - + - - {{ __('Keep up to date with the latest hotel gossip.') }} - +
-
- @forelse($articles as $article) - - @empty - - @endforelse -
- -
+ {{-- Left sidebar --}} +
- @if($photos) -
- - - {{ __('Latest Photos') }} - + {{-- Login card --}} +
+
+ +
+
+
+
+
+ +
+ @csrf +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ + @if (setting('cloudflare_turnstile_enabled')) + + @endif + + + +
+
+ + {{-- Register button --}} + + + {{-- Recent Users --}} + @if($onlineUsers->isNotEmpty()) +
+
+
+

{{ __('Recent Users') }}

+
+
+
+ @foreach($onlineUsers as $user) +
+ {{ $user->username }} +
+ @endforeach +
+
+ @endif + +
+ + {{-- Right main content --}} +
+ + {{-- Latest Photos --}} + @if($photos->isNotEmpty()) +
+
+
+

{{ __('Latest Photos') }}

+
+
+
+
+ @forelse ($photos as $photo) + +
+
+ Photo by {{ $photo->user?->username ?? 'Unknown' }} +
+
+
+
+
+ {{ $photo->user?->username ?? 'Unknown' }} +
+
+

{{ $photo->user?->username ?? __('Unknown') }}

+
+
+
+
+
+ @empty +
+

{{ __('No photos available') }}

+
+ @endforelse +
+
+
+ @endif + + {{-- Latest News --}} +
+
+
+

{{ __('Latest News') }}

+
+
+
+
+
+ @forelse($articles as $article) + + @empty +
+ +
+ @endforelse +
+
+
+
+
+
+
+ +
- - {{ __('Have a look at some of the great moments captured by users around the hotel.') }} - - - -
- @endif
@push('javascript') + @endpush diff --git a/resources/themes/atom/views/layouts/app.blade.php b/resources/themes/atom/views/layouts/app.blade.php index ed646ff..0d21bcf 100755 --- a/resources/themes/atom/views/layouts/app.blade.php +++ b/resources/themes/atom/views/layouts/app.blade.php @@ -179,20 +179,36 @@ {{-- Navigation --}} -