Skip to content

Commit 559c6a4

Browse files
nicoburnsmregodelan
authored
Add a "made with" page (#220)
Signed-off-by: Nico Burns <[email protected]> Signed-off-by: Manuel Rego <[email protected]> Co-authored-by: Manuel Rego <[email protected]> Co-authored-by: Delan Azabani <[email protected]>
1 parent 85abc24 commit 559c6a4

9 files changed

+144
-0
lines changed

_data/madewith.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[
2+
{
3+
"name": "Browser UIs",
4+
"projects":
5+
[
6+
{
7+
"key": "servoshell",
8+
"name": "servoshell",
9+
"link": "https://github.com/servo/servo/tree/main/ports/servoshell",
10+
"img": "/img/made-with/servoshell.png",
11+
"description": "First-party browser UI built with egui"
12+
},
13+
14+
{
15+
"key": "verso",
16+
"name": "Verso",
17+
"link": "https://github.com/versotile-org/verso/",
18+
"img": "/img/made-with/verso.png",
19+
"description": "A browser UI for Servo that implements the UI as HTML using Servo's own web rendering support"
20+
},
21+
{
22+
"key": "kdab",
23+
"name": "Servo Qt",
24+
"link": "https://www.kdab.com/embedding-servo-in-qt/",
25+
"img": "/img/made-with/servo-qt.png",
26+
"description": "A Servo Webview as Qt widget, enabling browser UI built in Qt"
27+
},
28+
{
29+
"key": "moto",
30+
"name": " Moto",
31+
"link": "https://github.com/moto-browser/moto",
32+
"description": "A fork/extension of servoshell that aims to add features such as bookmarks, history and download management."
33+
},
34+
{
35+
"key": "cuervo",
36+
"name": "Cuervo",
37+
"link": "https://github.com/mcclure/cuervo/tree/unstable_traversal_experiment",
38+
"description": "A text-based UI for Servo"
39+
}
40+
]
41+
},
42+
{
43+
"name": "Made with Servo Components",
44+
"projects":
45+
[
46+
{
47+
"key": "blitz",
48+
"name": "Blitz",
49+
"link": "https://github.com/DioxusLabs/blitz",
50+
"img": "/img/made-with/blitz.png",
51+
"description": "An HTML renderer and application runtime built on top of Stylo"
52+
},
53+
{
54+
"key": "wry-backend",
55+
"name": "Wry Backend",
56+
"link": "https://github.com/tauri-apps/wry/tree/servo-wry-demo",
57+
"img": "/img/made-with/wry-backend.png",
58+
"description": "A Servo backend for Wry, the webview library used by Tauri"
59+
}
60+
]
61+
}
62+
]

_data/menu.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"url": "#",
1818
"subpages": [
1919
{ "title": "About Servo", "url": "/about/" },
20+
{ "title": "Made with Servo", "url": "/made-with/" },
2021
{ "title": "Governance", "url": "https://github.com/servo/project/blob/main/governance/README.md", "external": true },
2122
{ "title": "Sponsorship", "url": "/sponsorship/" },
2223
{ "title": "Acknowledgements", "url": "/acknowledgements/" }

assets/css/style.css.liquid

+4
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,10 @@ figcaption {
667667
max-width: 64rem;
668668
}
669669

670+
.subpage-content.fullwidth {
671+
max-width: none;
672+
}
673+
670674
.subpage-content h1,
671675
.subpage-content h2,
672676
.subpage-content h3 {

assets/img/made-with/blitz.png

44.5 KB
Loading

assets/img/made-with/servo-qt.png

28.4 KB
Loading

assets/img/made-with/servoshell.png

45.9 KB
Loading

assets/img/made-with/verso.png

67.3 KB
Loading

assets/img/made-with/wry-backend.png

43.4 KB
Loading

made-with.md

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
layout: default.html
3+
title: Made With Servo
4+
---
5+
6+
<style type="text/css">
7+
8+
.made-with-container {
9+
gap: 20px;
10+
display: flex;
11+
flex-wrap: wrap;
12+
justify-content: start;
13+
margin-bottom: 3rem;
14+
}
15+
16+
.made-with-container::last-child {
17+
margin-bottom: 0;
18+
}
19+
20+
.made-with-item {
21+
display: block;
22+
width: 400px;
23+
max-width: 100%;
24+
flex: 0 0 400px;
25+
border: 2px solid var(--dark-grey);
26+
cursor: pointer;
27+
color: inherit;
28+
text-decoration: inherit;
29+
}
30+
31+
.made-with-item:hover {
32+
background-color: #EAEAEA;
33+
}
34+
35+
.made-with-text {
36+
padding: 1.25rem;
37+
}
38+
39+
.made-with-text > p {
40+
padding: 0;
41+
}
42+
43+
.made-with-image {
44+
aspect-ratio: 2;
45+
object-fit: cover;
46+
object-position: top left;
47+
background-color: transparent;
48+
}
49+
50+
</style>
51+
52+
<div class="inner-container subpage-content fullwidth">
53+
54+
<h1>{{ title }}</h1>
55+
<p class="subtitle">
56+
This page showcases projects that are built with Servo or Servo components.
57+
</p>
58+
59+
{% for group in madewith %}
60+
61+
## {{group.name}}
62+
63+
<div class="made-with-container">
64+
{% for project in group.projects %}
65+
<a class="made-with-item" href="{{project.link}}" target="_blank">
66+
{% if project.img %}<img src="{{ project.img | url }}" class="made-with-image" alt=" " />{% endif %}
67+
<div class="made-with-text">
68+
<h3>{{ project.name }}</h3>
69+
<p>{{ project.description }}</p>
70+
</div>
71+
</a>{% endfor %}
72+
</div>
73+
74+
{% endfor %}
75+
76+
77+
</div>

0 commit comments

Comments
 (0)