|
3 | 3 | permalink: "/"
|
4 | 4 | ---
|
5 | 5 |
|
6 |
| -<div class="bg-gray-700 md:flex md:flex-row md:items-center md:justify-center md:h-screen"> |
7 |
| - <div class="max-w-lg p-8 md:order-last"> |
8 |
| - <h1 class="mt-8 text-4xl text-gray-300">Random inspiration</h1> |
9 |
| - <p class="mb-8 text-2xl text-gray-300">from Jekyll + Netlify functions</p> |
10 |
| - <div x-data="quote()" x-init="fetchQuote()"> |
11 |
| - <template x-if="isLoaded()"> |
12 |
| - <template x-if="success"> |
13 |
| - <p class="py-2 pl-4 my-2 text-gray-300 border-l-2 border-gray-300 font-display" x-text="quote"> |
14 |
| - </p> |
15 |
| - <span class="text-xs"> |
16 |
| - <img src="https://theysaidso.com/branding/theysaidso.png" alt="theysaidso.com" |
17 |
| - class="inline w-4 h-4" /> |
18 |
| - <a href="https://theysaidso.com" title="Powered by quotes from theysaidso.com" |
19 |
| - class="inline text-white"> |
20 |
| - They Said So ® |
21 |
| - </a> |
22 |
| - </span> |
| 6 | +<div class="bg-gray-700"> |
| 7 | + <div class="container mx-auto md:flex md:flex-row md:items-center md:justify-center md:h-screen"> |
| 8 | + <div class="w-1/2 max-w-lg p-8 md:order-last"> |
| 9 | + <h1 class="mt-8 text-4xl leading-none text-gray-300 font-display">Random inspiration</h1> |
| 10 | + <p class="mb-8 text-2xl leading-tight text-gray-300 font-display">from Jekyll + Netlify functions</p> |
| 11 | + <div x-data="quote()" x-init="fetchQuote()"> |
| 12 | + <template x-if="isLoaded()"> |
| 13 | + <template x-if="success"> |
| 14 | + <p class="py-2 pl-4 my-2 text-orange-300 border-l-4 border-orange-300" x-text="quote"> |
| 15 | + </p> |
| 16 | + <span class="text-xs text-gray-300"> |
| 17 | + Quote from |
| 18 | + <img src="https://theysaidso.com/branding/theysaidso.png" alt="theysaidso.com" |
| 19 | + class="inline w-4 h-4" /> |
| 20 | + <a href="https://theysaidso.com" title="Powered by quotes from theysaidso.com" |
| 21 | + class="inline text-gray-300"> |
| 22 | + They Said So® |
| 23 | + </a> |
| 24 | + </span> |
| 25 | + </template> |
| 26 | + <template x-if="!success"> |
| 27 | + <p class="py-2 my-2 text-sm text-gray-300 text-red-300" x-text="quote"> |
| 28 | + </p> |
| 29 | + </template> |
23 | 30 | </template>
|
24 |
| - <template x-if="!success"> |
25 |
| - <p class="py-2 my-2 text-sm text-gray-300 text-red-300 font-display" x-text="quote"> |
| 31 | + <template x-if="!isLoaded()"> |
| 32 | + <p class="py-2 my-2 text-sm text-gray-300"> |
| 33 | + ... |
26 | 34 | </p>
|
27 | 35 | </template>
|
28 |
| - </template> |
29 |
| - <template x-if="!isLoaded()"> |
30 |
| - <p class="py-2 my-2 text-sm text-gray-300"> |
31 |
| - ... |
32 |
| - </p> |
33 |
| - </template> |
34 |
| - </div> |
| 36 | + </div> |
35 | 37 |
|
36 |
| - </div> |
37 |
| - <div class="p-8"> |
38 |
| - <img src="/assets/landscape.svg" alt="landscape"> |
| 38 | + </div> |
| 39 | + <div class="w-1/2 max-w-sm p-8"> |
| 40 | + <img src="/assets/landscape.svg" alt="landscape"> |
| 41 | + </div> |
39 | 42 | </div>
|
40 | 43 | </div>
|
41 | 44 |
|
|
0 commit comments