doc(demo): Update demo links

pull/749/head^2
Bastien Wirtz 2024-06-20 09:37:44 +02:00
parent 5935a62aad
commit 8196cf71a4
2 changed files with 81 additions and 72 deletions

View File

@ -1,46 +1,43 @@
{ {
"coord": { "coord": {
"lon": 4.5833, "lon": 3.0586,
"lat": 45.75 "lat": 50.633
}, },
"weather": [ "weather": [
{ {
"id": 804, "id": 800,
"main": "Clouds", "main": "Clear",
"description": "overcast clouds", "description": "clear sky",
"icon": "04d" "icon": "01d"
} }
], ],
"base": "stations", "base": "stations",
"main": { "main": {
"temp": 23, "temp": 287.38,
"feels_like": 22.3, "feels_like": 286.76,
"temp_min": 21.75, "temp_min": 286.38,
"temp_max": 25.03, "temp_max": 287.71,
"pressure": 1019, "pressure": 1019,
"humidity": 36, "humidity": 73
"sea_level": 1019, },
"grnd_level": 957 "visibility": 10000,
}, "wind": {
"visibility": 10000, "speed": 3.09,
"wind": { "deg": 30
"speed": 2.29, },
"deg": 174, "clouds": {
"gust": 6.22 "all": 0
}, },
"clouds": { "dt": 1718867378,
"all": 97 "sys": {
},
"dt": 1667136939,
"sys": {
"type": 2, "type": 2,
"id": 2005747, "id": 2011132,
"country": "FR", "country": "FR",
"sunrise": 1667110705, "sunrise": 1718854500,
"sunset": 1667147524 "sunset": 1718913826
}, },
"timezone": 3600, "timezone": 7200,
"id": 2996943, "id": 2998324,
"name": "Lyon", "name": "Lille",
"cod": 200 "cod": 200
} }

View File

@ -40,6 +40,11 @@ colors:
link: "#3273dc" link: "#3273dc"
link-hover: "#ffdd57" link-hover: "#ffdd57"
columns: "3"
defaults:
layout: list
# Optional message # Optional message
message: message:
style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options.
@ -49,7 +54,7 @@ message:
# Optional navbar # Optional navbar
# links: [] # Allows for navbar (dark mode, layout, and search) without any links # links: [] # Allows for navbar (dark mode, layout, and search) without any links
links: links:
- name: "Contribute" - name: "Contribute!"
icon: "fab fa-github" icon: "fab fa-github"
url: "https://github.com/bastienwirtz/homer" url: "https://github.com/bastienwirtz/homer"
target: "_blank" # optional html a tag target attribute target: "_blank" # optional html a tag target attribute
@ -66,9 +71,41 @@ links:
# First level array represent a group. # First level array represent a group.
# Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). # Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed).
services: services:
- name: "My apps" - name: "Try Homer"
icon: "fas fa-cloud" icon: "fa-solid fa-arrow-right"
items: items:
- name: "Get started"
icon: "fa-solid fa-download"
subtitle: "Start using Homer in a few minutes"
tag: "setup"
url: "https://github.com/bastienwirtz/homer?tab=readme-ov-file#getting-started"
- name: "Configuration"
icon: "fa-solid fa-sliders"
subtitle: "Configuration options documentation"
tag: "setup"
url: "https://github.com/bastienwirtz/homer/blob/main/docs/configuration.md"
- name: "Theming"
icon: "fa-solid fa-palette"
subtitle: "Customize Homer appearance"
tag: "theming"
url: "https://github.com/bastienwirtz/homer/blob/main/docs/theming.md"
- name: "Smart cards"
icon: "fa-solid fa-palette"
subtitle: "Displays dynamic information or actions."
tag: "setup"
url: "https://github.com/bastienwirtz/homer/blob/main/docs/theming.md"
- name: "Buy me a coffee!"
subtitle: "Sponsor this project"
icon: "fa-solid fa-mug-hot"
url: "https://www.buymeacoffee.com/bastien"
- name: "Smart cards showcase"
icon: "fa-solid fa-brain"
items:
- name: "Octoprint"
logo: "https://cdn-icons-png.flaticon.com/512/3112/3112529.png"
apikey: "xxxxxxxxxxxx"
endpoint: "https://homer-demo-content.netlify.app/octoprint"
type: "OctoPrint"
- name: "Pi-hole" - name: "Pi-hole"
logo: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/pi-hole.png" logo: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/pi-hole.png"
url: "https://pi-hole.net/" url: "https://pi-hole.net/"
@ -84,40 +121,15 @@ services:
warning_value: 50 warning_value: 50
danger_value: 80 danger_value: 80
api_token: "xxxxxxxxxxxx" api_token: "xxxxxxxxxxxx"
- name: "An awesome app"
logo: "assets/tools/sample.png"
subtitle: "Bookmark example"
tag: "app"
keywords: "self hosted reddit"
url: "https://www.reddit.com/r/selfhosted/"
- name: "Tools"
icon: "fa-solid fa-screwdriver-wrench"
items:
- name: "Octoprint"
logo: "https://cdn-icons-png.flaticon.com/512/3112/3112529.png"
apikey: "xxxxxxxxxxxx"
endpoint: "https://homer-demo-content.netlify.app/octoprint"
type: "OctoPrint"
- name: "Example item"
logo: "assets/tools/sample.png"
subtitle: "This another example"
tag: "app"
keywords: "demo"
url: "#"
target: "_blank"
- name: "Weather" - name: "Weather"
location: "Lyon" location: "Lille"
apikey: "xxxxxxxxxxxx" # insert your own API key here. Request one from https://openweathermap.org/api. apikey: "xxxxxxxxxxxx" # insert your own API key here. Request one from https://openweathermap.org/api.
units: "metric" units: "metric"
endpoint: "https://homer-demo-content.netlify.app/openweather/weather" endpoint: "https://homer-demo-content.netlify.app/openweather/weather"
type: "OpenWeather" type: "OpenWeather"
- name: "interesting links" - name: "Ressources"
icon: "fas fa-solid fa-arrow-up-right-from-square" icon: "fa-regular fa-bookmark"
items: items:
- name: "Buy me a coffee !"
subtitle: "If you want to support me, buy me a coffee "
logo: "https://www.buymeacoffee.com/assets/img/guidelines/logo-mark-1.svg"
url: "https://www.buymeacoffee.com/bastien"
- name: "r/selfhosted" - name: "r/selfhosted"
icon: "fa-brands fa-reddit-alien" icon: "fa-brands fa-reddit-alien"
subtitle: "Bookmark example" subtitle: "Bookmark example"
@ -125,7 +137,7 @@ services:
url: "https://www.reddit.com/r/selfhosted/" url: "https://www.reddit.com/r/selfhosted/"
target: "_blank" target: "_blank"
- name: "Awesome selfhosted" - name: "Awesome selfhosted"
icon: "fa-brands fa-github-alt" icon: "fa-solid fa-star"
subtitle: "Another application" subtitle: "Another application"
tag: "awesome-list" tag: "awesome-list"
url: "https://github.com/awesome-selfhosted/awesome-selfhosted" url: "https://github.com/awesome-selfhosted/awesome-selfhosted"