Skip to content

Commit 7379b18

Browse files
committed
Slim down homepage
1 parent 6378369 commit 7379b18

1 file changed

Lines changed: 97 additions & 26 deletions

File tree

warduino/.vitepress/components/home.vue

Lines changed: 97 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const {frontmatter: fm} = useData()
2222
</div>
2323

2424
<!-- features -->
25+
<!--
2526
<div class="features">
2627
<div class="container">
2728
<div class="grid column-3">
@@ -64,48 +65,101 @@ const {frontmatter: fm} = useData()
6465
</div>
6566
</div>
6667
</div>
68+
-->
6769

6870
<!-- details -->
6971
<div class="details">
7072
<div class="container">
7173
<div class="vp-doc grow">
72-
<h2></h2>
74+
7375
<div style="display: flex; flex-flow: column nowrap; gap: 24px; justify-content: space-between">
7476
<div class="grow divider">
7577
<article class="list">
76-
<h4>Getting started</h4>
78+
<div class="heading">
79+
<div class="icon">
80+
<span class="material-symbols-rounded">rocket_launch</span>
81+
</div>
82+
<div>
83+
<h4>Getting started</h4>
84+
</div>
85+
</div>
7786
<p><a href="./guide/get-started.html">-&gt; Get started</a></p>
7887
<p><a href="./guide/examples/index.html">-&gt; Examples</a></p>
7988
<p><a href="./guide/latch.html">-&gt; Automated testing</a></p>
8089
<p><a href="./guide/plugin.html">-&gt; Debugging in VS Code</a></p>
8190
</article>
8291
<article class="list">
83-
<h4>Developer's guide</h4>
84-
<p><a style="font-size: 14px" href="./reference/development.html">-&gt; Development</a></p>
85-
<p><a href="./reference/debug-protocol.html">-&gt; Debugger reference</a></p>
86-
<p><a href="./reference/platforms.html">-&gt; Supported platforms</a></p>
92+
<div class="heading">
93+
<div class="icon">
94+
<span class="material-symbols-rounded">menu_book</span>
95+
</div>
96+
<div>
97+
<h4>References</h4>
98+
</div>
99+
</div>
87100
<p><a href="./reference/primitives.html">-&gt; WARDuino primitives</a></p>
88-
<p><a href="./reference/edward/index.html">-&gt; EDWARD reference</a></p>
101+
<p><a href="./reference/debug-protocol.html">-&gt; Debug protocol</a></p>
102+
<p><a href="./reference/edward/index.html">-&gt; EDWARD debugger</a></p>
89103
<p><a href="./latch/index.html">-&gt; Latch reference</a></p>
90104
</article>
91105
<article class="list">
92-
<h4>Examples</h4>
106+
<div class="heading">
107+
<div class="icon">
108+
<span class="material-symbols-rounded">school</span>
109+
</div>
110+
<div>
111+
<h4>Examples & Tutorials</h4>
112+
</div>
113+
</div>
93114
<p><a href="./guide/examples/analog.html">-&gt; Analog Read Serial</a></p>
94115
<p><a href="./guide/examples/blink.html">-&gt; Blinking LED</a></p>
95116
<p><a href="./guide/examples/button.html">-&gt; Button</a></p>
96117
<p><a href="./guide/examples/index.html">-&gt; More ...</a></p>
97118
</article>
119+
98120
</div>
99121

100122
<div class="grow divider">
101123
<article class="list">
102-
<h4>Templates</h4>
124+
<div class="heading">
125+
<div class="icon">
126+
<span class="material-symbols-rounded">terminal</span>
127+
</div>
128+
<div>
129+
<h4>Developer's guide</h4>
130+
</div>
131+
</div>
132+
<p><a style="font-size: 14px" href="./reference/development.html">-&gt; Development</a></p>
133+
<p><a href="./reference/platforms.html">-&gt; Supported platforms</a></p>
134+
</article>
135+
<article class="list">
136+
<div class="heading">
137+
<div class="icon">
138+
<span class="material-symbols-rounded">package</span>
139+
</div>
140+
<div>
141+
<h4>Templates</h4>
142+
</div>
143+
</div>
103144
<p><a href="https://github.com/TOPLLab/as-warduino-template">-&gt; AssemblyScript</a></p>
104145
</article>
146+
<div></div>
105147
</div>
106148
</div>
149+
107150
<h2></h2>
108151

152+
<h4 class="center">Research</h4>
153+
<p class="center">
154+
WARDuino and the related projects documented here, are being developed as part of active research projects.
155+
The principle investigators at Ghent University and the VUB, maintain this documentation website and the associated software.
156+
You can find out more about the research on the <i>published articles</i> page.
157+
</p>
158+
<p class="center"><a href="./articles/index.html">-&gt; Published articles</a></p>
159+
160+
<h2></h2>
161+
162+
109163
</div>
110164
</div>
111165
</div>
@@ -114,6 +168,8 @@ const {frontmatter: fm} = useData()
114168
</template>
115169

116170
<style scoped>
171+
@import "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200";
172+
117173
/* features */
118174
.home {
119175
padding-bottom: 96px;
@@ -293,13 +349,6 @@ const {frontmatter: fm} = useData()
293349
}
294350
}
295351
296-
@media (max-width: 960px) {
297-
.grid > .item {
298-
width: calc(50% - 24px);
299-
}
300-
}
301-
302-
303352
@media (max-width: 640px) {
304353
.grid > .item {
305354
width: 100%;
@@ -308,42 +357,64 @@ const {frontmatter: fm} = useData()
308357
309358
/* details */
310359
360+
.heading {
361+
display: flex;
362+
align-items: center;
363+
}
364+
365+
.icon {
366+
box-sizing: border-box;
367+
margin-right: 8px;
368+
margin-top: 5px;
369+
}
370+
371+
.icon > span {
372+
line-height: 24px;
373+
letter-spacing: -0.02em;
374+
375+
}
376+
311377
.grow {
312378
flex-grow: 1;
313379
}
314380
315-
.center {
381+
h4.center {
316382
text-align: center;
317383
}
318384
385+
p.center {
386+
max-width: 688px;
387+
margin: 0 auto;
388+
}
389+
390+
391+
@media (max-width: 640px) {
392+
max-width: 100%;
393+
}
394+
319395
.divider {
320396
display: flex;
321397
align-items: flex-start;
322398
}
323399
324400
.divider > * {
325-
flex-grow: 1;
401+
flex: 1;
326402
}
327403
328-
@media (max-width: 960px) {
404+
@media (max-width: 640px) {
329405
.divider {
330406
flex-wrap: wrap;
331407
gap: 24px;
332408
justify-content: space-between;
333409
}
334410
335411
.divider > * {
336-
width: calc(50% - 24px);
337-
}
338-
}
339-
340-
@media (max-width: 640px) {
341-
.divider > * {
412+
flex: 0 0 auto;
342413
width: 100%;
343414
}
344415
}
345416
346-
.list > p {
417+
p {
347418
font-size: 14px;
348419
margin-top: 2px;
349420
margin-bottom: 0;

0 commit comments

Comments
 (0)