]> _ Git - psq.git/commitdiff
wait #7905 @0.75
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Dec 2025 14:39:16 +0000 (15:39 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 18 Dec 2025 14:39:16 +0000 (15:39 +0100)
resources/sass/app.scss
resources/views/errors/403.blade.php
routes/web.php

index d26274b945759402772eb7a8c5d3f60ec023744a..fe0567156b54c1da80817e593a0a2a2ed1578b03 100644 (file)
@@ -33,7 +33,7 @@ main {
     min-height: calc(100vh - 160px);
 }
 
-p,a,h1,h2,h3,h4,span,li,div {
+p, a, h1, h2, h3, h4, span, li, div {
     color: $blue;
 }
 
@@ -43,13 +43,13 @@ p {
     margin: 0;
 }
 
-button,button:focus {
+button, button:focus {
     outline: none;
     box-shadow: none !important;
 }
 
 .box-shadow-cover {
-    box-shadow: 3px 3px 6px rgba(0,0,0,.26);
+    box-shadow: 3px 3px 6px rgba(0, 0, 0, .26);
 }
 
 @media print {
@@ -60,6 +60,7 @@ button,button:focus {
     //    max-width: initial !important;
     //}
 }
+
 .box {
     box-shadow: 0 2px 0 rgba(90, 97, 105, 0.11),
     0 4px 8px rgba(90, 97, 105, 0.12),
@@ -75,10 +76,12 @@ header {
     color: #ffffff;
     position: relative;
     padding: 16px 0;
+
     * {
         color: #ffffff;
     }
 }
+
 .header-logo-link {
     @extend .absolute--center;
     @include media-breakpoint-up(xl) {
@@ -86,6 +89,7 @@ header {
         transform: none !important;
     }
 }
+
 .header-logo {
     width: 104px;
     max-width: 850px;
@@ -119,17 +123,17 @@ a {
 
     &.bottom {
         &-left {
-            left:10px;
+            left: 10px;
             position: absolute;
             bottom: 0;
         }
 
         &-right {
-            right:10px;
+            right: 10px;
             position: absolute;
             bottom: 0;
         }
-}
+    }
 
 }
 
@@ -154,7 +158,7 @@ a {
 }
 
 
-.simple-preview{
+.simple-preview {
     .chapo {
         font-size: small;
     }
@@ -184,11 +188,13 @@ article {
     }
 
     @extend .ck-content;
+
     h2 {
         font-size: 22px;
         text-align: center;
 
     }
+
     .content {
         max-width: 800px;
         font-size: larger;
@@ -213,13 +219,11 @@ article {
         text-transform: uppercase;
     }
 }
-.error-403 {
-    p {
-        font-size: x-large;
-    }
+
+.error-403, .error-404 {
     a {
         color: inherit !important;
-
+        text-decoration: underline;
     }
 }
 
@@ -230,7 +234,7 @@ article {
     margin: auto;
 }
 
-.mh-campaign{
+.mh-campaign {
     max-height: 120px;
 }
 
@@ -245,7 +249,7 @@ article {
     color: $psq_blue;
 }
 
-.article-preview h3{
+.article-preview h3 {
     font-size: 22px;
 }
 
@@ -292,6 +296,7 @@ article {
         h2 {
 
         }
+
         p {
             //font-weight: bold;
             color: $psq_blue;
@@ -343,22 +348,26 @@ article {
     @extend .position-absolute;
     top: 50%;
     left: 50%;
-    transform: translate(-50%,-50%);
+    transform: translate(-50%, -50%);
 }
 
 #openmenu {
     position: relative;
+
     img {
         position: relative;
         z-index: 2;
     }
+
     &.open:after {
         transform: scale(1);
     }
+
     &.open {
         img:not(.openmenu-img) {
             display: none;
         }
+
         .openmenu-img {
             display: inline !important;
         }
@@ -453,6 +462,7 @@ article {
     width: max-content;
     transition: background-color .3s;
     text-decoration: none !important;
+
     &:hover {
         background-color: #9d3a38;
     }
@@ -502,10 +512,12 @@ article {
         @include media-breakpoint-down(xl) {
             padding: 0;
         }
+
         &.card-decouvrir-psq {
             padding-top: 64px;
         }
     }
+
     &.form {
         max-width: 832px;
         margin: 0 auto;
@@ -517,6 +529,7 @@ article {
             padding: 64px;
         }
     }
+
     &-header {
         padding: 0;
         background: transparent;
@@ -525,6 +538,7 @@ article {
         margin-bottom: 31px;
         font-weight: 600;
     }
+
     &-body {
         padding: 0;
 
@@ -538,6 +552,7 @@ article {
 
         input, textarea {
             border: 1px solid $waveblue;
+
             &:hover,
             &:focus {
                 box-shadow: none;
@@ -609,14 +624,17 @@ article {
 
 .form-group {
     position: relative;
+
     .invalid-feedback {
         position: absolute;
         top: 6px;
         right: 0;
         text-align: right;
+
         strong {
             font-weight: 600;
         }
+
         @include media-breakpoint-down(xl) {
             position: static;
             order: -1;
@@ -626,7 +644,7 @@ article {
     }
 }
 
-$fs : (16,20,25);
+$fs: (16, 20, 25);
 
 @each $fs in $fs {
     .f-#{$fs} {
index 634f70dd47819fbbfc9a99e16b793cc5d0b44173..332353e7001e43cc44283a0ff09f257d3204b53b 100644 (file)
@@ -1,21 +1,11 @@
 @extends('layouts.app')
+@section('title', __('Not Found'))
 
 @section('content')
-
-<div class="container error-403">
-    <h1>Vous ne pouvez pas accéder à cette page !</h1>
-
-
-    @guest
-        <p class="denim">Si vous possédez un compte, <a href="{{route('login', ['redirect_to' => request()->getUri()])}}">cliquez ici pour vous connecter</a></p>
-        <p class="green">Sinon, <a href="{{route('not-registered')}}">cliquez ici pour découvrir nos formules d'abonnement !</a></p>
-    @endguest
-    @auth
-        @if(\Auth::user()->onTrial() || \Auth::user()->isOnDiscoverUser())
-        <h2>Vous ne pouvez accéder qu'au dernier numéro en période découverte !</h2>
-        @elseif(!\Auth::user()->hasValidSubscription())
-        <h2>Il semblerait que votre abonnement n'est plus actif...</h2>
-        @endif
-    @endauth
-</div>
+    <div class="p-64-0">
+        <div class="container error-403">
+            <h1>Accès réservé aux abonnés</h1>
+            <p>Veuillez vous <a href="{{route('login', ['redirect_to' => request()->getUri()])}}">connecter</a> ou découvrez nos offres d'<a href="{{route('contact.subscribe')}}">abonnement</a></p>
+        </div>
+    </div>
 @endsection
index 0efe603d613c88e7515e49d63d89e5b57a165f09..d626808867ca60e6bc75cc70725a8f3d00a1d3fb 100644 (file)
@@ -94,7 +94,7 @@ Route::domain(env('CLIENT_DOMAIN_NAME'))->group(function () {
 
     //Route::get('podcasts', 'PodcastController@index');
 
-    Route::get('pas-encore-inscrit', 'Auth\NotRegisteredYet@index')->name('not-registered');
+    //Route::get('pas-encore-inscrit', 'Auth\NotRegisteredYet@index')->name('not-registered');
     Route::get('presentation', 'Auth\NotRegisteredYet@presentation')->name('presentation');
 
     Route::get('contact', 'ContactController@requestContactForm')->name('contact.index');