-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
153 lines (132 loc) · 3.53 KB
/
template.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
<!DOCTYPE html>
<html>
<head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
html,
body {
padding: 0px;
margin: 0px;
}
html {
padding: 20px 70px;
background-color: #0a071a;
color: white;
font-family: 'Courier Prime', monospace;
}
.header {
font-family: 'Major Mono Display', monospace;
color: #4ee488;
font-size: 70px;
}
p {
font-size: 25px;
}
.container {
display: grid;
width: 100%;
gap: 40px;
grid-template-columns: auto auto;
justify-content: center;
}
.pt {
font-size: 35px;
font-family: 'Major Mono Display', monospace;
color: #4ee488;
}
.card {
width: 40vw;
}
ul {
padding: 0px;
margin: 0px;
list-style-type: "-";
list-style-position: inside;
}
.res {
font-size: 25px;
}
.ct {
display: flex;
flex-direction: row;
align-items: center;
}
svg {
padding-left: 20px;
}
svg:hover {
cursor: pointer;
}
a {
padding: 0px;
margin: 0px;
height: 30px;
cursor: pointer;
color: #e64ed2;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #e64ed2;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
color: #9c298d;
}
</style>
</head>
<body>
<h1 class="header">
I don't know what to code!
</h1>
<p>
You don't have any ideas for pet projects? Life sucks without coding? You have шило в жопе to create something?
Well, then this website is for you.
</p>
<p>
Here a good dude <a href="https://github.com/kon3gor">@kon3gor</a> collects all his dumb ideas for projects.
Some of
them are even language-agnostic so you basically can use any shitty language you want (but not JavaScript, this
shit
is not respected here)
</p>
<div class="container">
{% for project in projects %}
<div class="card">
<div class="ct">
<h2 class="pt"> {{ project.name }} </h2>
{% if project.mine %}
<a href={{ project.mine }} rel="external" target="_blank">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 36 36"
enable-background="new 0 0 36 36" xml:space="preserve" width="30">
<path fill-rule="evenodd" clip-rule="evenodd" fill="#4ee488"
d="M18,1.4C9,1.4,1.7,8.7,1.7,17.7c0,7.2,4.7,13.3,11.1,15.5 c0.8,0.1,1.1-0.4,1.1-0.8c0-0.4,0-1.4,0-2.8c-4.5,1-5.5-2.2-5.5-2.2c-0.7-1.9-1.8-2.4-1.8-2.4c-1.5-1,0.1-1,0.1-1 c1.6,0.1,2.5,1.7,2.5,1.7c1.5,2.5,3.8,1.8,4.7,1.4c0.1-1.1,0.6-1.8,1-2.2c-3.6-0.4-7.4-1.8-7.4-8.1c0-1.8,0.6-3.2,1.7-4.4 c-0.2-0.4-0.7-2.1,0.2-4.3c0,0,1.4-0.4,4.5,1.7c1.3-0.4,2.7-0.5,4.1-0.5c1.4,0,2.8,0.2,4.1,0.5c3.1-2.1,4.5-1.7,4.5-1.7 c0.9,2.2,0.3,3.9,0.2,4.3c1,1.1,1.7,2.6,1.7,4.4c0,6.3-3.8,7.6-7.4,8c0.6,0.5,1.1,1.5,1.1,3c0,2.2,0,3.9,0,4.5 c0,0.4,0.3,0.9,1.1,0.8c6.5-2.2,11.1-8.3,11.1-15.5C34.3,8.7,27,1.4,18,1.4z" />
</svg>
</a>
{% endif %}
</div>
<p>{{ project.description }}</p>
{% if project.res %}
<ul>
<span class="res">Resources:</span>
{% for resource in project.res %}
{% if resource.title %}
<li><a href={{ resource.link }} rel="external" target="_blank"> {{ resource.title }} </a></li>
{% else %}
<li><a href={{ resource.link }} rel="external" target="_blank"> {{ resource.link }} </a></li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</div>
{% endfor %}
</div>
</body>
</html>