-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
☀ projected laravel-site-github from d857ea4
- Loading branch information
Showing
5 changed files
with
138 additions
and
10 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<template> | ||
<v-container> | ||
<v-row justify="center"> | ||
<v-row | ||
justify="center" | ||
> | ||
<v-col | ||
cols="12" | ||
md="8" | ||
md="9" | ||
align="center" | ||
> | ||
<!-- eslint-disable-next-line vue/html-self-closing --> | ||
|
@@ -34,12 +36,51 @@ | |
<!-- eslint-disable-next-line vue/html-self-closing --> | ||
<img | ||
src="/images/OurPlan_city.png" | ||
style="max-height: 300px; max-width: 100%;" | ||
style="max-height: 300px; max-width: 100%; padding-bottom: 0.75em;" | ||
/> | ||
<v-divider style="padding-bottom:0.75em;" /> | ||
<p> | ||
Watch these short videos to learn why land use and equity is so important. | ||
</p> | ||
<h1>...Three Videos Here...</h1> | ||
<v-row style="margin-bottom:1em;"> | ||
<v-col | ||
cols="12" | ||
sm="4" | ||
> | ||
<div class="video-container"> | ||
<iframe | ||
class="video" | ||
src="https://www.youtube.com/embed/edIIfpSJFbQ" | ||
allowfullscreen | ||
/> | ||
</div> | ||
</v-col> | ||
<v-col | ||
cols="12" | ||
sm="4" | ||
> | ||
<div class="video-container"> | ||
<iframe | ||
class="video" | ||
src="https://www.youtube.com/embed/FNoUIxkMbdI" | ||
allowfullscreen | ||
/> | ||
</div> | ||
</v-col> | ||
<v-col | ||
cols="12" | ||
sm="4" | ||
> | ||
<div class="video-container"> | ||
<iframe | ||
class="video" | ||
src="https://www.youtube.com/embed/VhFk9UO0Olg" | ||
allowfullscreen | ||
/> | ||
</div> | ||
</v-col> | ||
</v-row> | ||
<v-divider /> | ||
</v-col> | ||
</v-row> | ||
<v-row justify="center"> | ||
|
@@ -48,7 +89,6 @@ | |
md="8" | ||
justify="start" | ||
> | ||
<v-divider /> | ||
<h1>About OurPlan</h1> | ||
<p> | ||
OurPlan started as a student project in the Master of Urban Spatial Analytics | ||
|
@@ -69,7 +109,7 @@ | |
We are still discovering who can benefit from OurPlan but we foresee potential users | ||
including neighborhood groups, the Planning Commission, City Councilpersons, and bespoke | ||
community engagement endeavors. We’d love to talk to you about how OurPlan can help! | ||
Reach out | ||
Reach out to | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
for more info. | ||
</p> | ||
|
@@ -115,7 +155,7 @@ | |
</template> | ||
|
||
<script> | ||
import Layout from '../Shared/Layouts/Layout.vue'; | ||
import Layout from '../Shared/Layouts/LayoutOverflow.vue'; | ||
export default { | ||
name: 'About', | ||
|
@@ -128,3 +168,19 @@ export default { | |
}, | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
.video-container { | ||
position: relative; | ||
width: 100%; | ||
padding-bottom: 56.25%; | ||
} | ||
.video { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
border: 0; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<template> | ||
<v-app> | ||
<v-bottom-navigation | ||
v-model="currentRoute" | ||
app | ||
grow | ||
color="primary" | ||
@change="handleNavChange" | ||
> | ||
<v-btn | ||
v-for="item in navItems" | ||
:key="item.route" | ||
:value="item.route" | ||
:style="item.route === 'about' ? 'display:none;' : ''" | ||
> | ||
<span>{{ item.title }}</span> | ||
<v-icon>{{ item.icon }}</v-icon> | ||
</v-btn> | ||
</v-bottom-navigation> | ||
|
||
<v-main | ||
:class="{ isSilk: isSilk }" | ||
> | ||
<slot /> | ||
</v-main> | ||
</v-app> | ||
</template> | ||
|
||
<script> | ||
import '@inertiajs/inertia'; | ||
import { mapFields } from 'vuex-map-fields'; | ||
export default { | ||
data() { | ||
return { | ||
currentRoute: route().current(), | ||
navItems: [ | ||
{ title: 'Engage!', route: 'engage', icon: 'mdi-flag-checkered' }, | ||
{ title: 'Explore', route: 'explore', icon: 'mdi-chart-timeline-variant' }, | ||
{ title: 'Survey', route: 'survey', icon: 'mdi-file-question-outline' }, | ||
{ title: 'About', route: 'about', icon: 'mdi-information-outline' }, | ||
], | ||
}; | ||
}, | ||
computed: { | ||
...mapFields([ | ||
'isSilk', | ||
]), | ||
}, | ||
mounted() { | ||
// try to detect silk browser for special styling | ||
const match = /(?:; ([^;)]+) Build\/.*)?\bSilk\/([0-9._-]+)\b(.*\bMobile Safari\b)?/.exec(window.navigator.userAgent); | ||
if (match) { | ||
this.isSilk = true; | ||
} | ||
}, | ||
methods: { | ||
handleNavChange() { | ||
this.$inertia.get(route(this.currentRoute), {}, { replace: true }); | ||
}, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style> | ||
.v-main.isSilk { | ||
max-height: calc(100vh - 112px); | ||
} | ||
</style> |