Skip to content

Commit

Permalink
favicons added to all pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nimeshaperi committed Oct 15, 2024
1 parent af2dac0 commit 537b698
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 146 deletions.
19 changes: 19 additions & 0 deletions public/first-principles.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>First Principles</title>
<!-- Favicon Lanka Wiki -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="assets/icons/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="assets/icons/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="assets/icons/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />

<!-- Font Awesome -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
Expand Down Expand Up @@ -41,6 +58,7 @@






<nav id="header-section">
Expand Down Expand Up @@ -140,6 +158,7 @@ <h2>Content</h2>







Expand Down
221 changes: 75 additions & 146 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,154 +36,83 @@
<link rel="stylesheet" href="styles/output.css" />
</head>
<body id="introduction">
<nav id="header-section">
<h2>Content</h2>
<div>
<div id="important-links">
<a class="home-link" href="/index.html">🏠 Introduction</a>

<nav id="header-section">
<h2>Content</h2>
<div>
<div id="important-links">
<a class="home-link" href="/index.html">🏠 Introduction</a>

<a class="home-link" href="/first-principles.html"
>🌱 First Principles</a
>
<a class="home-link" href="/first-principles.html">🌱 First Principles</a>

<a class="home-link" href="/sources.html">🔎 Sources</a>
</div>
<hr />
<br />

<div class="crop-category">
<button>
<p>Flowers</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/flowers/cosmos-flower.html">Cosmos Flower</a></li>
<li><a href="/flowers/jasmine.html">Jasmine</a></li>
<li><a href="/flowers/lavender.html">Lavender</a></li>
<li><a href="/flowers/marigold.html">Marigold</a></li>
<li><a href="/flowers/shoe-flower.html">Shoe Flower</a></li>
<li><a href="/flowers/sunflowers.html">Sunflowers</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Fruit</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/fruit/ambaralla.html">Ambaralla</a></li>
<li><a href="/fruit/avocado.html">Avocado</a></li>
<li><a href="/fruit/bananas.html">Bananas</a></li>
<li><a href="/fruit/beli.html">Beli</a></li>
<li>
<a href="/fruit/cainitostar-apple.html">Cainitostar Apple</a>
</li>
<li><a href="/fruit/ceylon-olive.html">Ceylon Olive</a></li>
<li><a href="/fruit/dragon-fruit.html">Dragon Fruit</a></li>
<li><a href="/fruit/durian.html">Durian</a></li>
<li><a href="/fruit/guava.html">Guava</a></li>
<li><a href="/fruit/jackfruit.html">Jackfruit</a></li>
<li><a href="/fruit/jamanaran.html">Jamanaran</a></li>
<li><a href="/fruit/jambu.html">Jambu</a></li>
<li><a href="/fruit/lime.html">Lime</a></li>
<li><a href="/fruit/mango.html">Mango</a></li>
<li><a href="/fruit/mangosteen.html">Mangosteen</a></li>
<li><a href="/fruit/namu-namu.html">Namu Namu</a></li>
<li><a href="/fruit/papaya.html">Papaya</a></li>
<li><a href="/fruit/passion-fruit.html">Passion Fruit</a></li>
<li><a href="/fruit/pineapple.html">Pineapple</a></li>
<li><a href="/fruit/pomegranate.html">Pomegranate</a></li>
<li><a href="/fruit/rambutan.html">Rambutan</a></li>
<li><a href="/fruit/star-fruit.html">Star Fruit</a></li>
<li><a href="/fruit/tomatoes.html">Tomatoes</a></li>
<li><a href="/fruit/watermelon.html">Watermelon</a></li>
<li><a href="/fruit/woodapple.html">Woodapple</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Herbs & Spices</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/herbs & spices/coriander.html">Coriander</a></li>
<li><a href="/herbs & spices/garlic.html">Garlic</a></li>
<li><a href="/herbs & spices/ginger.html">Ginger</a></li>
<li>
<a href="/herbs & spices/green-chilli.html">Green Chilli</a>
</li>
<li><a href="/herbs & spices/lemongrass.html">Lemongrass</a></li>
<li><a href="/herbs & spices/mustard.html">Mustard</a></li>
<li><a href="/herbs & spices/red-onion.html">Red Onion</a></li>
<li><a href="/herbs & spices/turmeric.html">Turmeric</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Leafy Greens</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/leafy greens/cabbage.html">Cabbage</a></li>
<li><a href="/leafy greens/gotu-kola.html">Gotu Kola</a></li>
<li><a href="/leafy greens/kang-kung.html">Kang Kung</a></li>
<li><a href="/leafy greens/leeks.html">Leeks</a></li>
<li><a href="/leafy greens/lettuce.html">Lettuce</a></li>
<li>
<a href="/leafy greens/malabar-spinach.html">Malabar Spinach</a>
</li>
<li><a href="/leafy greens/thamapala.html">Thamapala</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Roots</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/roots/beetroot.html">Beetroot</a></li>
<li><a href="/roots/carrot.html">Carrot</a></li>
<li><a href="/roots/potato.html">Potato</a></li>
<li><a href="/roots/radish.html">Radish</a></li>
<li><a href="/roots/sweet-potato.html">Sweet Potato</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Vegetables</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/vegetables/bitter-gourd.html">Bitter Gourd</a></li>
<li><a href="/vegetables/capsicum.html">Capsicum</a></li>
<li><a href="/vegetables/cauliflower.html">Cauliflower</a></li>
<li><a href="/vegetables/corn.html">Corn</a></li>
<li><a href="/vegetables/cucumber.html">Cucumber</a></li>
<li><a href="/vegetables/egg-plant.html">Egg Plant</a></li>
<li><a href="/vegetables/green-beans.html">Green Beans</a></li>
<li><a href="/vegetables/green-gram.html">Green Gram</a></li>
<li><a href="/vegetables/kekiri.html">Kekiri</a></li>
<li><a href="/vegetables/knol-khol.html">Knol Khol</a></li>
<li><a href="/vegetables/kohila.html">Kohila</a></li>
<li><a href="/vegetables/moringa.html">Moringa</a></li>
<li><a href="/vegetables/okra.html">Okra</a></li>
<li><a href="/vegetables/pumpkin.html">Pumpkin</a></li>
<li><a href="/vegetables/snake-gourd.html">Snake Gourd</a></li>
<li>
<a href="/vegetables/thumba-karawila.html">Thumba Karawila</a>
</li>
<li><a href="/vegetables/watakolu.html">Watakolu</a></li>
<li><a href="/vegetables/winged-bean.html">Winged Bean</a></li>
<li><a href="/vegetables/yardlong-bean.html">Yardlong Bean</a></li>
</ul>
</div>
</div>
</nav>
<a class="home-link" href="/sources.html">🔎 Sources</a>
</div>
<hr>
<br>

<div class="crop-category">
<button>
<p>Flowers</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/flowers/cosmos-flower.html">Cosmos Flower</a></li><li><a href="/flowers/jasmine.html">Jasmine</a></li><li><a href="/flowers/lavender.html">Lavender</a></li><li><a href="/flowers/marigold.html">Marigold</a></li><li><a href="/flowers/shoe-flower.html">Shoe Flower</a></li><li><a href="/flowers/sunflowers.html">Sunflowers</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Fruit</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/fruit/ambaralla.html">Ambaralla</a></li><li><a href="/fruit/avocado.html">Avocado</a></li><li><a href="/fruit/bananas.html">Bananas</a></li><li><a href="/fruit/beli.html">Beli</a></li><li><a href="/fruit/cainitostar-apple.html">Cainitostar Apple</a></li><li><a href="/fruit/ceylon-olive.html">Ceylon Olive</a></li><li><a href="/fruit/dragon-fruit.html">Dragon Fruit</a></li><li><a href="/fruit/durian.html">Durian</a></li><li><a href="/fruit/guava.html">Guava</a></li><li><a href="/fruit/jackfruit.html">Jackfruit</a></li><li><a href="/fruit/jamanaran.html">Jamanaran</a></li><li><a href="/fruit/jambu.html">Jambu</a></li><li><a href="/fruit/lime.html">Lime</a></li><li><a href="/fruit/mango.html">Mango</a></li><li><a href="/fruit/mangosteen.html">Mangosteen</a></li><li><a href="/fruit/namu-namu.html">Namu Namu</a></li><li><a href="/fruit/papaya.html">Papaya</a></li><li><a href="/fruit/passion-fruit.html">Passion Fruit</a></li><li><a href="/fruit/pineapple.html">Pineapple</a></li><li><a href="/fruit/pomegranate.html">Pomegranate</a></li><li><a href="/fruit/rambutan.html">Rambutan</a></li><li><a href="/fruit/star-fruit.html">Star Fruit</a></li><li><a href="/fruit/tomatoes.html">Tomatoes</a></li><li><a href="/fruit/watermelon.html">Watermelon</a></li><li><a href="/fruit/woodapple.html">Woodapple</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Herbs & Spices</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/herbs & spices/coriander.html">Coriander</a></li><li><a href="/herbs & spices/garlic.html">Garlic</a></li><li><a href="/herbs & spices/ginger.html">Ginger</a></li><li><a href="/herbs & spices/green-chilli.html">Green Chilli</a></li><li><a href="/herbs & spices/lemongrass.html">Lemongrass</a></li><li><a href="/herbs & spices/mustard.html">Mustard</a></li><li><a href="/herbs & spices/red-onion.html">Red Onion</a></li><li><a href="/herbs & spices/turmeric.html">Turmeric</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Leafy Greens</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/leafy greens/cabbage.html">Cabbage</a></li><li><a href="/leafy greens/gotu-kola.html">Gotu Kola</a></li><li><a href="/leafy greens/kang-kung.html">Kang Kung</a></li><li><a href="/leafy greens/leeks.html">Leeks</a></li><li><a href="/leafy greens/lettuce.html">Lettuce</a></li><li><a href="/leafy greens/malabar-spinach.html">Malabar Spinach</a></li><li><a href="/leafy greens/thamapala.html">Thamapala</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Roots</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/roots/beetroot.html">Beetroot</a></li><li><a href="/roots/carrot.html">Carrot</a></li><li><a href="/roots/potato.html">Potato</a></li><li><a href="/roots/radish.html">Radish</a></li><li><a href="/roots/sweet-potato.html">Sweet Potato</a></li>
</ul>
</div>

<div class="crop-category">
<button>
<p>Vegetables</p>
<i class="fa-solid fa-plus text-xs"></i>
</button>
<ul>
<li><a href="/vegetables/bitter-gourd.html">Bitter Gourd</a></li><li><a href="/vegetables/capsicum.html">Capsicum</a></li><li><a href="/vegetables/cauliflower.html">Cauliflower</a></li><li><a href="/vegetables/corn.html">Corn</a></li><li><a href="/vegetables/cucumber.html">Cucumber</a></li><li><a href="/vegetables/egg-plant.html">Egg Plant</a></li><li><a href="/vegetables/green-beans.html">Green Beans</a></li><li><a href="/vegetables/green-gram.html">Green Gram</a></li><li><a href="/vegetables/kekiri.html">Kekiri</a></li><li><a href="/vegetables/knol-khol.html">Knol Khol</a></li><li><a href="/vegetables/kohila.html">Kohila</a></li><li><a href="/vegetables/moringa.html">Moringa</a></li><li><a href="/vegetables/okra.html">Okra</a></li><li><a href="/vegetables/pumpkin.html">Pumpkin</a></li><li><a href="/vegetables/snake-gourd.html">Snake Gourd</a></li><li><a href="/vegetables/thumba-karawila.html">Thumba Karawila</a></li><li><a href="/vegetables/watakolu.html">Watakolu</a></li><li><a href="/vegetables/winged-bean.html">Winged Bean</a></li><li><a href="/vegetables/yardlong-bean.html">Yardlong Bean</a></li>
</ul>
</div>

</div>
</nav>


<main id="main-section">
<img
Expand Down
19 changes: 19 additions & 0 deletions public/sources.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>First Principles</title>

<!-- Favicon Lanka Wiki -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="assets/icons/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="assets/icons/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="assets/icons/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<!-- Font Awesome -->
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
Expand Down Expand Up @@ -44,6 +61,7 @@






<nav id="header-section">
Expand Down Expand Up @@ -147,6 +165,7 @@ <h2>Content</h2>







Expand Down
17 changes: 17 additions & 0 deletions src/WikiConverter.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,23 @@ class WikiConverter {
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>${wikiContent.title}</title>
<!-- Favicon Lanka Wiki -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="${this.serverPrefix}/assets/icons/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="${this.serverPrefix}/assets/icons/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="${this.serverPrefix}/assets/icons/favicon-16x16.png" />
<link rel="manifest" href="${this.serverPrefix}/site.webmanifest" />
<link href="${this.serverPrefix}/styles/output.css" rel="stylesheet" />
<!-- Font Awesome -->
Expand Down
17 changes: 17 additions & 0 deletions src/WikiConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,23 @@ class WikiConverter {
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>${wikiContent.title}</title>
<!-- Favicon Lanka Wiki -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="${this.serverPrefix}/assets/icons/apple-touch-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="${this.serverPrefix}/assets/icons/favicon-32x32.png" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="${this.serverPrefix}/assets/icons/favicon-16x16.png" />
<link rel="manifest" href="${this.serverPrefix}/site.webmanifest" />
<link href="${this.serverPrefix}/styles/output.css" rel="stylesheet" />
<!-- Font Awesome -->
Expand Down

0 comments on commit 537b698

Please sign in to comment.