cncf / landscape2

Landscape2 is a tool that generates interactive landscapes websites
https://landscape.cncf.io
Apache License 2.0
117 stars 29 forks source link

Add option to set default view via settings #530

Closed cafkafk closed 2 months ago

cafkafk commented 3 months ago

For https://landscape.nixlang.wiki we wanted to use the card view instead of the grid view as the default. Sadly, we currently have to compile our own version of landscap2 just to change this.

We would love if there was an option for this instead!

This part of the code might be relavant: https://github.com/cncf/landscape2/blob/4365ca1a6eb3b175b57216d4ea9e602d4b286ef5/web/src/data.ts#L46

tegioz commented 3 months ago

Thanks @cafkafk, we'll make this configurable 🙂

tegioz commented 2 months ago

Done!

Closed by #572 and #574