diff options
-rw-r--r-- | public/assets/config-demo.yml.dist | 85 | ||||
-rw-r--r-- | public/assets/config.yml.dist | 6 |
2 files changed, 88 insertions, 3 deletions
diff --git a/public/assets/config-demo.yml.dist b/public/assets/config-demo.yml.dist new file mode 100644 index 0000000..bbfd0af --- /dev/null +++ b/public/assets/config-demo.yml.dist | |||
@@ -0,0 +1,85 @@ | |||
1 | --- | ||
2 | # Homepage configuration | ||
3 | # See https://fontawesome.com/v5/search for icons options | ||
4 | |||
5 | title: "Demo dashboard" | ||
6 | subtitle: "Homer" | ||
7 | logo: "logo.png" | ||
8 | # icon: "fas fa-skull-crossbones" # Optional icon | ||
9 | |||
10 | header: true | ||
11 | footer: '<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a href="https://vuejs.org/">vuejs</a> & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fab fa-github-alt"></i></a></p>' # set false if you want to hide it. | ||
12 | |||
13 | # Optional theme customization | ||
14 | theme: default | ||
15 | colors: | ||
16 | light: | ||
17 | highlight-primary: "#3367d6" | ||
18 | highlight-secondary: "#4285f4" | ||
19 | highlight-hover: "#5a95f5" | ||
20 | background: "#f5f5f5" | ||
21 | card-background: "#ffffff" | ||
22 | text: "#363636" | ||
23 | text-header: "#ffffff" | ||
24 | text-title: "#303030" | ||
25 | text-subtitle: "#424242" | ||
26 | card-shadow: rgba(0, 0, 0, 0.1) | ||
27 | link: "#3273dc" | ||
28 | link-hover: "#363636" | ||
29 | dark: | ||
30 | highlight-primary: "#3367d6" | ||
31 | highlight-secondary: "#4285f4" | ||
32 | highlight-hover: "#5a95f5" | ||
33 | background: "#131313" | ||
34 | card-background: "#2b2b2b" | ||
35 | text: "#eaeaea" | ||
36 | text-header: "#ffffff" | ||
37 | text-title: "#fafafa" | ||
38 | text-subtitle: "#f5f5f5" | ||
39 | card-shadow: rgba(0, 0, 0, 0.4) | ||
40 | link: "#3273dc" | ||
41 | link-hover: "#ffdd57" | ||
42 | |||
43 | # Optional message | ||
44 | message: | ||
45 | #url: https://b4bz.io | ||
46 | style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. | ||
47 | title: "Demo !" | ||
48 | icon: "fa fa-grin" | ||
49 | content: "This is a dummy homepage demo. <br /> Find more information on <a href='https://github.com/bastienwirtz/homer'>github.com/bastienwirtz/homer</a>" | ||
50 | |||
51 | # Optional navbar | ||
52 | # links: [] # Allows for navbar (dark mode, layout, and search) without any links | ||
53 | links: | ||
54 | - name: "Contribute" | ||
55 | icon: "fab fa-github" | ||
56 | url: "https://github.com/bastienwirtz/homer" | ||
57 | target: "_blank" # optional html a tag target attribute | ||
58 | - name: "Wiki" | ||
59 | icon: "fas fa-book" | ||
60 | url: "https://www.wikipedia.org/" | ||
61 | # this will link to a second homer page that will load config from additional-page.yml and keep default config values as in config.yml file | ||
62 | # see url field and assets/additional-page.yml.dist used in this example: | ||
63 | - name: "another page!" | ||
64 | icon: "fas fa-file-alt" | ||
65 | url: "#additional-page" | ||
66 | |||
67 | # Services | ||
68 | # First level array represent a group. | ||
69 | # Leave only a "items" key if not using group (group name, icon & tagstyle are optional, section separation will not be displayed). | ||
70 | services: | ||
71 | - name: "Applications" | ||
72 | icon: "fas fa-cloud" | ||
73 | items: | ||
74 | - name: "Awesome app" | ||
75 | logo: "assets/tools/sample.png" | ||
76 | subtitle: "Bookmark example" | ||
77 | tag: "app" | ||
78 | keywords: "self hosted reddit" | ||
79 | url: "https://www.reddit.com/r/selfhosted/" | ||
80 | target: "_blank" # optional html a tag target attribute | ||
81 | - name: "Another one" | ||
82 | logo: "assets/tools/sample2.png" | ||
83 | subtitle: "Another application" | ||
84 | tag: "app" | ||
85 | url: "#" | ||
diff --git a/public/assets/config.yml.dist b/public/assets/config.yml.dist index bbfd0af..cb84ccf 100644 --- a/public/assets/config.yml.dist +++ b/public/assets/config.yml.dist | |||
@@ -60,9 +60,9 @@ links: | |||
60 | url: "https://www.wikipedia.org/" | 60 | url: "https://www.wikipedia.org/" |
61 | # this will link to a second homer page that will load config from additional-page.yml and keep default config values as in config.yml file | 61 | # this will link to a second homer page that will load config from additional-page.yml and keep default config values as in config.yml file |
62 | # see url field and assets/additional-page.yml.dist used in this example: | 62 | # see url field and assets/additional-page.yml.dist used in this example: |
63 | - name: "another page!" | 63 | #- name: "another page!" |
64 | icon: "fas fa-file-alt" | 64 | # icon: "fas fa-file-alt" |
65 | url: "#additional-page" | 65 | # url: "#additional-page" |
66 | 66 | ||
67 | # Services | 67 | # Services |
68 | # First level array represent a group. | 68 | # First level array represent a group. |