aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html59
1 files changed, 26 insertions, 33 deletions
diff --git a/index.html b/index.html
index 3b83c8e..235afde 100644
--- a/index.html
+++ b/index.html
@@ -7,8 +7,8 @@
7 <meta name="robots" content="noindex"> 7 <meta name="robots" content="noindex">
8 <link rel="icon" type="image/png" href="assets/favicon.png"> 8 <link rel="icon" type="image/png" href="assets/favicon.png">
9 <title>Homer</title> 9 <title>Homer</title>
10 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" 10 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
11 integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> 11 integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
12 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css"> 12 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css">
13 <link href="https://fonts.googleapis.com/css?family=Lato|Raleway" rel="stylesheet"> 13 <link href="https://fonts.googleapis.com/css?family=Lato|Raleway" rel="stylesheet">
14 <link rel="stylesheet" href="app.css"> 14 <link rel="stylesheet" href="app.css">
@@ -40,6 +40,8 @@
40 </a> 40 </a>
41 </div> 41 </div>
42 <div class="end"> 42 <div class="end">
43 <a v-on:click="vlayout = !vlayout" class="icon-button navbar-item"><i
44 :class="['fas', vlayout ? 'fa-list' : 'fa-columns']"></i></a>
43 <div class="search-bar"> 45 <div class="search-bar">
44 <label for="search" class="search-label"></label> 46 <label for="search" class="search-label"></label>
45 <input type="text" id="search" v-model="filter" /> 47 <input type="text" id="search" v-model="filter" />
@@ -70,39 +72,30 @@
70 72
71 <h2 v-if="filter"><i class="fas fa-search"></i> Search</h2> 73 <h2 v-if="filter"><i class="fas fa-search"></i> Search</h2>
72 74
73 <div v-for="(group, index) in config.services"> 75 <!-- Horizontal layout -->
74 <h2 v-if="!filter && group.name"><i v-if="group.icon" :class="group.icon"></i><span v-else>#</span> 76 <div v-if="!vlayout || filter" class="columns is-multiline">
75 {{ group.name }}</h2> 77 <template v-for="(group, index) in config.services">
76 <div class="columns is-multiline"> 78 <h2 v-if="!filter && group.name" class="column is-full"><i v-if="group.icon" :class="group.icon"></i><span
77 <div v-for="item in group.items" 79 v-else>#</span>
78 v-if="!filter || (item && (item.name.toLowerCase().includes(filter.toLowerCase()) || (item.tag && item.tag.toLowerCase().includes(filter.toLowerCase()))))" 80 {{ group.name }}</h2>
79 class="column is-one-third-widescreen"> 81 <service v-for="item in group.items" v-bind:item="item" class="column is-one-third-widescreen"
80 <div v-if='item' class="card"> 82 v-if="!filter || (item && (item.name.toLowerCase().includes(filter.toLowerCase()) || (item.tag && item.tag.toLowerCase().includes(filter.toLowerCase()))))">
81 <a :href="item.url"> 83 </service>
82 <div class="card-content"> 84 </template>
83 <div class="media"> 85 </div>
84 <div v-if="item.logo" class="media-left"> 86
85 <figure class="image is-48x48"> 87 <!-- Vertical layout -->
86 <img :src="item.logo" /> 88 <div v-if="!filter && vlayout" class="columns is-multiline layout-vertical">
87 </figure> 89 <div class="column is-one-third-widescreen" v-for="(group, index) in config.services">
88 </div> 90 <h2 v-if="!filter && group.name"><i v-if="group.icon" :class="group.icon"></i><span v-else>#</span>
89 <div v-if="item.icon" class="media-left"> 91 {{ group.name }}</h2>
90 <figure class="image is-48x48"> 92 <service v-for="item in group.items" v-bind:item="item"
91 <i style="font-size: 35px" :class="item.icon"></i> 93 v-if="!filter || (item && (item.name.toLowerCase().includes(filter.toLowerCase()) || (item.tag && item.tag.toLowerCase().includes(filter.toLowerCase()))))">
92 </figure> 94 </service>
93 </div>
94 <div class="media-content">
95 <p class="title is-4">{{ item.name }}</p>
96 <p class="subtitle is-6">{{ item.subtitle }}</p>
97 </div>
98 </div>
99 <strong class="tag" v-if="item.tag">#{{ item.tag }}</strong>
100 </div>
101 </a>
102 </div>
103 </div>
104 </div> 95 </div>
105 </div> 96 </div>
97
98
106 </div> 99 </div>
107 </div> 100 </div>
108 </section> 101 </section>