diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index 22fc8f7..4403151 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -108,13 +108,15 @@ html lang="en" = link_to "Home", root_path, class: "item #{is_active?(root_path)}" = link_to "Brands", brands_path, class: "item #{is_active?(brands_path)}" - = link_to 'Coin', coin_path, class: "item #{is_active?(coin_path)}" + = link_to "Platform", platform_path, class: "item #{is_active?(platform_path)}" = link_to 'Careers', careers_path, class: "item #{is_active?(careers_path)}" = link_to 'About', about_path, class: "item #{is_active?(about_path)}" + = item - .ui.button.fluid.red data-cb-type="portal" href="javascript:void(0)" - = icon 'lock' - | Account + = link_to coin_path, class: "ui button fluid purple #{is_active?(coin_path)}" + = icon 'dollar sign' + | Currency + .pusher = segment 'vertical hero segment clearing ' @@ -126,13 +128,14 @@ html lang="en" = icon 'large sidebar' = menu class: 'right', only: :desktop = link_to 'BRANDS', brands_path, class: "item #{is_active?(brands_path)}" - = link_to 'COIN', coin_path, class: "item #{is_active?(coin_path)}" + = link_to 'PLATFORM', platform_path, class: "item #{is_active?(platform_path)}" = link_to 'CAREERS', careers_path, class: "item #{is_active?(careers_path)}" = link_to 'ABOUT', about_path, class: "item #{is_active?(about_path)}" + = item - a.ui.button.purple href="javascript:void(0)" data-cb-type="portal" - = icon 'lock' - | ACCOUNT + = link_to coin_path, class: "ui button purple #{is_active?(coin_path)}" + = icon 'dollar sign' + | CURRENCY = yield :hero =yield diff --git a/app/views/pages/coin.html.slim b/app/views/pages/coin.html.slim index 625a747..9746fc6 100644 --- a/app/views/pages/coin.html.slim +++ b/app/views/pages/coin.html.slim @@ -8,7 +8,7 @@ = grid = column computer: 14, tablet: 16, mobile: 14, class: 'centered content' = h1 class: 'inverted' - | The fuel of independent media + | The independent media blockchain = fragment 'coin details' = container 'full' @@ -16,7 +16,7 @@ = row = column computer: 16, tablet: 16, mobile: 16, class: 'middle aligned' = h1 'horizontal divider' - = "Powering New Economy" + = "The New Media Economy" br br = row @@ -43,12 +43,12 @@ = row = column computer: 8, tablet: 16, mobile: 16, class: 'middle aligned' - = h2 text: 'Beyond Crypto' + = h2 text: 'Easy Payments' = text 'lead' - | You don't need a PHD in cryptography to use our digital currency. + | The end-users wont need a PHD in cryptography to use our digital currency. = text 'lead' - | Our integrated marketplace makes it easy to buy, spend and transfer coin. + | The integrated processing system will make it simple for users to pay for media and seamlessly buy coin using regular credit cards. = text 'lead' | No complex lingo, no wallets, no keys to manage and no hackers to worry about. @@ -62,6 +62,5 @@ = "Get Notified" = text | Subscribe to our newsletter and get notified once the currency is for sale. - = link_to "Subscribe to Newsletter", pricing_path, class: 'ui button purple big' - br - br \ No newline at end of file + /= link_to "Subscribe to Newsletter", pricing_path, class: 'ui button purple big' + = render 'partials/shopify' diff --git a/app/views/pages/platform.html.slim b/app/views/pages/platform.html.slim index 095adf0..bfc002d 100644 --- a/app/views/pages/platform.html.slim +++ b/app/views/pages/platform.html.slim @@ -7,7 +7,7 @@ = container = grid = column computer: 12, tablet: 16, mobile: 14, class: 'centered content' - = h1 class: 'inverted', text: "An engine for digital storytelling" + = h1 class: 'inverted', text: "Engine for digital storytelling" = fragment 'publishing' = container diff --git a/app/views/partials/_shopify.html.erb b/app/views/partials/_shopify.html.erb new file mode 100644 index 0000000..38f18ef --- /dev/null +++ b/app/views/partials/_shopify.html.erb @@ -0,0 +1,130 @@ +
+
+
+ \ No newline at end of file diff --git a/frontend/packs/js.coffee b/frontend/packs/js.coffee index 1af18c4..b64ad36 100644 --- a/frontend/packs/js.coffee +++ b/frontend/packs/js.coffee @@ -91,12 +91,12 @@ exec_javascript = -> render: (h) -> h(AboutCover) - # feature_cover_div = document.getElementById("platform-cover") - # if feature_cover_div != null - # feature_cover = new Vue - # el: document.getElementById('platform-cover'), - # render: (h) -> - # h(PlatformCover) + platform_cover_id = document.getElementById("platform-cover") + if platform_cover_id != null + feature_cover = new Vue + el: document.getElementById('platform-cover'), + render: (h) -> + h(PlatformCover) # Launching Analytics analytics.page()