feat(homepage): remove old homepage

This commit removes the old outdate homepage.

Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
Miguel Nogueira 2022-09-21 05:48:09 +01:00
parent f3996bb68c
commit e2633f86af
No known key found for this signature in database
GPG Key ID: 3C6A7E29AF26D370
4 changed files with 0 additions and 400 deletions

View File

@ -1,32 +0,0 @@
@include('breadcrumbs.header')
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T47K5CG"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- This section is global -->
@if (session()->has('error'))
<script>
toastr.error('{{session()->get('error')}}', '{{__('Error')}}')
</script>
@elseif (session()->has('success'))
<script>
toastr.success('{{session()->get('success')}}', '{{__('Success')}}')
</script>
@endif
@yield('content')
@include('breadcrumbs.footer')
<script>
$('.dropdown-toggle').dropdown()
</script>
<script src="https://cdn.jsdelivr.net/combine/npm/lightgallery@2.2.1,npm/lightgallery@2.2.1/plugins/zoom/lg-zoom.umd.min.js,npm/lightgallery@2.2.1/plugins/fullscreen/lg-fullscreen.umd.min.js"></script>
</body>
</html>

View File

@ -1,18 +0,0 @@
<!-- Footer -->
<footer class="page-footer font-small footer-grad">
<!-- Copyright - DO NOT REMOVE WITHOUT PERMISSION -->
<div class="footer-copyright text-center py-3">
{!! __('<a href=":appUrlConfigValue"> :appNameConfigValue :appReleaseConfigValue &copy; :currentYear - All Rights Reserved. Took :pageLoadTimeMillis seconds.</a>', [
'appUrlConfigValue' => config('app.url'),
'appNameConfigValue' => config('app.name'),
'appReleaseConfigValue' => config('app.release'),
'currentYear' => now()->year,
'pageLoadTimeMillis' => round(microtime(true) - LARAVEL_START, 3)
]) !!}
</div>
<!-- Copyright -->
<!-- GNU General Public License (https://www.gnu.org/licenses/gpl-3.0.en.html) Built by Miguel N. -->
</footer>
<!-- Footer -->

View File

@ -1,181 +0,0 @@
<!doctype HTML>
<html lang="{{ App::getLocale() }}">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-T47K5CG');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8">
<meta name="author" content="GC">
<meta name="robots" content="index, follow">
<meta name="tags" content="gamesclub, gamescluboficial, games club oficial, games club discord, minecraft, gaming, discord">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<title>{{config('app.name')}} | {{ __('Home') }}</title>
<meta name="title" content="Games Club Oficial | {{ __('Página Inicial') }}">
<meta name="description" content="{{ __('Games Club Oficial - Onde sua diversão acontece!') }}">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
<!-- Google Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap">
<!-- Bootstrap core CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.16.0/css/mdb.min.css" rel="stylesheet">
<link href="https:////cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lightgallery@2.2.1/css/lightgallery-bundle.min.css" integrity="sha256-Uxm/PH2he1eJjDjL9GpZSqxO3+ibyFsbhGupVTc9qLg=" crossorigin="anonymous">
<link href="/app.css" rel="stylesheet">
<!-- JQuery -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.16.0/js/mdb.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<script src="https://betteruptime.com/widgets/announcement.js" data-id="131937" async="async" type="text/javascript"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<!--Main Navigation-->
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-dark">
<a class="navbar-brand" href="#">
<img class="rounded" src="/logo-gc.png" alt="Logo Gamesclub" height="50px">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto float-right">
@guest
<li class="nav-item">
<button class="btn btn-info" type="button" onclick="window.location.href='{{route('login')}}'"><i class="fas fa-sign-in-alt"></i> {{__('Sign in')}}</button>
</li>
<li class="nav-item">
<button class="btn btn-info" type="button" onclick="window.location.href='{{route('register')}}'"><i class="fas fa-plus"></i> {{__('Register')}}</button>
</li>
@endguest
@auth
<li class="nav-item">
<button type="button" class="btn btn-info" onclick="window.location.href='{{route('dashboard')}}'">{{__('Dashboard')}}</button>
</li>
<li class="nav-item">
<form method="POST" action="{{route('logout')}}">
@csrf
<button type="submit" class="btn btn-danger"><i class="fa fa-power-off"></i>{{__('Sign out')}}</button>
</form>
</li>
@endauth
</ul>
</div>
</nav>
<!-- hero -->
@if (!isset($code))
<div class="view intro-2">
<div class="full-bg-img">
<div class="mask rgba-black-light flex-center">
<div class="container text-center white-text">
<div class="white-text text-center wow fadeInUp">
<h2>{{config('app.name')}}</h2>
<h5>{{ __('Welcome to the :appName Recruitment Portal!', ['appName' => config('app.name')]) }}</h5>
<br>
<p>{{ __('We process applications for our Discord server\'s management team here. If you have any questions, don\'t hesistate to contact our support team! Take a look at the open jobs below.') }}</p>
<p>{!! __('If you\'d like to learn more about our community, make sure to visit our <a href=":mainWebsiteUrlConfigValue" target="_blank">main website</a>!', ['mainWebsiteUrlConfigValue' => config('app.sitehomepage')]) !!}</p>
</div>
</div>
</div>
</div>
</div>
@else
<!-- this is not ideal, and the whole frontend desperately needs a redesign, it's ugly and hard to maintain -->
<div class="view intro-2">
<div class="full-bg-img">
<div class="mask rgba-black-light flex-center">
<div class="container text-center white-text">
<div class="white-text text-center wow fadeInUp">
@switch($code)
@case(404)
<img class="d-inline mb-4" src="{{ asset('img/404.svg') }}" width="350px" alt="404 illustration">
<h1>{{ __('404 - Page Not Found') }}</h1>
<p>{{ __('Uh oh! We searched far and wide, but it looks like the page you were looking for could not be found.') }}</p>
@break;
@case(500)
<img class="d-inline mb-4" src="{{ asset('img/500.svg') }}" width="350px" alt="500 illustration">
<h1>{{ __('500 - Internal Server Error') }}</h1>
<p>{{ __("Whelp! It looks like our servers went up in flames. Don't worry, it's not your fault. Our developers have been notified & are already extinguishing the flames and repairing the damage. ") }}</p>
@break;
@case(401)
<img class="d-inline mb-4" src="{{ asset('img/401.svg') }}" width="350px" alt="401 illustration">
<h1>{{ __('401 - Unauthorized') }}</h1>
<p>{{ __('You need to be authenticated to access this page. Believe this is a mistake? Contact us and let us know! ') }}</p>
@break;
@case(403)
<img class="d-inline mb-4" src="{{ asset('img/403.svg') }}" width="350px" alt="403 illustration">
<h1>{{ __('403 - Forbidden') }}</h1>
<p>{{ __('Hey there! It looks like you don\'t have permission to access this resource. This may be because you don\'t have the appropriate roles, or because you\'ve been suspended. Believe this is a mistake? Contact us and we\'ll sort it out!') }}</p>
@break;
@case(503)
<img class="d-inline mb-4" src="{{ asset('img/503.svg') }}" width="350px" alt="503 illustration">
<h1>{{ __('503 - Service Unavailable') }}</h1>
<p>{{ __('Our services are currently undergoing routine maintenance. We are sorry for any inconveniences caused! We\'ll be back ASAP.') }}</p>
@break;
@endswitch
<a class="mt-3 ml-3 btn btn-primary btn-lg" href="{{route('home')}}" role="button"><i class="fas fa-home"></i> {{ __('Back to safety') }}</a>
<a target="_blank" class="mt-3 ml-3 btn btn-primary btn-lg" href="https://status.gamescluboficial.com.br" role="button"><i class="fas fa-cogs"></i> {{ __('System status') }}</a>
</div>
</div>
</div>
</div>
</div>
@endif
</header>

View File

@ -1,169 +0,0 @@
@extends('breadcrumbs.app')
@section('content')
@if(!$positions->isEmpty())
<!-- todo: details component -->
@foreach($positions as $position)
<x-modal id="{{ $position->vacancySlug . '-details' }}" modal-label="{{ $position->vacancySlug . '-details-label' }}" modal-title="{{__('Vacancy details')}}" include-close-button="true">
@if (is_null($position->vacancyFullDescription))
<div class="alert alert-warning">
<h3><i class="fas fa-question-circle"></i> {{__("There don't seem to be any details.")}}</h3>
<p>
{{__('This vacancy does not have any details yet.')}}
</p>
</div>
@else
{!! $position->vacancyFullDescription !!}
<p class="text-sm text-muted">
{{__('Last updated @ :lastUpdatedTimeValue', [':lastUpdatedTimeValue' => $position->updated_at])}}
</p>
@endif
<x-slot name="modalFooter"></x-slot>
</x-modal>
@endforeach
@endif
<!--Main Layout-->
<main class="py-5">
<div class="container-fluid">
@if ($demoActive)
<div class="row">
<div class="col">
<div class="alert alert-warning">
<p class="font-weight-bold"><i class="fas fa-exclamation-circle"></i> {{ __('Attention') }}</p>
<p>{{ __('Demo mode is active on this instance. The database is refreshed daily and some features are disabled for security reasons.') }}</p>
<p>{{ __("If you're seeing this message in error, please contact your system administrator.") }}</p>
</div>
</div>
</div>
@endif
<div class="row mt-5">
<div class="col text-center">
<h3>Confira os cargos disponíveis</h3>
<p>Quer colaborar com a equipe da Games Club? Estamos recrutando! Confira um dos nossos cargos abertos. Uma boa equipe é um pilar de uma comunidade bem-sucedida.</p>
</div>
</div>
<div class="row mt-5 mb-5">
@if (!$positions->isEmpty())
@foreach($positions as $position)
<div class="col-md-4">
<div class="card mt-3">
<div class="card-header text-center">
<h4 class="card-title">{{$position->vacancyName}}</h4>
<p class="card-subtitle">{{trans_choice('{1} There is :count open position!|[2,*] There are :count open positions!', $position->vacancyCount)}}</p>
</div>
<div class="card-body text-center">
<p class="card-text">
{{$position->vacancyDescription}}
</p>
</div>
<div class="card-footer text-center">
@auth
<button {{($isEligibleForApplication) ? '' : 'disabled'}} type="button" class="btn btn-success" onclick="window.location.href='{{route('renderApplicationForm', ['vacancySlug' => $position->vacancySlug])}}'">{{__('Apply')}}</button>
@if(!$isEligibleForApplication)
<span class="badge-warning badge"><i class="fa fa-info"></i> {{__('Ineligible (:days) day(s) remaining', ['days' => $eligibilityDaysRemaining])}}</span>
@endif
@endauth
<button type="button" class="btn btn-info" onclick="$('#{{ $position->vacancySlug }}-details').modal('show')">{{__('Learn more')}}</button>
@guest
<button type="button" class="btn btn-success" onclick="window.location.href='{{route('renderApplicationForm', ['vacancySlug' => $position->vacancySlug])}}'">{{__('Apply')}}</button>
@endguest
</div>
</div>
</div>
@endforeach
@else
<div class="col-md-4 offset-md-4">
<div class="card">
<div class="card-header">
<div class="card-title"><h4>{{__('Applications Closed')}}</h4></div>
</div>
<div class="card-body">
<div class="alert alert-info">
<p><b>{{__('Hello There!')}}</b></p>
<p>
{{__('We are currently not hiring any new staff members at the moment. If you\'d like to apply, check out our Discord\'s
announcement channel for news when a new position opens.
Our application cycle usually lasts two weeks, so if you\'re seeing this, it\'s because it finished, and new one will begin soon.')}}
</p>
</div>
</div>
</div>
</div>
@endif
</div>
<div class="row mt-5 mb-5">
<div class="col text-center">
<h3>{{ __('A gestão da :appName responde a todas candidaturas dentro de 48 horas.', ['appName' => config('app.name')]) }}</h3>
<p>{!! __('Se você tiver algum dúvida sobre a sua conta de recrutamento, candidatura, ou qualquer outra questão, visite o nosso <a href=":supportURL" target="_blank">site de atendimento</a>, ou <a href="mailto::supportEmail">envie-nos um email</a>.', ['supportURL' => config('app.support_url'), 'supportEmail' => config('app.support_email')]) !!}</p>
</div>
</div>
</div>
</main>
<!--Main Layout-->
@stop