From f4847afbadb745954f94c62a21c56583714c75ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20=28xq=29=20Quei=C3=9Fner?= Date: Sat, 13 Mar 2021 21:52:43 +0100 Subject: [PATCH] Replaces emoji with svg. --- src/main.zig | 5 +++++ website/img/articles.svg | 20 ++++++++++++++++++++ website/img/battery.svg | 14 ++++++++++++++ website/img/code.svg | 17 +++++++++++++++++ website/img/community.svg | 18 ++++++++++++++++++ website/img/goals.svg | 35 +++++++++++++++++++++++++++++++++++ website/img/members.svg | 15 +++++++++++++++ website/img/pager.svg | 21 +++++++++++++++++++++ website/img/read-more.svg | 11 +++++++++++ website/img/teacher.svg | 32 ++++++++++++++++++++++++++++++++ website/index.md | 18 +++++++++--------- 11 files changed, 197 insertions(+), 9 deletions(-) create mode 100644 website/img/articles.svg create mode 100644 website/img/battery.svg create mode 100644 website/img/code.svg create mode 100644 website/img/community.svg create mode 100644 website/img/goals.svg create mode 100644 website/img/members.svg create mode 100644 website/img/pager.svg create mode 100644 website/img/read-more.svg create mode 100644 website/img/teacher.svg diff --git a/src/main.zig b/src/main.zig index ad2b859..11320da 100644 --- a/src/main.zig +++ b/src/main.zig @@ -491,6 +491,11 @@ const Website = struct { \\ h1 { \\ text-align: center; \\ } + \\ h1 img, h2 img, h3 img, h3 img, h4 img, h5 img, h6 img, a img { + \\ width: 1em; + \\ height: 1em; + \\ vertical-align: middle; + \\ } \\ \\ \\ diff --git a/website/img/articles.svg b/website/img/articles.svg new file mode 100644 index 0000000..a2daf51 --- /dev/null +++ b/website/img/articles.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/website/img/battery.svg b/website/img/battery.svg new file mode 100644 index 0000000..0545c03 --- /dev/null +++ b/website/img/battery.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/website/img/code.svg b/website/img/code.svg new file mode 100644 index 0000000..f92f207 --- /dev/null +++ b/website/img/code.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/website/img/community.svg b/website/img/community.svg new file mode 100644 index 0000000..9fb0f21 --- /dev/null +++ b/website/img/community.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/website/img/goals.svg b/website/img/goals.svg new file mode 100644 index 0000000..137cb27 --- /dev/null +++ b/website/img/goals.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website/img/members.svg b/website/img/members.svg new file mode 100644 index 0000000..324b268 --- /dev/null +++ b/website/img/members.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/website/img/pager.svg b/website/img/pager.svg new file mode 100644 index 0000000..fdca7b6 --- /dev/null +++ b/website/img/pager.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/website/img/read-more.svg b/website/img/read-more.svg new file mode 100644 index 0000000..95bb3a3 --- /dev/null +++ b/website/img/read-more.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/website/img/teacher.svg b/website/img/teacher.svg new file mode 100644 index 0000000..10f3236 --- /dev/null +++ b/website/img/teacher.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website/index.md b/website/index.md index e3cdf07..4da2466 100644 --- a/website/index.md +++ b/website/index.md @@ -1,8 +1,8 @@ -# Zig Embedded Group +# ![](img/pager.svg) Zig Embedded Group ![](img/battery.svg) This group was formed to document and improve the embedded programming experience with the [Zig programming language](https://ziglang.org). -## 🏁 Goals +## ![](img/goals.svg) Goals - Provide documents on how to get started with embedded programming (for absolute newbies) - Provide example snippets for certain architectures (LPC, STM32, AVR, ...) @@ -10,7 +10,7 @@ This group was formed to document and improve the embedded programming experienc - Create a common interface/HAL over several architectures - Create a performant common set of drivers for external platforms -## πŸ§‘β€πŸ« Introduction to embedded programming +## ![](img/teacher.svg) Introduction to embedded programming If you've never done any embedded development before, it's a good point to start with one of our tutorials: @@ -28,17 +28,17 @@ If you've never done any embedded development before, it's a good point to start - [What device to chose?](tutorials/04-chose-device.htm) - [Introduction to HAL 9001](tutorials/05-hal.htm) -## πŸ“š Latest Articles +## ![](img/articles.svg) Latest Articles The latest articles on embedded programming with Zig: -[↗️ See all articles...](articles.htm) +[![](img/read-more.svg) See all articles...](articles.htm) [![Atom Feed](img/atom.svg) Subscribe the Atom feed](feed.atom) -## πŸ’» Code +## ![](img/code.svg) Code Here are some highlighted projects the ZEG provides: @@ -50,15 +50,15 @@ Here are some highlighted projects the ZEG provides: - [zCOM Network Driver](#) - [TinySSL](#) -[↗️ See all repositories...](https://github.com/ZigEmbeddedGroup/) +[![](img/read-more.svg) See all repositories...](https://github.com/ZigEmbeddedGroup/) -## πŸ’¬ Community +## ![](img/community.svg) Community This group uses the already existing community infrastructures that exist for Zig: - [Zig Programming Language - Discord Server](https://discord.gg/TyzJXjser6) -## πŸ‘₯ Members +## ![](img/members.svg) Members - [Felix "xq" Queißner](https://github.com/MasterQ32/) - [Matthew "mattnite" Knight](https://github.com/mattnite/)