Skip to content

Commit 9455e2c

Browse files
author
KHOUBZA Younes
committed
Wip
1 parent 9de268b commit 9455e2c

File tree

11 files changed

+285672
-47
lines changed

11 files changed

+285672
-47
lines changed

Gemfile

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
11
source "https://rubygems.org"
2-
# Hello! This is where you manage which Jekyll version is used to run.
3-
# When you want to use a different version, change it below, save the
4-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5-
#
6-
# bundle exec jekyll serve
7-
#
8-
# This will help ensure the proper Jekyll version is running.
9-
# Happy Jekylling!
2+
103
gem "jekyll", "~> 4.1.1"
11-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
124
gem "minima", "~> 2.5"
135
gem "kramdown", ">= 2.3.1"
14-
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
15-
# uncomment the line below. To upgrade, run `bundle update github-pages`.
16-
# gem "github-pages", group: :jekyll_plugins
17-
# If you have any plugins, put them here!
6+
187
group :jekyll_plugins do
198
gem "jekyll-feed", "~> 0.12"
209
gem "jekyll-sitemap"
2110
gem "jekyll-redirect-from"
2211
end
2312

24-
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
25-
# and associated library.
2613
platforms :mingw, :x64_mingw, :mswin, :jruby do
2714
gem "tzinfo", "~> 1.2"
2815
gem "tzinfo-data"
2916
end
3017

31-
# Performance-booster for watching directories on Windows
3218
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
3319

3420

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defaults:
88
values:
99
layout: "default"
1010
published_at: "2020-11-28"
11-
updated_at: "2020-11-28"
11+
updated_at: "2021-10-05"
1212

1313
exclude:
1414
- "*.config.js"

_layouts/after-widget.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
8-
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
9-
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
7+
<link rel="icon" type="image/png" href="/static/favicon.png"/>
108
<title>{{ page.title }} - {{ site.data.project.title }}</title>
119
{% if site.data.project.description %}
1210
<meta name="description" content="{{ site.data.project.description }}" />
13-
<meta name="google-site-verification" content="t3LQA1pQ-pzDXBua25DxF7oJ9ku5RcIX-mtQoG2r3pQ" />
1411
<link href="https://fonts.googleapis.com/css?family=Raleway|Varela+Round" rel="stylesheet" />
1512
{% endif %}
1613
{% unless site.data.dev.dev_mode %}
@@ -28,7 +25,6 @@
2825
<base href="https://php-flasher.github.io/" />
2926
{% endunless %}
3027
<link rel="stylesheet" href="/dist/index.css"/>
31-
<script data-ad-client="ca-pub-9317139815225070" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
3228
</head>
3329
<body class="bg-grey-lighter min-h-screen bg-squared leading-tight leader">
3430
{% include size-helper.html %}

_layouts/default.html

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
{% endunless %}
1414
<link rel="stylesheet" href="/dist/index.css"/>
1515
<link rel="icon" type="image/png" href="/static/favicon.png"/>
16-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/styles/monokai.min.css" integrity="sha512-z8wQkuDRFwCBfoj7KOiu1MECaRVoXx6rZQWL21x0BsVVH7JkqCp1Otf39qve6CrCycOOL5o9vgfII5Smds23rg==" crossorigin="anonymous" />
17-
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/styles/xcode.min.css"/>-->
16+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/styles/github-dark-dimmed.min.css"/>
1817
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T4D78SM7TC"></script>
1918
<script>
2019
window.dataLayer = window.dataLayer || [];
@@ -26,29 +25,25 @@
2625
gtag('js', new Date());
2726
gtag('config', 'G-T4D78SM7TC');
2827
</script>
29-
<script data-ad-client="ca-pub-9317139815225070" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
3028
</head>
3129
<body class="flex flex-col min-h-screen min-w-full leading-normal bg-gray-50 overflow-x-hidden">
3230

3331
<div class="h-16 w-screen bg-white border-b border-indigo-200">
3432
<div class="lg:container px-4 mx-auto py-2">
3533
<div class="flex items-center flex-no-shrink pt-1">
3634
<a href="/" class="flex items-center">
37-
<img class="fill-current h-10 w-10 mr-2" width="30" height="30" src="/static/logo.png"/>
35+
<img class="fill-current h-10 w-10 mr-2" width="30" height="30" src="/static/logo.png" />
3836
<span class="pr-2 font-normal font-normal leading-none text-3xl text-indigo-900 hidden sm:block">
39-
PHP<span class="text-indigo-500">Flasher</span><sup class="text-xs relative text-grey-dark"
40-
style="top: -20px;">{{ site.data.project.version }}</sup>
41-
</span>
37+
PHP<span class="text-indigo-500">Flasher</span><sup class="text-xs relative text-grey-dark" style="top: -20px;">{{ site.data.project.version }}</sup>
38+
</span>
4239
</a>
4340
<div class="flex-grow"></div>
4441
<a href="#" id="menu-toggle"
4542
class="block lg:hidden h-8 w-8 border p-1 border-transparent text-gray-200 hover:text-grey menu-closed">
46-
<svg class="menu-closed:shown fill-current h-full w-full" xmlns="http://www.w3.org/2000/svg"
47-
viewBox="0 0 20 20">
43+
<svg class="menu-closed:shown fill-current h-full w-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
4844
<path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"/>
4945
</svg>
50-
<svg class="menu-closed:hidden fill-current h-full w-full" xmlns="http://www.w3.org/2000/svg"
51-
viewBox="0 0 20 20">
46+
<svg class="menu-closed:hidden fill-current h-full w-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
5247
<path d="M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"/>
5348
</svg>
5449
</a>
@@ -63,8 +58,7 @@ <h2 class="text-sm leading-loose tracking-wide text-indigo-400 uppercase">{{ sec
6358
<ul class="list-reset mb-8">
6459
{% for link in section[1] %}
6560
<li class="{% if page.url == link[1] %}bg-indigo-500{% endif %} px-6 rounded">
66-
<a class="leading-loose text-md w-full {% if page.url == link[1] %}text-white{% else %}text-gray-900{% endif %}"
67-
href="{{ link[1] }}">{{ link[0] }}</a>
61+
<a class="leading-loose text-md w-full {% if page.url == link[1] %}text-white{% else %}text-gray-900{% endif %}" href="{{ link[1] }}">{{ link[0] }}</a>
6862
</li>
6963
{% endfor %}
7064
</ul>
@@ -94,10 +88,10 @@ <h1 class="mb-1">
9488

9589
{% include compact-footer.html %}
9690
<script src="/static/menu.js" type="application/javascript"></script>
97-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/highlight.min.js"></script>
98-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/languages/php.min.js"></script>
99-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/languages/bash.min.js"></script>
100-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/languages/twig.min.js"></script>
91+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/highlight.min.js"></script>
92+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/languages/php.min.js"></script>
93+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/languages/bash.min.js"></script>
94+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/languages/twig.min.js"></script>
10195
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js"></script>
10296
<script src="/static/flasher/flasher.js"></script>
10397
<script>

_layouts/leader.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,13 @@ <h2 class="text-3xl text-indigo-600 leading-tight mb-2 flex">
308308

309309
tag.setAttribute('src', 'https://cdn.jsdelivr.net/npm/@flasher/flasher@0.2.2/dist/flasher.min.js');
310310
tag.setAttribute('type', 'text/javascript');
311-
tag.onload = flasherRender
311+
tag.onload = flasherRender;
312312

313313
document.body.appendChild(tag);
314314
} else {
315315
document.addEventListener('DOMContentLoaded', function() {
316-
flasherRender()
317-
})
316+
flasherRender();
317+
});
318318
}
319319
</script>
320320
</body>

assets/index.pcss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@tailwind base;
2-
@tailwind components;
32
@tailwind utilities;
43

54
hr {

0 commit comments

Comments
 (0)