Skip to content

Commit ef9c49d

Browse files
committed
wip
1 parent c9ee1e8 commit ef9c49d

File tree

6 files changed

+31
-7
lines changed

6 files changed

+31
-7
lines changed

resources/js/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import php from 'highlight.js/lib/languages/php';
33
import shell from 'highlight.js/lib/languages/shell';
44
import bash from 'highlight.js/lib/languages/bash';
55
import json from 'highlight.js/lib/languages/json';
6+
import diff from 'highlight.js/lib/languages/diff';
67

78
import 'alpinejs';
89
import { listen } from "quicklink";
@@ -16,6 +17,7 @@ hljs.registerLanguage('php', php);
1617
hljs.registerLanguage('shell', shell);
1718
hljs.registerLanguage('bash', bash);
1819
hljs.registerLanguage('json', json);
20+
hljs.registerLanguage('diff', diff);
1921
hljs.configure({
2022
classPrefix: 'hljs-'
2123
});

resources/sass/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ a {
99
@apply .text-blue-600;
1010

1111
&:hover {
12-
@apply .text-purple-800;
12+
@apply .text-blue-700;
1313
}
1414
}
1515

resources/views/docs.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<div class="relative docs-main DocSearch-content w-full px-3 lg:ml-10 xl:ml-16 lg:px-0 mt-10 mb-20">
1111
<div class="absolute top-0 right-0 h-8 w-100 lg:mt-12 xl:mt-12 hidden lg:block">
12-
<a href="https://github.com/pestphp/docs/edit/master/{{ $page }}.md">Edit this page →</a>
12+
<a href="https://github.com/laravel-zero/docs/edit/master/{{ $page }}.md">Edit this page →</a>
1313
</div>
1414

1515
{!! $body !!}

resources/views/layouts/app.blade.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<x-app-layout layout="base" :title="$attributes->get('title')"
22
:description="$attributes->get('description')"
3-
class="text-cool-gray-800 leading-normal lg:px-2 font-sans"
3+
class="text-cool-gray-800 leading-normal font-sans"
44
x-data="AppOffCanvasMenu()">
55
<x-slot name="head">
66
<link rel="preconnect" href="https://fonts.gstatic.com">
@@ -9,7 +9,9 @@ class="text-cool-gray-800 leading-normal lg:px-2 font-sans"
99

1010
@include('_partials.nav')
1111

12-
{{ $slot }}
12+
<div class="lg:px-2">
13+
{{ $slot }}
14+
</div>
1315

1416
<x-slot name="footer">
1517
{{ $footer ?? '' }}

resources/views/layouts/base.blade.php

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@
4141

4242
{{ $footer ?? "" }}
4343

44+
<footer class="bg-gray-800 text-gray-200 text-center text-sm mt-4 py-4" role="contentinfo">
45+
<ul class="flex flex-col md:flex-row justify-center list-none my-0">
46+
<li class="md:mr-2">
47+
&copy; <a href="https://laravel-zero.com" class="text-white font-bold hover:text-white"
48+
title="Laravel Zero website">Laravel Zero</a> {{ date('Y') }}.
49+
</li>
50+
51+
<li>
52+
Built with <a href="https://laravel.com" class="text-white font-bold hover:text-white" title="Laravel">Laravel</a>
53+
and <a href="https://tailwindcss.com" class="text-white font-bold hover:text-white"
54+
title="Tailwind CSS, a utility-first CSS framework">Tailwind CSS</a>.
55+
Logo by <a href="https://twitter.com/caneco" class="text-white font-bold hover:text-white" title="Caneco">Caneco</a>.
56+
</li>
57+
</ul>
58+
</footer>
59+
4460
@stack('scripts')
4561

4662
<script defer src="{{ mix('js/app.js') }}"></script>
@@ -49,7 +65,11 @@
4965
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-61404619-3"></script>
5066
<script>
5167
window.dataLayer = window.dataLayer || [];
52-
function gtag(){dataLayer.push(arguments);}
68+
69+
function gtag() {
70+
dataLayer.push(arguments);
71+
}
72+
5373
gtag('js', new Date());
5474
gtag('config', 'UA-61404619-3');
5575
</script>

resources/views/welcome.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ class="flex flex-col justify-between min-h-screen bg-gray-100 text-gray-900 lead
1515
<div class="flex flex-wrap justify-center lg:justify-start md:space-x-4 my-8 text-sm uppercase">
1616
<a
1717
href="/docs/introduction"
18-
class="w-full md:w-auto transition duration-300 bg-blue-500 hover:bg-blue-600 font-semibold tracking-wider text-white hover:text-white rounded-full py-3 px-6"
18+
class="w-full md:w-auto transition duration-200 bg-blue-500 hover:bg-blue-600 font-semibold tracking-wider text-white hover:text-white rounded-full py-3 px-6"
1919
>
2020
Get Started
2121
</a>
2222

2323
<a
2424
rel="noopener"
2525
href="https://github.com/laravel-zero/laravel-zero"
26-
class="w-full md:w-auto transition duration-300 bg-gray-300 hover:bg-gray-400 text-gray-600 font-semibold tracking-wider rounded-full py-3 px-6 mt-4 md:mt-0"
26+
class="w-full md:w-auto transition duration-200 bg-gray-300 hover:bg-gray-400 hover:text-white text-gray-600 font-semibold tracking-wider rounded-full py-3 px-6 mt-4 md:mt-0"
2727
target="_blank"
2828
>
2929
View on Github

0 commit comments

Comments
 (0)