Skip to content

Commit dc2b8ef

Browse files
authored
Merge pull request #6 from hydephp/gallery
Add an image gallery
2 parents 584356f + d3659d9 commit dc2b8ef

17 files changed

+2910
-326
lines changed

_media/delta-compiled-vector.svg

Lines changed: 168 additions & 0 deletions
Loading

_site/404.html

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66
<meta charset="utf-8" />
77
<meta
88
name="viewport"
9-
content="width=device-width, initial-scale=1, shrink-to-fit=no"
10-
/>
9+
content="width=device-width, initial-scale=1, shrink-to-fit=no" />
1110

1211
<!-- Fonts -->
1312
<link rel="dns-prefetch" href="//fonts.gstatic.com" />
1413
<link
1514
href="https://fonts.googleapis.com/css?family=Nunito"
1615
rel="stylesheet"
17-
type="text/css"
18-
/>
16+
type="text/css" />
1917

2018
<!-- Styles -->
2119
<style>
@@ -473,8 +471,7 @@
473471
<body class="antialiased font-sans">
474472
<div class="md:flex min-h-screen">
475473
<div
476-
class="w-full md:w-1/2 bg-white flex items-center justify-center"
477-
>
474+
class="w-full md:w-1/2 bg-white flex items-center justify-center">
478475
<div class="max-w-sm m-8">
479476
<div class="text-black text-5xl md:text-15xl font-black">
480477
404
@@ -483,30 +480,26 @@
483480
<div class="w-16 h-1 bg-purple-light my-3 md:my-6"></div>
484481

485482
<p
486-
class="text-grey-darker text-2xl md:text-3xl font-light mb-8 leading-normal"
487-
>
483+
class="text-grey-darker text-2xl md:text-3xl font-light mb-8 leading-normal">
488484
Sorry, the page you are looking for could not be found.
489485
</p>
490486

491487
<a href="index.html">
492488
<button
493-
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"
494-
>
489+
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">
495490
Go Home
496491
</button>
497492
</a>
498493
</div>
499494
</div>
500495

501496
<div
502-
class="relative pb-full md:flex md:pb-0 md:min-h-screen w-full md:w-1/2"
503-
>
497+
class="relative pb-full md:flex md:pb-0 md:min-h-screen w-full md:w-1/2">
504498
<div
505499
style="
506500
background-image: url('https://cdn.jsdelivr.net/gh/LaravelCollective/errors@1.0/src/publish/svg/404.svg');
507501
"
508-
class="absolute pin bg-cover bg-no-repeat md:bg-left lg:bg-center"
509-
></div>
502+
class="absolute pin bg-cover bg-no-repeat md:bg-left lg:bg-center"></div>
510503
</div>
511504

512505
<footer>

_site/gallery.html

Lines changed: 750 additions & 0 deletions
Large diffs are not rendered by default.

_site/index.html

Lines changed: 34 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,20 @@
3737
<nav
3838
id="main-navigation"
3939
class="flex flex-row items-center justify-between w-full h-16 p-4 overflow-hidden shadow-lg sm:shadow-xl md:shadow-none z-20"
40-
aria-label="Primary Navigation Menu"
41-
>
40+
aria-label="Primary Navigation Menu">
4241
<header id="navigation-brand">
4342
<a href="index.html" class="font-bold px-4"> HydePHP </a>
4443
</header>
4544

4645
<button
4746
class="navigation-toggle-button md:hidden"
4847
title="Open navigation menu"
49-
onClick="showNavigation()"
50-
>
48+
onClick="showNavigation()">
5149
<svg
5250
xmlns="http://www.w3.org/2000/svg"
5351
height="24"
5452
viewBox="0 0 24 24"
55-
width="24"
56-
>
53+
width="24">
5754
<path d="M0 0h24v24H0z" fill="none" />
5855
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" />
5956
</svg>
@@ -68,44 +65,41 @@
6865
<li>
6966
<a href="master/index.html">Docs</a>
7067
</li>
68+
<li>
69+
<a href="gallery.html">Gallery</a>
70+
</li>
7171
</ul>
7272
</nav>
7373

7474
<nav
7575
id="mobile-navigation"
7676
class="hidden flex-col absolute top-0 w-full shadow-lg sm:shadow-xl bg-white z-30"
77-
aria-label="Primary Navigation Menu"
78-
>
77+
aria-label="Primary Navigation Menu">
7978
<div
80-
class="w-full flex flex-row items-center justify-between p-4 h-16 border-b"
81-
>
79+
class="w-full flex flex-row items-center justify-between p-4 h-16 border-b">
8280
<header id="navigation-brand">
8381
<a href="index.html" class="font-bold px-4"> HydePHP </a>
8482
</header>
8583

8684
<button
8785
class="navigation-toggle-button"
8886
title="Close navigation menu"
89-
onClick="hideNavigation()"
90-
>
87+
onClick="hideNavigation()">
9188
<svg
9289
xmlns="http://www.w3.org/2000/svg"
9390
height="24"
9491
viewBox="0 0 24 24"
95-
width="24"
96-
>
92+
width="24">
9793
<path d="M0 0h24v24H0z" fill="none" />
9894
<path
99-
d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
100-
/>
95+
d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
10196
</svg>
10297
</button>
10398
</div>
10499

105100
<ul
106101
id="mobile-navigation-links"
107-
class="block w-full p-4 overflow-y-auto"
108-
>
102+
class="block w-full p-4 overflow-y-auto">
109103
<li class="py-2 list-item list-item-active">
110104
<a
111105
href="index.html"
@@ -119,6 +113,11 @@
119113
>Docs</a
120114
>
121115
</li>
116+
<li class="py-2 list-item">
117+
<a href="gallery.html" class="hover:text-indigo-500"
118+
>Gallery</a
119+
>
120+
</li>
122121
</ul>
123122
</nav>
124123

@@ -153,11 +152,9 @@
153152

154153
<section id="content">
155154
<header
156-
class="w-screen pb-20 pt-32 lg:pt-44 flex flex-col text-center items-center justify-center min-h-[75vh]"
157-
>
155+
class="w-screen pb-20 pt-32 lg:pt-44 flex flex-col text-center items-center justify-center min-h-[75vh]">
158156
<h1
159-
class="text-6xl md:text-7xl text-gray-800 font-black leading-7 md:leading-10"
160-
>
157+
class="text-6xl md:text-7xl text-gray-800 font-black leading-7 md:leading-10">
161158
HydePHP
162159
</h1>
163160
<div class="max-w-3xl p-8 mt-4">
@@ -183,8 +180,7 @@
183180
<section id="posts" class="mx-auto max-w-7xl py-16 px-8 lg:mt-8">
184181
<header class="lg:mb-12 xl:mb-16">
185182
<h2
186-
class="text-3xl text-left opacity-75 leading-10 tracking-tight font-extrabold sm:leading-none mb-8 md:mb-12 md:text-4xl md:text-center lg:text-5xl"
187-
>
183+
class="text-3xl text-left opacity-75 leading-10 tracking-tight font-extrabold sm:leading-none mb-8 md:mb-12 md:text-4xl md:text-center lg:text-5xl">
188184
Latest Posts
189185
</h2>
190186
</header>
@@ -193,20 +189,16 @@
193189
<article
194190
class="mt-4 mb-8"
195191
itemscope
196-
itemtype="https://schema.org/Article"
197-
>
192+
itemtype="https://schema.org/Article">
198193
<meta
199194
itemprop="identifier"
200-
content="creating-a-new-hyde-site-from-scratch"
201-
/>
195+
content="creating-a-new-hyde-site-from-scratch" />
202196

203197
<header>
204198
<a
205-
href="posts/creating-a-new-hyde-site-from-scratch.html"
206-
>
199+
href="posts/creating-a-new-hyde-site-from-scratch.html">
207200
<h2
208-
class="text-2xl font-bold opacity-75 hover:opacity-100"
209-
>
201+
class="text-2xl font-bold opacity-75 hover:opacity-100">
210202
Creating a new Hyde site from scratch
211203
</h2>
212204
</a>
@@ -220,8 +212,7 @@
220212
<span
221213
itemprop="author"
222214
itemscope
223-
itemtype="https://schema.org/Person"
224-
>
215+
itemtype="https://schema.org/Person">
225216
<span class="opacity-75">by</span>
226217
<span itemprop="name"> Caen </span>
227218
</span>
@@ -243,18 +234,15 @@
243234
<article
244235
class="mt-4 mb-8"
245236
itemscope
246-
itemtype="https://schema.org/Article"
247-
>
237+
itemtype="https://schema.org/Article">
248238
<meta
249239
itemprop="identifier"
250-
content="why-static-sites"
251-
/>
240+
content="why-static-sites" />
252241

253242
<header>
254243
<a href="posts/why-static-sites.html">
255244
<h2
256-
class="text-2xl font-bold opacity-75 hover:opacity-100"
257-
>
245+
class="text-2xl font-bold opacity-75 hover:opacity-100">
258246
Why static sites?
259247
</h2>
260248
</a>
@@ -268,8 +256,7 @@
268256
<span
269257
itemprop="author"
270258
itemscope
271-
itemtype="https://schema.org/Person"
272-
>
259+
itemtype="https://schema.org/Person">
273260
<span class="opacity-75">by</span>
274261
<span itemprop="name"> Caen </span>
275262
</span>
@@ -290,20 +277,16 @@
290277
<article
291278
class="mt-4 mb-8"
292279
itemscope
293-
itemtype="https://schema.org/Article"
294-
>
280+
itemtype="https://schema.org/Article">
295281
<meta
296282
itemprop="identifier"
297-
content="creating-a-static-html-post-using-hydephp"
298-
/>
283+
content="creating-a-static-html-post-using-hydephp" />
299284

300285
<header>
301286
<a
302-
href="posts/creating-a-static-html-post-using-hydephp.html"
303-
>
287+
href="posts/creating-a-static-html-post-using-hydephp.html">
304288
<h2
305-
class="text-2xl font-bold opacity-75 hover:opacity-100"
306-
>
289+
class="text-2xl font-bold opacity-75 hover:opacity-100">
307290
Creating a static HTML post using HydePHP
308291
</h2>
309292
</a>
@@ -317,8 +300,7 @@
317300
<span
318301
itemprop="author"
319302
itemscope
320-
itemtype="https://schema.org/Person"
321-
>
303+
itemtype="https://schema.org/Person">
322304
<span class="opacity-75">by</span>
323305
<span itemprop="name"> Caen </span>
324306
</span>

_site/master/console-commands.html

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@
3737
<section id="content">
3838
<nav
3939
id="documentation-navigation"
40-
class="md:hidden fixed top-0 w-screen h-16 p-4 shadow-lg sm:shadow-xl overflow-hidden bg-white z-30"
41-
>
40+
class="md:hidden fixed top-0 w-screen h-16 p-4 shadow-lg sm:shadow-xl overflow-hidden bg-white z-30">
4241
<div
43-
class="flex flex-row items-center justify-between h-full px-4"
44-
>
42+
class="flex flex-row items-center justify-between h-full px-4">
4543
<a href="../docs/index.html" class="font-bold">
4644
HydePHP Docs
4745
</a>
@@ -51,44 +49,37 @@
5149
<button
5250
class="sidebar-toggle-button open"
5351
title="Open sidebar menu"
54-
onClick="showSidebar()"
55-
>
52+
onClick="showSidebar()">
5653
<svg
5754
xmlns="http://www.w3.org/2000/svg"
5855
height="24"
5956
viewBox="0 0 24 24"
60-
width="24"
61-
>
57+
width="24">
6258
<path d="M0 0h24v24H0z" fill="none" />
6359
<path
64-
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
65-
/>
60+
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" />
6661
</svg>
6762
</button>
6863
<button
6964
class="sidebar-toggle-button close"
7065
title="Close sidebar menu"
71-
onClick="hideSidebar()"
72-
>
66+
onClick="hideSidebar()">
7367
<svg
7468
xmlns="http://www.w3.org/2000/svg"
7569
height="24"
7670
viewBox="0 0 24 24"
77-
width="24"
78-
>
71+
width="24">
7972
<path d="M0 0h24v24H0z" fill="none" />
8073
<path
81-
d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
82-
/>
74+
d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />
8375
</svg>
8476
</button>
8577
</div>
8678
</div>
8779
</nav>
8880
<aside
8981
id="documentation-sidebar"
90-
class="w-64 h-screen hidden md:flex flex-col fixed top-0 left-0 shadow-md overflow-hidden bg-white z-20"
91-
>
82+
class="w-64 h-screen hidden md:flex flex-col fixed top-0 left-0 shadow-md overflow-hidden bg-white z-20">
9283
<header class="h-16 p-4 border-b flex items-center">
9384
<h2 class="font-bold opacity-75 hover:opacity-100 w-fit">
9485
<a href="../master/index.html"> HydePHP Docs </a>
@@ -97,8 +88,7 @@ <h2 class="font-bold opacity-75 hover:opacity-100 w-fit">
9788
<nav
9889
id="sidebar-navigation"
9990
class="p-4 overflow-y-auto"
100-
aria-label="Secondary Navigation Menu"
101-
>
91+
aria-label="Secondary Navigation Menu">
10292
<ul>
10393
<li class="py-2 list-item">
10494
<a
@@ -146,14 +136,12 @@ <h2 class="font-bold opacity-75 hover:opacity-100 w-fit">
146136
</aside>
147137
<main
148138
id="documentation-content"
149-
class="mx-auto max-w-7xl py-16 px-8 mt-8 md:mt-0 md:absolute md:left-72 xl:left-80"
150-
>
139+
class="mx-auto max-w-7xl py-16 px-8 mt-8 md:mt-0 md:absolute md:left-72 xl:left-80">
151140
<article
152141
id="documentation-article"
153142
itemscope
154143
itemtype="https://schema.org/Article"
155-
class="mx-auto prose max-w-3xl torchlight-enabled"
156-
>
144+
class="mx-auto prose max-w-3xl torchlight-enabled">
157145
<div itemprop="articleBody">
158146
<h1>Console Commands</h1>
159147
<p>
@@ -461,8 +449,7 @@ <h2>
461449
id="sidebar-backdrop"
462450
class="hidden"
463451
title="Click to close sidebar"
464-
onClick="hideSidebar()"
465-
></div>
452+
onClick="hideSidebar()"></div>
466453
</section>
467454
</body>
468455
</html>

0 commit comments

Comments
 (0)