illustrated-layout.blade.php 11 KB

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