Skip to content

Commit

Permalink
doc(demo): Update demo links
Browse files Browse the repository at this point in the history
  • Loading branch information
bastienwirtz committed Jun 20, 2024
1 parent 5935a62 commit 8196cf7
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 72 deletions.
77 changes: 37 additions & 40 deletions dummy-data/openweather/weather
Original file line number Diff line number Diff line change
@@ -1,46 +1,43 @@
{
"coord": {
"lon": 4.5833,
"lat": 45.75
},
"weather": [
"coord": {
"lon": 3.0586,
"lat": 50.633
},
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "overcast clouds",
"icon": "04d"
"id": 800,
"main": "Clear",
"description": "clear sky",
"icon": "01d"
}
],
"base": "stations",
"main": {
"temp": 23,
"feels_like": 22.3,
"temp_min": 21.75,
"temp_max": 25.03,
],
"base": "stations",
"main": {
"temp": 287.38,
"feels_like": 286.76,
"temp_min": 286.38,
"temp_max": 287.71,
"pressure": 1019,
"humidity": 36,
"sea_level": 1019,
"grnd_level": 957
},
"visibility": 10000,
"wind": {
"speed": 2.29,
"deg": 174,
"gust": 6.22
},
"clouds": {
"all": 97
},
"dt": 1667136939,
"sys": {
"humidity": 73
},
"visibility": 10000,
"wind": {
"speed": 3.09,
"deg": 30
},
"clouds": {
"all": 0
},
"dt": 1718867378,
"sys": {
"type": 2,
"id": 2005747,
"id": 2011132,
"country": "FR",
"sunrise": 1667110705,
"sunset": 1667147524
},
"timezone": 3600,
"id": 2996943,
"name": "Lyon",
"cod": 200
}
"sunrise": 1718854500,
"sunset": 1718913826
},
"timezone": 7200,
"id": 2998324,
"name": "Lille",
"cod": 200
}
76 changes: 44 additions & 32 deletions public/assets/config-demo.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ colors:
link: "#3273dc"
link-hover: "#ffdd57"

columns: "3"

defaults:
layout: list

# Optional message
message:
style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options.
Expand All @@ -49,7 +54,7 @@ message:
# Optional navbar
# links: [] # Allows for navbar (dark mode, layout, and search) without any links
links:
- name: "Contribute"
- name: "Contribute!"
icon: "fab fa-github"
url: "https://github.com/bastienwirtz/homer"
target: "_blank" # optional html a tag target attribute
Expand All @@ -66,9 +71,41 @@ links:
# 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).
services:
- name: "My apps"
icon: "fas fa-cloud"
- name: "Try Homer"
icon: "fa-solid fa-arrow-right"
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"
logo: "https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/pi-hole.png"
url: "https://pi-hole.net/"
Expand All @@ -84,48 +121,23 @@ services:
warning_value: 50
danger_value: 80
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"
location: "Lyon"
location: "Lille"
apikey: "xxxxxxxxxxxx" # insert your own API key here. Request one from https://openweathermap.org/api.
units: "metric"
endpoint: "https://homer-demo-content.netlify.app/openweather/weather"
type: "OpenWeather"
- name: "interesting links"
icon: "fas fa-solid fa-arrow-up-right-from-square"
- name: "Ressources"
icon: "fa-regular fa-bookmark"
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"
icon: "fa-brands fa-reddit-alien"
subtitle: "Bookmark example"
tag: "reddit"
url: "https://www.reddit.com/r/selfhosted/"
target: "_blank"
- name: "Awesome selfhosted"
icon: "fa-brands fa-github-alt"
icon: "fa-solid fa-star"
subtitle: "Another application"
tag: "awesome-list"
url: "https://github.com/awesome-selfhosted/awesome-selfhosted"

0 comments on commit 8196cf7

Please sign in to comment.