-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from parameter1/allSortsOfChanges
Initial pass at implementing the new design
- Loading branch information
Showing
26 changed files
with
497 additions
and
145 deletions.
There are no files selected for viewing
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
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
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
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
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,93 @@ | ||
<template> | ||
<div :class="setDivClass"> | ||
<div :class="setSectionLabelSize"> | ||
<div class="intro-image-wrapper relative"> | ||
<img v-if="image" :src="image"> | ||
</div> | ||
<div class="test h-full relative top right left flex justify-center flex-col"> | ||
<h1 :class="titleClasses"> | ||
{{ sectionLabel }} | ||
</h1> | ||
<p v-if="sectionTagline" :class="sectionTaglineClasses"> | ||
{{ sectionTagline }} | ||
</p> | ||
</div> | ||
</div> | ||
<p v-if="sectionText" class="text-sm w-4/6 mb-6 mx-auto text-center"> | ||
{{ sectionText }} | ||
</p> | ||
<div v-if="linkLocation" class="w-100% flex justify-center"> | ||
<btn | ||
class="w-auto" | ||
type="button" | ||
:block="isBlock" | ||
color="logo-yellow" | ||
@click="sendTo(linkLocation)" | ||
> | ||
{{ buttonLabel }} | ||
</btn> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Btn from './button.vue'; | ||
export default { | ||
components: { | ||
Btn, | ||
}, | ||
props: { | ||
buttonLabel: { | ||
type: String, | ||
default: '', | ||
}, | ||
backgroundImageClass: { | ||
type: String, | ||
default: '', | ||
}, | ||
image: { | ||
type: String, | ||
default: '', | ||
}, | ||
sectionLabel: { | ||
type: String, | ||
default: '', | ||
}, | ||
sectionTagline: { | ||
type: String, | ||
default: '', | ||
}, | ||
sectionText: { | ||
type: String, | ||
default: '', | ||
}, | ||
linkLocation: { | ||
type: String, | ||
default: '', | ||
}, | ||
}, | ||
data: () => ({ | ||
isBlock: false, | ||
titleClasses: 'font-bold mb-3 mb:mb-6 text-3xl md:text-5xl px-6 italic text-white text-center text-shadow-dark', | ||
sectionTaglineClasses: 'font-bold md:text-sm px-6 text-center text-white text-shadow-dark', | ||
}), | ||
computed: { | ||
setSectionLabelSize() { | ||
return `h-72 mb-6 ${this.backgroundImageClass} bg-cover bg-center overflow-hidden`; | ||
}, | ||
setDivClass() { | ||
// if (this.isFirst) { | ||
// return 'h-5/6'; | ||
// } | ||
return 'h-auto'; | ||
}, | ||
}, | ||
methods: { | ||
sendTo(location) { | ||
this.$router.push(location); | ||
}, | ||
}, | ||
}; | ||
</script> |
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
Oops, something went wrong.