Skip to content

Commit

Permalink
feat: new home page, about page, closer to 100% lighthouse PWA score
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Nov 15, 2019
1 parent fbc0ec6 commit 2d045b7
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 65 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/img/icons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/img/icons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
],
"start_url": "/index.html",
"display": "standalone",
"background_color": "#179AFF",
"background_color": "#179aff",
"theme_color": "#179aff"
}
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
item
>
<v-img
src="@/assets/logo.svg"
src="@/assets/logo5.svg"
alt="Vuetify"
/>
</v-avatar>
Expand Down
Binary file added src/assets/home-screen-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const routes = [
name: 'home',
// component: Home
// component: () => import(/* webpackChunkName: "home" */ '../views/Home.vue')
component: () => import(/* webpackChunkName: "timeline" */ '../views/Timeline.vue')
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
},
{
path: '/timeline',
Expand Down
74 changes: 44 additions & 30 deletions src/views/About.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,54 @@
align="center"
justify="center"
>
<div class="about">
<strong>About page content goes here...</strong>
</div>
<v-tooltip right>
<template v-slot:activator="{ on }">
<v-btn
href="https://github.com/ambianic"
icon
large
target="_blank"
v-on="on"
<v-card
max-width="344"
class="mx-auto"
>
<v-icon large>
mdi-code-tags
</v-icon>
</v-btn>
<v-list-item
align="center"
justify="center"
>
<v-list-item-content>
<v-list-item-title class="headline">Cozy at Home</v-list-item-title>
<v-list-item-subtitle>via Ambient Intelligence</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>

<v-img
src="@/assets/home-screen-logo.png"
height="194"
></v-img>

<v-card-text>
Ambianic's mission is to make your home a little cozier.
Review your home timeline for notable moments. Configure input sensors and
camers for Ambianic to observe.
Share, purge
or backup your data - it never slips out of your control.
</v-card-text>

<v-card-actions>
<v-btn
text
color="info"
:to="'timeline'"
>
View Timeline
</v-btn>
<v-spacer></v-spacer>
<v-btn
text
color="info"
:to="'settings'"
>
Settings
</v-btn>
</v-card-actions>
</v-card>
</template>
<span>Source</span>
</v-tooltip>
<v-tooltip right>
<template v-slot:activator="{ on }">
<v-btn
icon
large
href="https://codepen.io/johnjleider/pen/MNYLdL"
target="_blank"
v-on="on"
>
<v-icon large>
mdi-codepen
</v-icon>
</v-btn>
</template>
<span>Codepen</span>
</v-tooltip>
</v-row>
</template>
74 changes: 44 additions & 30 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,54 @@
align="center"
justify="center"
>
<div class="about">
<strong>(Home.vue) Home page content goes here...</strong>
</div>
<v-tooltip right>
<template v-slot:activator="{ on }">
<v-btn
href="https://github.com/ambianic"
icon
large
target="_blank"
v-on="on"
<v-card
max-width="344"
class="mx-auto"
>
<v-icon large>
mdi-code-tags
</v-icon>
</v-btn>
<v-list-item
align="center"
justify="center"
>
<v-list-item-content>
<v-list-item-title class="headline">Cozy at Home</v-list-item-title>
<v-list-item-subtitle>via Ambient Intelligence</v-list-item-subtitle>
</v-list-item-content>
</v-list-item>

<v-img
src="@/assets/home-screen-logo.png"
height="194"
></v-img>

<v-card-text>
Ambianic's mission is to make your home a little cozier.
Review your home timeline for notable moments. Configure input sensors and
camers for Ambianic to observe.
Share, purge
or backup your data - it never slips out of your control.
</v-card-text>

<v-card-actions>
<v-btn
text
color="info"
:to="'timeline'"
>
View Timeline
</v-btn>
<v-spacer></v-spacer>
<v-btn
text
color="info"
:to="'settings'"
>
Settings
</v-btn>
</v-card-actions>
</v-card>
</template>
<span>Source</span>
</v-tooltip>
<v-tooltip right>
<template v-slot:activator="{ on }">
<v-btn
icon
large
href="https://codepen.io/johnjleider/pen/MNYLdL"
target="_blank"
v-on="on"
>
<v-icon large>
mdi-codepen
</v-icon>
</v-btn>
</template>
<span>Codepen</span>
</v-tooltip>
</v-row>
</template>
4 changes: 2 additions & 2 deletions src/views/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
class="pa-0 ma-0"
>
<v-col
align="left"
justify="left"
align="center"
justify="center"
cols="12"
class="pa-0 ma-0 fill-height"
>
Expand Down

0 comments on commit 2d045b7

Please sign in to comment.