|
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 | 7 | <meta http-equiv="X-UA-Compatible" content="ie=edge">
|
8 | 8 | <title>{{ env('APP_NAME') }} - Changelog</title>
|
9 |
| - <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> |
10 |
| - < link rel= "stylesheet" href= "https://unpkg.com/@tailwindcss/[email protected]/dist/typography.min.css" /> |
| 9 | + <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> |
| 10 | + < link rel= "stylesheet" href= "https://cdn.jsdelivr.net/npm/@tailwindcss/[email protected]/dist/typography.min.css" /> |
11 | 11 | </head>
|
12 | 12 |
|
13 | 13 | <body>
|
14 |
| - <div id="__next"> |
15 |
| - <div class="antialiased text-gray-900"> |
16 |
| - <div class="px-4 py-10 max-w-3xl mx-auto sm:px-6 sm:py-12 lg:max-w-4xl lg:py-16 lg:px-8 xl:max-w-6xl"> |
17 |
| - <article> |
18 |
| - <div class="space-y-10 sm:space-y-12 lg:space-y-20 xl:space-y-24"> |
19 |
| - <div class="space-y-10 sm:space-y-0 sm:flex sm:items-center sm:justify-between"> |
20 |
| - <h1 class="text-4xl font-bold">{{ env('APP_NAME') }} - Changelog</h1> |
21 |
| - </div> |
22 |
| - <div class="prose prose-lg mx-auto"> |
23 |
| - @foreach($changelog as $date => $group) |
24 |
| - <h2>{{ $date }}</h2> |
25 |
| - @foreach($group as $groupName => $commits) |
26 |
| - <h3>{{ $groupName }}</h3> |
27 |
| - |
28 |
| - <ul> |
29 |
| - @foreach($commits as $commit) |
30 |
| - <li><strong>{{ $commit['scope'] }}</strong>: {{ $commit['subject'] }}</li> |
31 |
| - @endforeach |
32 |
| - </ul> |
33 |
| - @endforeach |
34 |
| - @endforeach |
35 |
| - |
36 |
| - |
37 |
| - </div> |
38 |
| - @if($history) |
39 |
| - <div class="space-y-10 sm:space-y-0 sm:flex sm:items-center sm:justify-between"> |
40 |
| - <h1 class="text-4xl font-bold">History</h1> |
41 |
| - </div> |
42 |
| - <div class="prose mx-auto"> |
43 |
| - {!! $history !!} |
44 |
| - </div> |
45 |
| - @endif |
| 14 | + |
| 15 | + <div class="min-h-screen bg-gray-100"> |
| 16 | + <header class="bg-white shadow-sm"> |
| 17 | + <div class="max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8"> |
| 18 | + <h1 class="text-lg leading-6 font-semibold text-gray-900"> |
| 19 | + <h1 class="text-4xl font-bold">{{ env('APP_NAME') }} - Changelog</h1> |
| 20 | + </h1> |
| 21 | + </div> |
| 22 | + </header> |
| 23 | + <div class="py-6"> |
| 24 | + <div class="max-w-3xl mx-auto sm:px-6 lg:max-w-7xl lg:px-8 lg:grid lg:grid-cols-12 lg:gap-8"> |
| 25 | + |
| 26 | + <main class="lg:col-span-8"> |
| 27 | + <div class="bg-white rounded-lg shadow px-5 py-6 sm:px-6"> |
| 28 | + <article> |
| 29 | + <div class="space-y-10 sm:space-y-12 lg:space-y-20 xl:space-y-24"> |
| 30 | + |
| 31 | + <div class="prose prose-lg mx-auto"> |
| 32 | + @foreach($changelog as $date => $group) |
| 33 | + <h2>{{ $date }}</h2> |
| 34 | + @foreach($group as $groupName => $commits) |
| 35 | + <h3>{{ $groupName }}</h3> |
| 36 | + |
| 37 | + <ul> |
| 38 | + @foreach($commits as $commit) |
| 39 | + <li><strong>{{ $commit['scope'] }}</strong>: {{ $commit['subject'] }}</li> |
| 40 | + @endforeach |
| 41 | + </ul> |
| 42 | + @endforeach |
| 43 | + @endforeach |
| 44 | + |
| 45 | + |
| 46 | + </div> |
| 47 | + @if($history) |
| 48 | + <div class="space-y-10 sm:space-y-0 sm:flex sm:items-center sm:justify-between"> |
| 49 | + <h1 class="text-4xl font-bold">History</h1> |
| 50 | + </div> |
| 51 | + <div class="prose mx-auto"> |
| 52 | + {!! $history !!} |
| 53 | + </div> |
| 54 | + @endif |
| 55 | + </div> |
| 56 | + </article> |
| 57 | + </div> |
| 58 | + |
| 59 | + </main> |
| 60 | + <aside class="hidden lg:block lg:col-span-4"> |
| 61 | + <div class="sticky top-6 space-y-4"> |
| 62 | + <section aria-labelledby="announcements-title"> |
| 63 | + <div class="rounded-lg bg-white overflow-hidden shadow"> |
| 64 | + <div class="p-6"> |
| 65 | + <h2 class="text-lg font-medium text-gray-900" id="announcements-title"> |
| 66 | + Releases |
| 67 | + </h2> |
| 68 | + <div class="mt-6"> |
| 69 | + <ul class="-my-5 divide-y divide-gray-200"> |
| 70 | + @foreach($releases as $release) |
| 71 | + <li class="py-5"> |
| 72 | + <div class="relative "> |
| 73 | + <h3 class="text-sm font-semibold text-gray-800"> |
| 74 | + |
| 75 | + <!-- Extend touch target to entire panel --> |
| 76 | + |
| 77 | + {{ $release['name'] }} |
| 78 | + |
| 79 | + |
| 80 | + </h3> |
| 81 | + <time datetime="2021-01-27T16:35" |
| 82 | + class="flex-shrink-0 whitespace-nowrap text-sm text-gray-500">{{ $release['created_at'] }}</time> |
| 83 | + <div class="mt-1 text-sm text-gray-600 prose"> |
| 84 | + {!! $release['body'] !!} |
| 85 | + </div> |
| 86 | + </div> |
| 87 | + </li> |
| 88 | + @endforeach |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + </ul> |
| 95 | + </div> |
| 96 | + |
| 97 | + </div> |
| 98 | + </div> |
| 99 | + </section> |
| 100 | + |
| 101 | + |
46 | 102 | </div>
|
47 |
| - </article> |
| 103 | + </aside> |
48 | 104 | </div>
|
49 | 105 | </div>
|
50 | 106 | </div>
|
| 107 | + |
51 | 108 | </body>
|
52 | 109 |
|
53 | 110 | </html>
|
0 commit comments