From 32bec577e862d92215b69c7ea88f27aff93a6cc5 Mon Sep 17 00:00:00 2001 From: benjtinsley Date: Wed, 11 Oct 2017 14:33:21 -0600 Subject: [PATCH] fixes directory structure for http2 task --- extras/http2/src/html/components/example-component/index.html | 4 ++-- extras/http2/src/html/data/global.json | 3 ++- .../components/example-component/_example-component.scss | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/extras/http2/src/html/components/example-component/index.html b/extras/http2/src/html/components/example-component/index.html index f7a25ec80..7cb1c0c6a 100644 --- a/extras/http2/src/html/components/example-component/index.html +++ b/extras/http2/src/html/components/example-component/index.html @@ -1,8 +1,8 @@ -{% extends 'layouts/application' %} +{%- import 'macros/helpers.html' as macros -%} {{ macros.css('example-component') }}

{{ text }}

{{ caveat }}

-

{{ link }}

+

{{ link }}

diff --git a/extras/http2/src/html/data/global.json b/extras/http2/src/html/data/global.json index 1b9e1daa0..39bbe9e35 100644 --- a/extras/http2/src/html/data/global.json +++ b/extras/http2/src/html/data/global.json @@ -2,5 +2,6 @@ "message": "HTTP/2 Blendid!", "text": "This module is styled using HTTP/2 multiplexing. Check out the inspector to see the link tag inserted right above my parent div.", "caveat": "Note: this should only be used if your server is configured for HTTP/2, otherwise you are sending needless requests.", - "link": "Read more about Blendid & HTTP/2 here" + "link": "Read more about Blendid & HTTP/2 here", + "linkUrl": "https://www.viget.com/articles/blendid-http-2-upgrade" } diff --git a/extras/http2/src/stylesheets/components/example-component/_example-component.scss b/extras/http2/src/stylesheets/components/example-component/_example-component.scss index 01401f897..023b825a1 100644 --- a/extras/http2/src/stylesheets/components/example-component/_example-component.scss +++ b/extras/http2/src/stylesheets/components/example-component/_example-component.scss @@ -1,6 +1,6 @@ -// example base level module file +// example base level component file -.example-module { +.example-component { padding: 15px; border: 1px dashed color(neon-magenta);