-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmake-html-index-start
More file actions
executable file
·87 lines (81 loc) · 2.59 KB
/
make-html-index-start
File metadata and controls
executable file
·87 lines (81 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env bash
#shellcheck disable=SC2089
#
# Make start of index.html file
#
# Author: zenobit <zen@duck.com>
# Date: February 14, 2026
# License: MIT
#
_g "Creating start of index.html"
file=index
title="Void Linux Artwork Collection"
fillTitle=$(cat << EOF
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Collection of Void Linux artwork - wallpapers, logos, and grub themes">
<title>${title}</title>
EOF
)
navbar=$(cat << 'EOF'
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Navigation -->
<nav class="navbar">
<div class="nav-container">
<div class="nav-brand">
<h1>Void Artwork</h1>
</div>
<button class="nav-toggle" aria-label="Toggle navigation">
<span></span>
<span></span>
<span></span>
</button>
<ul class="nav-menu">
<li><a href="https://osowoso.org/projects">oSoWoSo</a></li>
<li><a href="index.html" class="active">Home</a></li>
<li><a href="hires.html">Hi-Res Wallpapers</a></li>
<li><a href="lowres.html">Low-Res Wallpapers</a></li>
<li><a href="logos.html">Logos</a></li>
<li><a href="grub.html">Grub Themes</a></li>
<li>
<button class="theme-toggle" aria-label="Toggle theme">
<span class="icon light-icon active">☀️</span>
<span class="icon dark-icon">🌙</span>
</button>
</li>
</ul>
</div>
</nav>
EOF
)
hero=$(cat << 'EOF'
<!-- Hero Section -->
<header class="hero">
<div class="logo-container">
<img src="assets/logos/001.png" alt="Void Logo" class="logo">
</div>
<div class="hero-content">
<h2>Void Linux Artwork Collection</h2>
<p>A curated collection of wallpapers, logos, and grub themes for Void Linux enthusiasts</p>
<div class="hero-buttons">
<a href="hires.html" class="btn btn-primary">Browse Wallpapers</a>
<a href="https://github.com/oSoWoSo/void-artwork" class="btn btn-secondary" target="_blank">View on GitHub</a>
</div>
</div>
</header>
EOF
)
categories=' <!-- Categories -->
<main class="container">
<section class="categories">'
cat << EOF> "${file}.html"
${fillTitle}
${navbar}
${hero}
${categories}
EOF