illustrated-layout.blade.php 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <title>@yield('title')</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- Styles -->
  8. <style>
  9. html {
  10. line-height: 1.15;
  11. -ms-text-size-adjust: 100%;
  12. -webkit-text-size-adjust: 100%;
  13. }
  14. body {
  15. margin: 0;
  16. }
  17. header,
  18. nav,
  19. section {
  20. display: block;
  21. }
  22. figcaption,
  23. main {
  24. display: block;
  25. }
  26. a {
  27. background-color: transparent;
  28. -webkit-text-decoration-skip: objects;
  29. }
  30. strong {
  31. font-weight: inherit;
  32. }
  33. strong {
  34. font-weight: bolder;
  35. }
  36. code {
  37. font-family: monospace, monospace;
  38. font-size: 1em;
  39. }
  40. dfn {
  41. font-style: italic;
  42. }
  43. svg:not(:root) {
  44. overflow: hidden;
  45. }
  46. button,
  47. input {
  48. font-family: sans-serif;
  49. font-size: 100%;
  50. line-height: 1.15;
  51. margin: 0;
  52. }
  53. button,
  54. input {
  55. overflow: visible;
  56. }
  57. button {
  58. text-transform: none;
  59. }
  60. button,
  61. html [type="button"],
  62. [type="reset"],
  63. [type="submit"] {
  64. -webkit-appearance: button;
  65. }
  66. button::-moz-focus-inner,
  67. [type="button"]::-moz-focus-inner,
  68. [type="reset"]::-moz-focus-inner,
  69. [type="submit"]::-moz-focus-inner {
  70. border-style: none;
  71. padding: 0;
  72. }
  73. button:-moz-focusring,
  74. [type="button"]:-moz-focusring,
  75. [type="reset"]:-moz-focusring,
  76. [type="submit"]:-moz-focusring {
  77. outline: 1px dotted ButtonText;
  78. }
  79. legend {
  80. -webkit-box-sizing: border-box;
  81. box-sizing: border-box;
  82. color: inherit;
  83. display: table;
  84. max-width: 100%;
  85. padding: 0;
  86. white-space: normal;
  87. }
  88. [type="checkbox"],
  89. [type="radio"] {
  90. -webkit-box-sizing: border-box;
  91. box-sizing: border-box;
  92. padding: 0;
  93. }
  94. [type="number"]::-webkit-inner-spin-button,
  95. [type="number"]::-webkit-outer-spin-button {
  96. height: auto;
  97. }
  98. [type="search"] {
  99. -webkit-appearance: textfield;
  100. outline-offset: -2px;
  101. }
  102. [type="search"]::-webkit-search-cancel-button,
  103. [type="search"]::-webkit-search-decoration {
  104. -webkit-appearance: none;
  105. }
  106. ::-webkit-file-upload-button {
  107. -webkit-appearance: button;
  108. font: inherit;
  109. }
  110. menu {
  111. display: block;
  112. }
  113. canvas {
  114. display: inline-block;
  115. }
  116. template {
  117. display: none;
  118. }
  119. [hidden] {
  120. display: none;
  121. }
  122. html {
  123. -webkit-box-sizing: border-box;
  124. box-sizing: border-box;
  125. font-family: sans-serif;
  126. }
  127. *,
  128. *::before,
  129. *::after {
  130. -webkit-box-sizing: inherit;
  131. box-sizing: inherit;
  132. }
  133. p {
  134. margin: 0;
  135. }
  136. button {
  137. background: transparent;
  138. padding: 0;
  139. }
  140. button:focus {
  141. outline: 1px dotted;
  142. outline: 5px auto -webkit-focus-ring-color;
  143. }
  144. *,
  145. *::before,
  146. *::after {
  147. border-width: 0;
  148. border-style: solid;
  149. border-color: #dae1e7;
  150. }
  151. button,
  152. [type="button"],
  153. [type="reset"],
  154. [type="submit"] {
  155. border-radius: 0;
  156. }
  157. button,
  158. input {
  159. font-family: inherit;
  160. }
  161. input::-webkit-input-placeholder {
  162. color: inherit;
  163. opacity: .5;
  164. }
  165. input:-ms-input-placeholder {
  166. color: inherit;
  167. opacity: .5;
  168. }
  169. input::-ms-input-placeholder {
  170. color: inherit;
  171. opacity: .5;
  172. }
  173. input::placeholder {
  174. color: inherit;
  175. opacity: .5;
  176. }
  177. button,
  178. [role=button] {
  179. cursor: pointer;
  180. }
  181. .bg-transparent {
  182. background-color: transparent;
  183. }
  184. .bg-white {
  185. background-color: #fff;
  186. }
  187. .bg-teal-light {
  188. background-color: #64d5ca;
  189. }
  190. .bg-blue-dark {
  191. background-color: #2779bd;
  192. }
  193. .bg-indigo-light {
  194. background-color: #7886d7;
  195. }
  196. .bg-purple-light {
  197. background-color: #a779e9;
  198. }
  199. .bg-no-repeat {
  200. background-repeat: no-repeat;
  201. }
  202. .bg-cover {
  203. background-size: cover;
  204. }
  205. .border-grey-light {
  206. border-color: #dae1e7;
  207. }
  208. .hover\:border-grey:hover {
  209. border-color: #b8c2cc;
  210. }
  211. .rounded-lg {
  212. border-radius: .5rem;
  213. }
  214. .border-2 {
  215. border-width: 2px;
  216. }
  217. .hidden {
  218. display: none;
  219. }
  220. .flex {
  221. display: -webkit-box;
  222. display: -ms-flexbox;
  223. display: flex;
  224. }
  225. .items-center {
  226. -webkit-box-align: center;
  227. -ms-flex-align: center;
  228. align-items: center;
  229. }
  230. .justify-center {
  231. -webkit-box-pack: center;
  232. -ms-flex-pack: center;
  233. justify-content: center;
  234. }
  235. .font-sans {
  236. font-family: Nunito, sans-serif;
  237. }
  238. .font-light {
  239. font-weight: 300;
  240. }
  241. .font-bold {
  242. font-weight: 700;
  243. }
  244. .font-black {
  245. font-weight: 900;
  246. }
  247. .h-1 {
  248. height: .25rem;
  249. }
  250. .leading-normal {
  251. line-height: 1.5;
  252. }
  253. .m-8 {
  254. margin: 2rem;
  255. }
  256. .my-3 {
  257. margin-top: .75rem;
  258. margin-bottom: .75rem;
  259. }
  260. .mb-8 {
  261. margin-bottom: 2rem;
  262. }
  263. .max-w-sm {
  264. max-width: 30rem;
  265. }
  266. .min-h-screen {
  267. min-height: 100vh;
  268. }
  269. .py-3 {
  270. padding-top: .75rem;
  271. padding-bottom: .75rem;
  272. }
  273. .px-6 {
  274. padding-left: 1.5rem;
  275. padding-right: 1.5rem;
  276. }
  277. .pb-full {
  278. padding-bottom: 100%;
  279. }
  280. .absolute {
  281. position: absolute;
  282. }
  283. .relative {
  284. position: relative;
  285. }
  286. .pin {
  287. top: 0;
  288. right: 0;
  289. bottom: 0;
  290. left: 0;
  291. }
  292. .text-black {
  293. color: #22292f;
  294. }
  295. .text-grey-darkest {
  296. color: #3d4852;
  297. }
  298. .text-grey-darker {
  299. color: #606f7b;
  300. }
  301. .text-2xl {
  302. font-size: 1.5rem;
  303. }
  304. .text-5xl {
  305. font-size: 3rem;
  306. }
  307. .uppercase {
  308. text-transform: uppercase;
  309. }
  310. .antialiased {
  311. -webkit-font-smoothing: antialiased;
  312. -moz-osx-font-smoothing: grayscale;
  313. }
  314. .tracking-wide {
  315. letter-spacing: .05em;
  316. }
  317. .w-16 {
  318. width: 4rem;
  319. }
  320. .w-full {
  321. width: 100%;
  322. }
  323. @media (min-width: 768px) {
  324. .md\:bg-left {
  325. background-position: left;
  326. }
  327. .md\:bg-right {
  328. background-position: right;
  329. }
  330. .md\:flex {
  331. display: -webkit-box;
  332. display: -ms-flexbox;
  333. display: flex;
  334. }
  335. .md\:my-6 {
  336. margin-top: 1.5rem;
  337. margin-bottom: 1.5rem;
  338. }
  339. .md\:min-h-screen {
  340. min-height: 100vh;
  341. }
  342. .md\:pb-0 {
  343. padding-bottom: 0;
  344. }
  345. .md\:text-3xl {
  346. font-size: 1.875rem;
  347. }
  348. .md\:text-15xl {
  349. font-size: 9rem;
  350. }
  351. .md\:w-1\/2 {
  352. width: 50%;
  353. }
  354. }
  355. @media (min-width: 992px) {
  356. .lg\:bg-center {
  357. background-position: center;
  358. }
  359. }
  360. </style>
  361. </head>
  362. <body class="antialiased font-sans">
  363. <div class="md:flex min-h-screen">
  364. <div class="w-full md:w-1/2 bg-white flex items-center justify-center">
  365. <div class="max-w-sm m-8">
  366. <div class="text-black text-5xl md:text-15xl font-black">
  367. @yield('code', __('Oh no'))
  368. </div>
  369. <div class="w-16 h-1 bg-purple-light my-3 md:my-6"></div>
  370. <p class="text-grey-darker text-2xl md:text-3xl font-light mb-8 leading-normal">
  371. @yield('message')
  372. </p>
  373. <a href="{{ app('router')->has('home') ? route('home') : url('/') }}">
  374. <button class="bg-transparent text-grey-darkest font-bold uppercase tracking-wide py-3 px-6 border-2 border-grey-light hover:border-grey rounded-lg">
  375. {{ __('Go Home') }}
  376. </button>
  377. </a>
  378. </div>
  379. </div>
  380. <div class="relative pb-full md:flex md:pb-0 md:min-h-screen w-full md:w-1/2">
  381. @yield('image')
  382. </div>
  383. </div>
  384. </body>
  385. </html>