Skip to content

Commit

Permalink
Update theme, fix teams page, remove old contact page and add first p…
Browse files Browse the repository at this point in the history
…art of WHY2025 frontpanel design guide
  • Loading branch information
renzenicolai committed Nov 6, 2024
1 parent 22a70c4 commit ee3d11f
Show file tree
Hide file tree
Showing 20 changed files with 527 additions and 958 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "themes/docsy"]
path = themes/docsy
url = https://github.com/google/docsy.git
4 changes: 0 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
set -e
set -u

git submodule update --init --recursive
npm install
cd themes/docsy
npm install
cd ../..
export HUGO_ENV="production"
hugo --gc --minify
20 changes: 11 additions & 9 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
baseURL = "/"
title = "Badge.team"
title = "Badge.Team"

enableRobotsTXT = true
canonifyURLs = true

theme = ["docsy"]
theme = ["github.com/google/docsy"]

enableGitInfo = true

Expand Down Expand Up @@ -41,15 +41,14 @@ resampleFilter = "CatmullRom"
quality = 75
anchor = "smart"

[languages]
[languages.en]
title = "Badge.team"
[languages.en.params]
title = "Badge.Team"
languageName ="English"
weight = 1
[languages.en.params]
description = "Badges and badgers"

[markup]
defaultMarkdownHandler = "goldmark"
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
Expand All @@ -69,14 +68,12 @@ url_latest_version = "https://badge.team"
github_repo = "https://github.com/badgeteam/website"
github_project_repo = "https://github.com/badgeteam/feedback"
github_branch = "master"

algolia_docsearch = false
offlineSearch = true
prism_syntax_highlighting = false

[params.ui]
breadcrumb_disable = false
footer_about_disable = false
footer_about_enable = true
navbar_logo = true
navbar_translucent_over_cover_disable = false
sidebar_menu_compact = false
Expand Down Expand Up @@ -116,3 +113,8 @@ enable = false
url = "https://github.com/badgeteam"
icon = "fab fa-github"
desc = "Source code and design files"

[module]
proxy = "direct"
[[module.imports]]
path = "github.com/google/docsy"
21 changes: 4 additions & 17 deletions content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,19 @@ Need help? Want to volunteer? <i class="fab fa-telegram ml-2 "></i>
{{< /blocks/cover >}}

{{% blocks/lead color="dark" %}}
We're a constantly changing group of volunteers that aims to take creating event badges to the next level! Are you interested in helping out, part of an event badge team looking for some help or just curious? Join our [Telegram group](https://t.me/+StQpEWyhnb96Y88p) or [Discord channel](https://discord.gg/xuhw3Ws6BJ).
We're a constantly changing group of volunteers that aims to take creating event badges to the next level! Are you interested in helping out, part of an event badge team looking for some help or just curious? Join our [Telegram group](https://t.me/+StQpEWyhnb96Y88p).
{{% /blocks/lead %}}


{{% blocks/section type="row" color="dark" %}}

{{% blocks/feature icon="fab fa-telegram" title="Chat with us on **Telegram**" %}}
Our main communication channel. Do you have a question? Want to help? Get in contact?<br />
<a href="https://t.me/+StQpEWyhnb96Y88p" style="color: #FFFFFF;">Click here to join the Telegram group!</a>
<a href="https://t.me/+StQpEWyhnb96Y88p">Click here to join the Telegram group!</a>
{{% /blocks/feature %}}

{{% blocks/feature icon="fab fa-discord" title="Discord group" %}}
Do you have a question? Want to help? Get in contact?<br />
<a href="https://discord.gg/xuhw3Ws6BJ">Click here to join the Discord group!</a>
{{% blocks/feature icon="fab fa-mastodon" title="Mastodon" %}}
Follow us on <a href="https://hsnl.social/@badgeteam">Mastodon</a> to be kept up-to-date on Badge.team related announcements and information
{{% /blocks/feature %}}

{{% blocks/feature icon="fab fa-github" title="GitHub" %}}
Expand All @@ -60,15 +59,3 @@ Contributions welcome!<br />
{{% /blocks/feature %}}

{{% /blocks/section %}}

{{< blocks/section type="row" color="secondary" >}}

{{% blocks/feature icon="fab fa-mastodon" title="Mastodon" %}}
<a href="https://hsnl.social/@badgeteam" style="color: #000000;">Follow us on Mastodon to be kept up-to-date on Badge.team related announcements and information</a>
{{% /blocks/feature %}}

{{% blocks/feature icon="fa fa-shopping-bag" title="Hatchery" %}}
<a href="https://hatchery.badge.team" style="color: #000000;">Do you want to publish an app? Look no further.</a>
{{% /blocks/feature %}}

{{% /blocks/section %}}
43 changes: 0 additions & 43 deletions content/en/contact/_index.md

This file was deleted.

13 changes: 5 additions & 8 deletions content/en/docs/Badges/WHY2025/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ weight: -2025

# WHY2025

The badge of the upcoming [WHY2025 hacker conference camp](https://why2025.org) is currently in the process of being designed. If you're interested in helping please contact us by joining our telegram group and asking for Lukas (@dalu).
The badge of the upcoming [WHY2025 hacker conference camp](https://why2025.org).

The camp is organized for and by volunteers from and around all facets of the international hacker community. It attracts about 3500 hackers from all around the globe. Knowledge sharing, technological advancement, experimentation, connecting with your hacker peers and of course hacking are some of the core values of this event. During the camp there are hundreds of talks and activities to participate in.

Expand Down Expand Up @@ -39,19 +39,16 @@ WiFi, Bluetooth and even 802.15.4 mesh networking are available thanks to the ES
&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
</p>

* **ALLNET China** was our production partner, for which we are more than grateful. They took care of sourcing most components and oversaw the production process [in China][ALLNET China], saving us a lot of work and potential headaches and allowing us to focus on the product!
* **Espressif** was very generous to donate us all of the [ESP32-WROVER-E][ESP32] modules we needed. The ESP32 has proven itself to be a solid basis for badges in the past, and for related projects such as the [PocketSprite]. Espressifs continued support means a lot to us as it allows us to continue expanding our existing ESP32-based ecosystem!
* [**ALLNET China**][ALLNET China] is our reliable production partner. They took care of sourcing most components and oversaw the production process in China, saving us a lot of work and potential headaches and allowing us to focus on the product!
* [**Espressif**][Espressif] has very generously sponsored ESP32-P4 chips, ESP32-C6 modules as well as the flash chips to store the firwmare. The ESP32 has proven itself to be a solid basis for badges in the past. Espressifs continued support means a lot to us as it allows us to continue expanding our existing ESP32-based ecosystem!

All of our sponsors helped us out in a time when sourcing capable chips was a near-impossible task. Without them, this project would not have been possible. We are grateful to all of them for their help and sponsorship, and we hope to work with them again in future badge projects!

[ALLNET China]: https://www.allnet.de/en/allnet-brand/unternehmen/weltweit/
[ESP32]: https://www.espressif.com/en/products/modules/esp32
[PocketSprite]: https://pocketsprite.com
[Espressif]: https://www.espressif.com/en

## The team

The WHY2025 badge would not have been possible without the help of these amazing volunteers.

...
The WHY2025 badge would not have been possible without the help of our amazing volunteers.

<img src="why2025_mascots.svg" width="80%"/>
47 changes: 47 additions & 0 deletions content/en/docs/Badges/WHY2025/frontpanel/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: "Frontpanel"
linkTitle: "Frontpanel"
nodateline: true
weight: 0
---

This page describes how to design and order a WHY2025 badge frontpanel.

## Designing a frontpanel using Inkscape, svg2shenzhen and Kicad

The first step of designing a frontpanel is creating artwork that can be converted into a Kicad footprint. For this [Inkscape](https://inkscape.org/) and the Inkscape plugin [svg2shenzhen](https://github.com/badgeek/svg2shenzhen) are used.

Of course it is also possible to use any other method which allows you to import a footprint into Kicad so if you're using a different method then you can skip ahead to the Kicad section.

Instructions on how to install svg2shenzhen can be found in the [readme](https://github.com/badgeek/svg2shenzhen?tab=readme-ov-file#install) of the repository.

![Inkscape](inkscape.png)

After opening the design file in Inkscape you will notice that multiple layers are used. Each of the layers in the design corresponds with a Kicad layer, this allows you to define how a shape should appear on the circuit board.

The most important layers are:

- Edge.Cuts: this is the outline of the board, the PCB manufacturer will use a CNC mill to cut the board following the edges of the object on this layer.
- F.Cu and B.Cu: these layers define where to place copper on the front and back of the circuit board.
- F.Mask and B.Mask: all shapes drawn on this layer are cut out of the colored soldermask layer of the board.
- F.SilkS and B.SilkS: these layers are printed on the bront and back silkscreen layer respectively. The silkscreen layer is a non-conductive layer of ink usually used to add reference designators and text to a circuit board.

{{% alert title="Mask layer" color="warning" %}}
The mask layers are negative layers, the contents of the layer determine where NOT to place soldermask.
{{% /alert %}}

{{% alert title="Silkscreen" color="info" %}}
Silkscreen can only be placed on top of solder mask, silkscreen overlapping with any area defined in the mask layers will be removed by the board manufacturer. Keep in mind that Kicad will render the silkscreen in these locations but that this does not match the end result.
{{% /alert %}}

{{% alert title="Edge cut" color="warning" %}}
Round shapes are not correctly exported to Kicad on the Edge.Cuts layer. Workaround is adding a lot more nodes and preferably setting segments to be straight.
{{% /alert %}}

Export the design to Kicad by navigating to `Extensions > Svg2Shenzhen > 2. Export to Kicad...`

![Svg2Shenzhen export dialog](inkscape2.png)

## Kicad

...
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions content/en/docs/Badges/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ weight: 2

### ESP32 based
<div class="homepage_badges">
<div><a href="why2025/"><img src="why2025/why2025.svg" width="400"/></a></div>
<div><a href="mch2022/"><img src="mch2022/mch2022.svg"/></a></div>
<div><a href="sha2017/"><img src="sha2017/sha2017.svg"/></a></div>
<div><a href="hackerhotel-2019/"><img src="hackerhotel-2019/hh2019.svg"/></a></div>
Expand Down
Loading

0 comments on commit ee3d11f

Please sign in to comment.