-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dad12e0
commit c490d2a
Showing
12 changed files
with
134 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
baseurl: "" | ||
baseurl: "https://rizkikadafi.github.io" | ||
url: "" | ||
defaults: | ||
- scope: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" class="scroll-smooth"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" | ||
integrity="sha384-4LISF5TTJX/fLmGSxO53rV4miRxdg84mZsxmO8Rx5jGtp/LbrixFETvWa5a6sESd" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" /> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.1/flowbite.min.css" rel="stylesheet" /> | ||
<link rel="stylesheet" href="/assets/css/main.css" /> | ||
|
||
<title>Kadafi's Blog {% if page.title %} | {{page.title}} {% endif %}</title> | ||
|
||
</head> | ||
|
||
<body class="bg-slate-50 dark:bg-slate-800 transition duration-500 lg:px-24"> | ||
{% include blog-modal-navigation.html %} | ||
<nav id="blog-nav" | ||
class="px-10 lg:px-20 bg-slate-300/70 dark:bg-slate-700/70 fixed right-0 left-0 top-0 dark:text-gray-200 z-10 py-3 lg:py-5 transition duration-300 border-slate-600 text-gray-900 | ||
after:duration-1000 ease-out after:block after:h-0.5 after:w-full after:origin-bottom-right after:scale-x-0 after:bg-slate-500 after:transition-transform after:mt-3 after:absolute after:bottom-0 after:left-0 after:rounded-md after:px-3"> | ||
<div class="hidden after:origin-bottom-left after:scale-x-100 dark:bg-slate-800/70 backdrop-blur-md"> | ||
|
||
</div> | ||
<div class=" flex justify-between items-center h-full"> | ||
<a href="{{site.baseurl}}/blog" class="font-medium text-md lg:text-xl">Kadafi's Blog</a> | ||
<div class="flex"> | ||
<ul class="hidden sm:flex *:mx-5"> | ||
{% for item in site.data.blog-navigation %} | ||
<li class="hover:underline hover:underline-offset-4"><a href="{{item.link}}">{{item.name}}</a></li> | ||
{% endfor %} | ||
</ul> | ||
<div class="*:cursor-pointer"> <i id="dark-mode" class="bi bi-moon-stars-fill mr-2 text-lg dark:hidden"></i> | ||
<i id="light-mode" class="bi bi-brightness-high-fill mr-2 text-xl hidden dark:inline-block"></i> | ||
<i data-modal-target="default-modal" data-modal-toggle="default-modal" | ||
class="bi bi-list sm:hidden text-xl"></i> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div class="content dark:text-white mt-20 mx-5 sm:mx-14 prose dark:prose-invert max-w-none"> | ||
{{content}} | ||
</div> | ||
|
||
<div id="top-btn" class="fixed right-5 bottom-5 hidden cursor-pointer z-50"> | ||
<i class="bi bi-arrow-up-circle dark:text-white text-4xl"></i> | ||
</div> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.1/flowbite.min.js"></script> | ||
<script src="/assets/js/toggle_dark.js"></script> | ||
<script src="/assets/js/blog-navbar.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
layout: archive | ||
premalink: /blog/archives | ||
title: archives | ||
--- | ||
{% for post in site.posts %} | ||
|
||
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} | ||
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %} | ||
|
||
{% if forloop.first %} | ||
<h1> {{this_year}} </h1> | ||
<ul> | ||
{% endif %} | ||
|
||
<li> | ||
<span class="">{{post.date | date: "%b %d"}}</span> | ||
- <a href="{{ post.url }}">{{ post.title }}</a> | ||
</li> | ||
|
||
{% if forloop.last %} | ||
</ul> | ||
{% else %} | ||
{% if this_year != next_year %} | ||
</ul> | ||
<h1> {{next_year}} </h1> | ||
<ul> | ||
{% endif %} | ||
{% endif %} | ||
|
||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
layout: post | ||
author: Kadafi | ||
thumbnail: /assets/image/hero1.jpg | ||
tags: linear-algebra | ||
--- | ||
|
||
A banana is an edible fruit – botanically a berry – produced by several | ||
kinds of large herbaceous flowering plants in the genus Musa. | ||
|
||
In some countries, bananas used for cooking may be called "plantains", | ||
distinguishing them from dessert bananas. The fruit is variable in size, | ||
color, and firmness, but is usually elongated and curved, with soft | ||
flesh rich in starch covered with a rind, which may be green, yellow, | ||
red, purple, or brown when ripe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
layout: post | ||
author: Kadafi | ||
thumbnail: | ||
tags: dsa | ||
--- | ||
|
||
A banana is an edible fruit – botanically a berry – produced by several | ||
kinds of large herbaceous flowering plants in the genus Musa. | ||
|
||
In some countries, bananas used for cooking may be called "plantains", | ||
distinguishing them from dessert bananas. The fruit is variable in size, | ||
color, and firmness, but is usually elongated and curved, with soft | ||
flesh rich in starch covered with a rind, which may be green, yellow, | ||
red, purple, or brown when ripe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
layout: blog | ||
permalink: /blog/tags | ||
title: tags | ||
--- | ||
|
||
<div class="px-8"> | ||
|