Getting ready to deploy
Torey Heinz
committed Apr 02, 2018
commit 74be6333a5976f27287bf614f1405cea239314e4
Showing 13
changed files with
82 additions
and 59 deletions
app/content_types/customer_messages.yml
+19
-5
| @@ | @@ -26,9 +26,9 @@ public_submission_enabled: true |
| public_submission_accounts: ['torey@teagles.io'] | |
| # Control the display of the content type in the back-office. | |
| - | # display_settings: |
| - | # seo: false # display the SEO tab for the content entries |
| - | # advanced: false # display the Advanced tab for the content entries |
| + | display_settings: |
| + | seo: false # display the SEO tab for the content entries |
| + | advanced: false # display the Advanced tab for the content entries |
| # position: 1 # position in the sidebar menu | |
| # hidden: false # hidden for authors? | |
| @@ | @@ -58,8 +58,22 @@ fields: |
| - address: # The lowercase, underscored name of the field | |
| label: Address # Human readable name of the field | |
| type: string | |
| - | required: true |
| - | localized: false |
| + | required: false |
| + | |
| + | - city: # The lowercase, underscored name of the field |
| + | label: City # Human readable name of the field |
| + | type: string |
| + | required: false |
| + | |
| + | - state: # The lowercase, underscored name of the field |
| + | label: State # Human readable name of the field |
| + | type: string |
| + | required: false |
| + | |
| + | - zip: # The lowercase, underscored name of the field |
| + | label: Zip # Human readable name of the field |
| + | type: string |
| + | required: false |
| - message: # The lowercase, underscored name of the field | |
| label: Message # Human readable name of the field | |
app/content_types/images.yml
+3
-3
| @@ | @@ -26,9 +26,9 @@ order_by: title |
| # public_submission_accounts: ['john@example.com'] | |
| # Control the display of the content type in the back-office. | |
| - | # display_settings: |
| - | # seo: false # display the SEO tab for the content entries |
| - | # advanced: false # display the Advanced tab for the content entries |
| + | display_settings: |
| + | seo: false # display the SEO tab for the content entries |
| + | advanced: false # display the Advanced tab for the content entries |
| # position: 1 # position in the sidebar menu | |
| # hidden: false # hidden for authors? | |
app/content_types/project_requests.yml
+19
-10
| @@ | @@ -26,9 +26,9 @@ public_submission_enabled: true |
| # public_submission_accounts: ['john@example.com'] | |
| # Control the display of the content type in the back-office. | |
| - | # display_settings: |
| - | # seo: false # display the SEO tab for the content entries |
| - | # advanced: false # display the Advanced tab for the content entries |
| + | display_settings: |
| + | seo: false # display the SEO tab for the content entries |
| + | advanced: false # display the Advanced tab for the content entries |
| # position: 1 # position in the sidebar menu | |
| # hidden: false # hidden for authors? | |
| @@ | @@ -41,29 +41,39 @@ fields: |
| label: Name # Human readable name of the field | |
| type: string | |
| required: true | |
| - | hint: Explanatory text displayed in the back office |
| localized: false | |
| - email: # The lowercase, underscored name of the field | |
| label: Email # Human readable name of the field | |
| type: string | |
| required: false | |
| - | hint: Explanatory text displayed in the back office |
| localized: false | |
| - phone: # The lowercase, underscored name of the field | |
| label: Phone # Human readable name of the field | |
| type: string | |
| required: false | |
| - | hint: Explanatory text displayed in the back office |
| localized: false | |
| - address: # The lowercase, underscored name of the field | |
| label: Address # Human readable name of the field | |
| type: string | |
| required: false | |
| - | hint: Explanatory text displayed in the back office |
| - | localized: false |
| + | |
| + | - city: # The lowercase, underscored name of the field |
| + | label: City # Human readable name of the field |
| + | type: string |
| + | required: false |
| + | |
| + | - state: # The lowercase, underscored name of the field |
| + | label: State # Human readable name of the field |
| + | type: string |
| + | required: false |
| + | |
| + | - zip: # The lowercase, underscored name of the field |
| + | label: Zip # Human readable name of the field |
| + | type: string |
| + | required: false |
| - location: # The lowercase, underscored name of the field | |
| label: Location # Human readable name of the field | |
| @@ | @@ -73,10 +83,9 @@ fields: |
| localized: false | |
| - completion_date: # The lowercase, underscored name of the field | |
| - | label: Completion date # Human readable name of the field |
| + | label: Requested Completion Date # Human readable name of the field |
| type: string | |
| required: false | |
| - | hint: Explanatory text displayed in the back office |
| localized: false | |
| - project_description: # The lowercase, underscored name of the field | |
app/content_types/projects.yml
+6
-0
| @@ | @@ -61,3 +61,9 @@ fields: |
| type: many_to_many | |
| class_name: images | |
| inverse_of: projects | |
| + | |
| + | - testimonials: |
| + | label: Testimonials |
| + | type: many_to_many |
| + | class_name: testimonials |
| + | inverse_of: projects |
app/content_types/testimonials.yml
+3
-3
| @@ | @@ -26,9 +26,9 @@ order_by: manually |
| # public_submission_accounts: ['john@example.com'] | |
| # Control the display of the content type in the back-office. | |
| - | # display_settings: |
| - | # seo: false # display the SEO tab for the content entries |
| - | # advanced: false # display the Advanced tab for the content entries |
| + | display_settings: |
| + | seo: false # display the SEO tab for the content entries |
| + | advanced: false # display the Advanced tab for the content entries |
| # position: 1 # position in the sidebar menu | |
| # hidden: false # hidden for authors? | |
app/views/pages/layouts/application.liquid
+0
-8
| @@ | @@ -12,14 +12,6 @@ is_layout: true |
| {% include 'metatags' %} | |
| <link href="https://fonts.googleapis.com/css?family=Playfair+Display" rel="stylesheet"> | |
| {{ 'app.css' | stylesheet_tag }} | |
| - | <!-- Global Site Tag (gtag.js) - Google Analytics --> |
| - | <script async src="https://www.googletagmanager.com/gtag/js?id=###"></script> |
| - | <script> |
| - | window.dataLayer = window.dataLayer || []; |
| - | function gtag(){dataLayer.push(arguments)}; |
| - | gtag('js', new Date()); |
| - | gtag('config', '###'); |
| - | </script> |
| {% block head %} | |
| {% endblock %} | |
| <script src='https://www.google.com/recaptcha/api.js'></script> | |
app/views/pages/services/content_type_template.liquid
+1
-1
| @@ | @@ -8,7 +8,7 @@ content_type: services |
| {% endblock %} | |
| {% block main %} | |
| - | <header class="service" style="background-image: url({{ service.featured_image.url | resize: '1200x400#', optimize: 90 }})"> |
| + | <header class="service" style="background-image: url({{ service.featured_image.url | resize: '1200x400#n', optimize: 90 }})"> |
| <div class="content row column text-center"> | |
| <h1>{{ service.title }}</h1> | |
| </div> | |
app/views/pages/thank-you.liquid
+0
-26
| @@ | @@ -1,26 +0,0 @@ |
| - | --- |
| - | title: Thank You! |
| - | slug: thank-you |
| - | listed: false |
| - | published: true |
| - | is_layout: false |
| - | editable_elements: |
| - | "main/heading": "We'll be contacting you soon!" |
| - | "main/content": "We know you are excited to get started, while you wait, see what others have said." |
| - | --- |
| - | {% extends 'layouts/page' %} |
| - | {% block 'main' %} |
| - | {% include 'page_header' %} |
| - | <section class="row page {{ page.slug }}"> |
| - | <div class="column medium-8 small-centered"> |
| - | <div class="callout"> |
| - | <h2 class="text-center">{% editable_text "heading", line_break: false, format: 'raw', rows: 1 %}Heading{% endeditable_text %}</h2> |
| - | <div class="text-center"> |
| - | {% editable_text content %}Lorem ipsum{% endeditable_text %} |
| - | </div> |
| - | <hr class="thin"> |
| - | {% include 'testimonials' %} |
| - | </div> |
| - | </div> |
| - | </section> |
| - | {% endblock %} |
app/views/snippets/metatags.liquid
+14
-1
| @@ | @@ -23,6 +23,15 @@ |
| {% else %} | |
| {% assign description = "West Michigan's Premier Shop for All Your Canvas and Upholstery Needs." %} | |
| {% endif %} | |
| + | <!-- Global site tag (gtag.js) - Google Analytics --> |
| + | <script async src="https://www.googletagmanager.com/gtag/js?id=UA-116776430-1"></script> |
| + | <script> |
| + | window.dataLayer = window.dataLayer || []; |
| + | function gtag(){dataLayer.push(arguments);} |
| + | gtag('js', new Date()); |
| + | |
| + | gtag('config', 'UA-116776430-1'); |
| + | </script> |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| @@ | @@ -34,7 +43,11 @@ |
| <meta property="og:title" content="{{ page.title | escape }} | Canvas Innovations" /> | |
| <meta property="og:image" content="{{ base_url }}{{ image_url | resize: '1200x1200', optimize: 80 }}" /> | |
| <meta property="og:description" content="{{ description }}" /> | |
| - | <link rel="shortcut icon" href="{{ 'favicon.ico' | theme_image_url }}"> |
| + | <link rel="shortcut icon" href="{{ 'favicon.png' | theme_image_url | resize: '64x64', optimize: 80 }}"> |
| <meta name="page" content="{{ page.featured_image.url }}"> | |
| <meta name="test" content="{{ service.featured_image.url }}"> | |
| + | <script type="text/javascript"> |
| + | window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var r=t.forceSSL||"https:"===document.location.protocol,a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=(r?"https:":"http:")+"//cdn.heapanalytics.com/js/heap-"+e+".js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(a,n);for(var o=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["addEventProperties","addUserProperties","clearEventProperties","identify","removeEventProperty","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=o(p[c])}; |
| + | heap.load("200181865"); |
| + | </script> |
app/views/snippets/page_header.liquid
+1
-1
| @@ | @@ -1,4 +1,4 @@ |
| - | <header class="service" style="background-image: url({% editable_file 'banner', resize: '1200x400#', optimize: 90 %}{% endeditable_file %})"> |
| + | <header class="service" style="background-image: url({% editable_file 'banner', resize: '1200x400#n', optimize: 90 %}{% endeditable_file %})"> |
| <div class="content row column text-center"> | |
| <h1>{{ page.title }}</h1> | |
| </div> | |
config/redirects.txt
+15
-0
| @@ | @@ -0,0 +1,15 @@ |
| + | /welcome / |
| + | /aboutus /about |
| + | |
| + | /marine-services/enclosures /services/boat-enclosures |
| + | /marine-services/upholstery /services/upholstery |
| + | /marine-services/tops /services/boat-tops |
| + | /marine-services/covers /services/boat-covers |
| + | /marine-services/bonded-windows /services/boat-windows |
| + | /marine-services/carpet-services /services/boat-flooring |
| + | /marine-services/dodgers /services/boat-dodgers |
| + | /marine-services/misccustom /services/other |
| + | /marine-services/custom-frame-bending |
| + | /marine-services/repairs-and-restitching /services/repairs-and-restitching |
| + | /marine-services/track |
| + | |
data/services.yml
+1
-1
| @@ | @@ -89,4 +89,4 @@ If your boat canvas or zippers are going bad or have broke let us replace them w |
| featured: false | |
| description: "At Canvas Innovations we offer many more options then just boat upholstery and canvas. If your project requires materials and sewing along with custom design we can handle it. If you have an idea for a cover or an enclosure at home or in an industrial setting just give us a call and we can help you create the product you are looking for. | |
| We also offer production sewing projects. If you need larger volumes for a specific product we can resource the project for you." | |
| - | images: ["100_0859", "100_0427", "100_1097", "100_0261", "100_1029", "100_0814", "100_0848", "100_0246_0", "p6120403", "img_0540", "image_6", "image_2", "img_3029", "img_1321", "img_0955_0", "img_03811", "img_0196", "img_02061", "p6120404", "boat_cushions_005", "2012_01_27_13_45_54_228", "2012_01_27_13_46_37_968", "schuitema_002", "schuitema_001", "image_082", "29_open_005", "100_0564", "100_0595", "frames_003", "100_0962", "100_0828", "100_0825", "100_0826", "100_0774", "100_0761", "100_0696", "100_0686", "100_0685", "100_0604", "burn_rate_2010_dusable_harbor_019", "burn_rate_2010_dusable_harbor_034", "100_0458", "100_0059", "dscf1261", "100_0593", "100_1181", "100_1010", "100_0844", "100_1077", "100_1033", "100_1031", "100_1025", "100_1013", "100_0964", "100_0961", "100_0864", "100_0863", "100_0874", "100_0876", "100_0830", "100_0425", "100_1334_0", "101_0104", "101_0100", "101_0096", "101_0079", "100_0185", "100_0087", "100_1116", "100_1111", "2011_10_26_15_56_00_815", "dscf1289", "dscf1195", "dscf1290", "ny_3", "2011_10_19_15_39_38_224", "2011_12_29_17_09_00_618", "100_1183", "100_1125", "100_1079", "100_1080"] |
| + | images: ["100_0427", "100_0859", "100_1097", "100_0261", "100_1029", "100_0814", "100_0848", "100_0246_0", "p6120403", "img_0540", "image_6", "image_2", "img_3029", "img_1321", "img_0955_0", "img_03811", "img_0196", "img_02061", "p6120404", "boat_cushions_005", "2012_01_27_13_45_54_228", "2012_01_27_13_46_37_968", "schuitema_002", "schuitema_001", "image_082", "29_open_005", "100_0564", "100_0595", "frames_003", "100_0962", "100_0828", "100_0825", "100_0826", "100_0774", "100_0761", "100_0696", "100_0686", "100_0685", "100_0604", "burn_rate_2010_dusable_harbor_019", "burn_rate_2010_dusable_harbor_034", "100_0458", "100_0059", "dscf1261", "100_0593", "100_1181", "100_1010", "100_0844", "100_1077", "100_1033", "100_1031", "100_1025", "100_1013", "100_0964", "100_0961", "100_0864", "100_0863", "100_0874", "100_0876", "100_0830", "100_0425", "100_1334_0", "101_0104", "101_0100", "101_0096", "101_0079", "100_0185", "100_0087", "100_1116", "100_1111", "2011_10_26_15_56_00_815", "dscf1289", "dscf1195", "dscf1290", "ny_3", "2011_10_19_15_39_38_224", "2011_12_29_17_09_00_618", "100_1183", "100_1125", "100_1079", "100_1080"] |
public/images/favicon.png
+0
-0