@studiokloek/vite-config 0.13.0-0 → 0.13.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/partials/development.hbs +112 -0
- package/package.json +2 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="nl">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<title>Development</title>
|
|
7
|
+
<style>
|
|
8
|
+
html {
|
|
9
|
+
padding: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body {
|
|
14
|
+
padding: 2rem;
|
|
15
|
+
max-width: 920px;
|
|
16
|
+
margin: 0 auto 12rem;
|
|
17
|
+
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
|
|
18
|
+
Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
|
|
19
|
+
background-color: #f0f4f8;
|
|
20
|
+
color: #243b53;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
a {
|
|
24
|
+
color: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ul {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
align-items: flex-start;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
list-style: none;
|
|
33
|
+
padding: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
ul li {
|
|
37
|
+
flex: 1 1 25%;
|
|
38
|
+
margin-bottom: 1rem;
|
|
39
|
+
margin-right: 1rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
article {
|
|
43
|
+
background-color: #fff;
|
|
44
|
+
border-radius: 8px;
|
|
45
|
+
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px, rgba(0, 0, 0, 0.14) 0px 2px 2px 0px,
|
|
46
|
+
rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
|
|
47
|
+
;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
article>a {
|
|
51
|
+
text-decoration: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
article h2 {
|
|
55
|
+
margin-top: 0;
|
|
56
|
+
margin-bottom: 0.5rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
article .content {
|
|
60
|
+
padding: 1.5rem
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
article img {
|
|
64
|
+
width: 100%;
|
|
65
|
+
max-height: 50vh;
|
|
66
|
+
min-width: 0;
|
|
67
|
+
object-fit: cover;
|
|
68
|
+
vertical-align: bottom;
|
|
69
|
+
border-top-left-radius: 8px;
|
|
70
|
+
border-top-right-radius: 8px;
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
73
|
+
</head>
|
|
74
|
+
|
|
75
|
+
<body>
|
|
76
|
+
<h1>{{data.info.client}}</h1>
|
|
77
|
+
<ul>
|
|
78
|
+
{{#each games}}
|
|
79
|
+
<li>
|
|
80
|
+
<article>
|
|
81
|
+
<a href="./{{this.info.page}}.html">
|
|
82
|
+
<div class="icon">
|
|
83
|
+
<img src="meta/{{this.info.id}}/icons/social-preview.jpg" />
|
|
84
|
+
</div>
|
|
85
|
+
<div class="content">
|
|
86
|
+
<h2>{{this.meta.title}}</h2>
|
|
87
|
+
<div>{{this.meta.description}}</div>
|
|
88
|
+
</div>
|
|
89
|
+
</a>
|
|
90
|
+
</article>
|
|
91
|
+
</li>
|
|
92
|
+
{{else}}
|
|
93
|
+
<li>
|
|
94
|
+
<article>
|
|
95
|
+
<main class="content">
|
|
96
|
+
<h2>404</h2>
|
|
97
|
+
<div>Geen games gevonden...</div>
|
|
98
|
+
</main>
|
|
99
|
+
</article>
|
|
100
|
+
</li>
|
|
101
|
+
{{/each}}
|
|
102
|
+
</ul>
|
|
103
|
+
</body>
|
|
104
|
+
<script>
|
|
105
|
+
// update links to include same params
|
|
106
|
+
const params = document.location.search;
|
|
107
|
+
for (const link of document.links) {
|
|
108
|
+
link.href = link.href + params;
|
|
109
|
+
}
|
|
110
|
+
</script>
|
|
111
|
+
|
|
112
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studiokloek/vite-config",
|
|
3
|
-
"version": "0.13.0-
|
|
3
|
+
"version": "0.13.0-1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Martijn Swart <opensource@studiokloek.nl> (https://studiokloek.nl)",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"@types/node": "^22.15.33",
|
|
96
96
|
"rimraf": "^6.0.1",
|
|
97
97
|
"rollup": "^4.44.0",
|
|
98
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
98
99
|
"tslib": "^2.8.1",
|
|
99
100
|
"typescript": "5.8.3"
|
|
100
101
|
},
|