-
Notifications
You must be signed in to change notification settings - Fork 18
/
icons.html
161 lines (152 loc) · 5.6 KB
/
icons.html
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unixporn Dots</title>
<link href="css/main_content.css" rel="stylesheet" />
<link href="css/footer.css" rel="stylesheet" />
<!-- OpenGraph element -->
<meta property="og:title" content="Unixporn Icons" />
<meta property="og:site_name" content="Unixporn Dots" />
<meta property="og:url" content="https://unixporn-dots.github.io/icons" />
<meta
property="og:description"
content="A collection of everything from the r/unixporn community. Find your perfect *nix setup"
/>
<meta property="og:type" content="website" />
<meta
property="og:image"
content="https://avatars.githubusercontent.com/u/105546120?s=200&v=4"
/>
<meta property="og:color" content="#303035" />
<!-- imoprt sourcecode pro -->
<link
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&family=Source+Code+Pro:wght@300;700&display=swap"
rel="stylesheet"
/>
<!-- import fontawesome -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.2/font/bootstrap-icons.css"
/>
<script
src="https://kit.fontawesome.com/afcb698043.js"
crossorigin="anonymous"
></script>
<!-- Jost semibold -->
<link
href="https://fonts.googleapis.com/css?family=Jost:400,500,600,700"
rel="stylesheet"
/>
<link href="css/base.css" rel="stylesheet" />
<link href="css/header.css" rel="stylesheet" />
<link href="css/pageSwitcher.css" rel="stylesheet" />
<script type="module" src="icons.js"></script>
</head>
<body>
<header id="main_header">
<h3 class="header-branding">Unixporn Dots</h3>
<nav id="main_nav">
<a href="/">Home</a>
<button id="js-themeSwitcher" class="link-like-button">
<i id="themeIcon" class="bi bi-sun" aria-hidden="true"></i>
</button>
<button id="js-sortSwitcher" class="link-like-button" title="Shuffle">
<i class="fa-solid fa-shuffle" aria-hidden="true"></i>
</button>
<select class="category-box" onchange="slct(event)">
<option value="dotfiles">Dotfiles</option>
<option value="icons" selected>Icons</option>
<option value="gtk-themes">GTK-Themes</option>
</select>
<div class="searchform">
<div class="inputgroup">
<input
class="searchinput"
id="searchInput"
type="text"
placeholder="Search"
/>
<button class="btn-submit searchsubmit" id="searchSubmit">
<i class="bi bi-search" aria-hidden="true"></i>
</button>
</div>
</div>
</nav>
<select class="category-box mobil" onchange="slct(event)">
<option value="dotfiles">Dotfiles</option>
<option value="icons" selected>Icons</option>
<option value="gtk-themes">GTK-Themes</option>
</select>
</header>
<main id="main_content">
<div id="icons_container">
<!-- Will be filled dynamically -->
</div>
</main>
<div class="page-switcher">
<div class="previous-container">
<a id="firstPage" class="page-button" href="#main_header">
<i class="fas fa-angle-double-left"></i>
</a>
<a id="prevPage" class="page-button" href="#main_header">
<i class="fas fa-angle-left"></i>
</a>
</div>
<div id="page-number" class="page-numbers"></div>
<div class="next-container">
<a id="nextPage" class="page-button" href="#main_header">
<i class="fas fa-angle-right"></i>
</a>
<a id="lastPage" class="page-button" href="#main_header">
<i class="fas fa-angle-double-right"></i>
</a>
</div>
</div>
<footer id="main_footer">
<div class="social_links">
<a class="social_links-icon" href="https://github.com/unixporn-dots/">
<i class="fab fa-github" aria-hidden="true"></i>
</a>
<a class="social_links-icon" href="https://reddit.com/r/unixporn">
<i class="fab fa-reddit" aria-hidden="true"></i>
</a>
</div>
<p>
<strong>Unixporn-Dots</strong> is maintained by the community
with <i class="fas fa-heart" aria-hidden="true"></i>
</p>
<div class="linklist">
<a href="disclaimer.html" style="margin-right: 20px; color: var(--theme-color)"
>Disclaimer</a
>
<a
style="margin-left: 20px; color: var(--theme-color)"
href="https://github.com/unixporn-dots/unixporn-dots.github.io/#adding-your-dotfiles"
>
Submit your icons
</a>
</div>
</footer>
<script type="module" src="js/themeSwitcher.js"></script>
<script type="module" src="js/random.js"></script>
<!--<script src="js/search.js"></script>-->
<script type="module" src="js/cardGenerator.js"></script>
<script type="module" src="js/card.js"></script>
<script type="module" src="js/page.js"></script>
<script type="module" src="js/index.js"></script>
<script>
function slct(event) {
let selectElement = event.target
let value = selectElement.value || selectElement.options[selectElement.selectedIndex].value
if(value == 'dotfiles') {
window.location = '/'
} else if(value == 'gtk-themes') {
window.location = '/gtk-themes.html'
}
}
</script>
</body>
</html>