403.blade.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <html>
  2. <head>
  3. <title>403 forbidden: {!! env('APP_NAME') !!}</title>
  4. <style>
  5. @import url('https://fonts.googleapis.com/css?family=Lato');
  6. .message{
  7. text-align: center;
  8. padding: 78px;
  9. background: #a94b142b;
  10. border-radius: 15px;
  11. }
  12. $animationTime: 2s;
  13. * {
  14. position: relative;
  15. margin: 0;
  16. padding: 0;
  17. box-sizing: border-box;
  18. font-family: 'Lato', sans-serif;
  19. }
  20. body {
  21. height: 100vh;
  22. display: flex;
  23. flex-direction: column;
  24. justify-content: center;
  25. align-items: center;
  26. background: linear-gradient(to bottom right, #fda70a, #f90);
  27. color: #fff;
  28. }
  29. a{
  30. color:#000;
  31. text-decoration: none;
  32. }
  33. h1 {
  34. margin: 40px 0 20px;
  35. }
  36. .lock {
  37. border-radius: 5px;
  38. width: 55px;
  39. height: 45px;
  40. background-color: #333;
  41. animation: dip 1s;
  42. animation-delay: ($animationTime - .5);
  43. &::before,
  44. &::after {
  45. content: '';
  46. position: absolute;
  47. border-left: 5px solid #333;
  48. height: 20px;
  49. width: 15px;
  50. left: calc(50% - 12.5px);
  51. }
  52. &::before {
  53. top: -30px;
  54. border: 5px solid #333;
  55. border-bottom-color: transparent;
  56. border-radius: 15px 15px 0 0;
  57. height: 30px;
  58. animation: lock $animationTime, spin $animationTime;
  59. }
  60. &::after {
  61. top: -10px;
  62. border-right: 5px solid transparent;
  63. animation: spin $animationTime;
  64. }
  65. }
  66. @keyframes lock {
  67. 0% {
  68. top: -45px;
  69. }
  70. 65% {
  71. top: -45px;
  72. }
  73. 100% {
  74. top: -30px;
  75. }
  76. }
  77. @keyframes spin {
  78. 0% {
  79. transform: scaleX(-1);
  80. left: calc(50% - 30px);
  81. }
  82. 65% {
  83. transform: scaleX(1);
  84. left: calc(50% - 12.5px);
  85. }
  86. }
  87. @keyframes dip {
  88. 0% {
  89. transform: translateY(0px);
  90. }
  91. 50% {
  92. transform: translateY(10px);
  93. }
  94. 100% {
  95. transform: translateY(0px);
  96. }
  97. }
  98. </style>
  99. </head>
  100. <body>
  101. <div class="message" style="text-align: center">
  102. <img src="{!! env('APP_PUBLIC_URL') !!}assets/images/logo-dashboard.png" />
  103. <h1>Access to this page is restricted</h1>
  104. <p>Please check with the site admin if you believe this is a mistake.</p>
  105. <p style="text-align: center"><a href="{!! env('APP_URL') !!}dashboard"> Go to dashboard</a></p>
  106. </div>
  107. </body>
  108. </html>