Skip to content

Commit

Permalink
Merge pull request #26 from B77Mills/cleanupZipCodes
Browse files Browse the repository at this point in the history
Add zip codes to elevator locators, add how-to video & update profit calc buttons
  • Loading branch information
B77Mills authored Nov 16, 2021
2 parents 627d18f + 3052856 commit c572b68
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 35 deletions.
52 changes: 24 additions & 28 deletions app/pages/crop-comparison/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="pt-2 pb-6 md:py-6">
<div class="w-100%">
<div class="p-8 flex justify-between">
<div class="p-8 flex justify-between flex-col md:flex-row">
<client-only>
<page-header slot="placeholder" is-loading>
Calculate Profit Potential
Expand All @@ -12,33 +12,22 @@
</page-header>
<div v-html="sectionText" />
</div>
<div class="flex flex-wrap self-start mb-1">
<btn
class="shadow mr-3 mb-3"
color="logo-white-rd"
href="https://img.highoilsoy.com/Profit+Calculator+Tool+How+To.mp4"
target="_blank"
rel="noopener"
>
How-To Video
</btn>
<btn
class="shadow mr-3 mb-3"
color="logo-white-rd"
href="/profit-calculator-faq-03-12-20.pdf"
target="_blank"
rel="noopener"
>
FAQ
</btn>
<btn
class="shadow mb-3"
color="logo-white-rd"
:disabled="!hasToken"
@click="$router.push('/crop-comparison/create')"
>
New Scenario
</btn>
<div class="flex flex-wrap self-start mb-1 pt-8 md:pt-0 ">
<!-- <a href="/article/how-to-use-the-profit-calculator-tool">
<btn class="shadow mr-3 mb-3" color="logo-white-rd">
How-To Video
</btn>
</a> -->
<a href="/profit-calculator-faq-03-12-20.pdf" target="_blank">
<btn class="shadow mr-3 mb-3" color="logo-white-rd">
FAQ
</btn>
</a>
<a :disabled="!hasToken" @click="$router.push('/crop-comparison/create')">
<btn class="shadow mb-3" color="logo-white-rd">
New Scenario
</btn>
</a>
</div>
</client-only>
</div>
Expand All @@ -63,6 +52,13 @@
Within it, click "Login to High Oil Soy."
</p>
<p>Step 4: Create your personalized scenario.</p>
<p class="mb-4 mt-8 text-lg font-medium text-logo-blue">
How-To Video:
</p>
<video width="100%" height="auto" controls>
<source src="https://img.highoilsoy.com/Profit+Calculator+Tool+How+To.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div v-else>
<!-- Query error -->
Expand Down
6 changes: 3 additions & 3 deletions app/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ module.exports = {
xxs: '.5rem',
},
backgroundImage: {
'home-banner': "url('https://img.highoilsoy.com/home-banner.jpg?w=2000 2x')",
'knowledge-banner': "url('https://img.highoilsoy.com/knowledge-banner.jpg?w=2000 2x')",
'why-banner': "url('https://img.highoilsoy.com/why-banner.jpg?w=2000 2x')",
'home-banner': "url('https://img.highoilsoy.com/home-banner.jpg?w=2000&h=400 2x')",
'knowledge-banner': "url('https://img.highoilsoy.com/knowledge-banner.jpg?w=2000&h=400 2x')",
'why-banner': "url('https://img.highoilsoy.com/why-banner.jpg?w=2000&h=400 2x')",
},
},
},
Expand Down
8 changes: 4 additions & 4 deletions server/src/elevator-locator/address-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ module.exports = [
street: '',
city: 'McGrawsville',
regionCode: 'IN',
postalCode: 99999, // Placeholder
postalCode: 46914,
countryCode: 'USA',
contactName: '',
phoneNumber: '',
Expand All @@ -513,7 +513,7 @@ module.exports = [
street: '',
city: 'Hicksville',
regionCode: 'OH',
postalCode: 99999, // Placeholder
postalCode: 43526,
countryCode: 'USA',
contactName: '',
phoneNumber: '419-497-2101',
Expand All @@ -526,7 +526,7 @@ module.exports = [
street: '',
city: 'Scott',
regionCode: 'OH',
postalCode: 99999, // Placeholder
postalCode: 45886,
countryCode: 'USA',
contactName: 'Jon Etzler',
phoneNumber: '419-622-6151',
Expand All @@ -539,7 +539,7 @@ module.exports = [
street: '',
city: 'Eaton',
regionCode: 'IN',
postalcode: 99999, // Placeholder
postalcode: 47338,
countryCode: 'USA',
contactName: 'David Schnepf',
phoneNumber: '765-282-6226',
Expand Down

0 comments on commit c572b68

Please sign in to comment.