From c9d4a06486af4b86ebe9c4be00a96f58655c7d6b Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Fri, 7 Oct 2016 16:42:42 +0200 Subject: [PATCH] Swap Blender Sync with Agent 327 project announcement --- src/styles/_homepage.sass | 27 +++++++++++- src/templates/homepage.jade | 46 ++++++++++++++++----- src/templates/projects/home_layout.jade | 2 +- src/templates/projects/index_dashboard.jade | 27 +++++++++++- 4 files changed, 87 insertions(+), 15 deletions(-) diff --git a/src/styles/_homepage.sass b/src/styles/_homepage.sass index 20b53d58..cd237c70 100644 --- a/src/styles/_homepage.sass +++ b/src/styles/_homepage.sass @@ -34,7 +34,7 @@ $node-type-post: #647bce +media-xs width: 100% - section#announcement, + section.announcement, section#blog-stream, section#random-asset +container-box @@ -526,9 +526,23 @@ $node-type-post: #647bce font-size: .9em - section#announcement + section.announcement border-bottom: thin solid $color-background + .header-icons + display: flex + align-items: center + justify-content: center + padding: 20px 0 5px 0 + + i + font-size: 2.5em + color: $color-info + + &.pi-heart-filled + color: $color-danger + margin-left: 5px + img.header width: 100% margin: 0 auto @@ -561,11 +575,19 @@ $node-type-post: #647bce +media-xs font-size: 1.4em + strong + color: $color-primary-dark + a color: $color-text-dark-primary .lead font-size: 1em + +list-bullets + + ul + margin-top: 10px + padding-left: 10px hr border: none @@ -578,6 +600,7 @@ $node-type-post: #647bce +media-xs padding-left: 10px + .buttons margin: 15px auto 0 auto display: flex diff --git a/src/templates/homepage.jade b/src/templates/homepage.jade index 756a8468..9410eb9b 100644 --- a/src/templates/homepage.jade +++ b/src/templates/homepage.jade @@ -128,30 +128,28 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_ section#side - section#announcement + section.announcement | {% if main_project.picture_header %} - a(href="https://cloud.blender.org/blog/introducing-blender-sync") + a(href="https://cloud.blender.org/p/agent-327/") img.header( src="{{ main_project.picture_header.thumbnail('l', api=api) }}") | {% endif %} .text .title - a(href="https://cloud.blender.org/blog/introducing-blender-sync") Blender Sync + a(href="https://cloud.blender.org/p/agent-327/") + span In production: + strong Agent 327 .lead span. - Save your settings once. Use them anywhere. - Carry your Blender configuration with you, use our free add-on to sync your keymaps and preferences. -
- Syncing is free for everyone. No subscription required. + Follow the ongoing progress of the Barbershop fight scene, a character study for the Agent 327 project. .buttons a.btn.btn-default.btn-outline.orange( - href="https://cloud.blender.org/r/downloads/blender_cloud-latest-bundle.zip") - i.pi-download - | Download v {{ config.BLENDER_CLOUD_ADDON_VERSION }} + href="https://cloud.blender.org/p/agent-327/blog/") + | Blog a.btn.btn-default.btn-outline.blue( - href="https://cloud.blender.org/blog/introducing-blender-sync") + href="https://cloud.blender.org/p/agent-327/") | Learn More @@ -283,6 +281,32 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_ | {% endfor %} + section.announcement + a(href="https://cloud.blender.org/blog/introducing-blender-sync") + img.header( + src="{{ url_for('static', filename='assets/img/blender_sync_header.jpg') }}") + .text + .title + a(href="https://cloud.blender.org/blog/introducing-blender-sync") Textures Browser & Settings Sync + + .lead + span. + Get the official Blender Cloud add-on: + ul + li Save your Blender settings online, use them anywhere + li Browse over 800 textures & HDRIs within Blender + li Share Screenshots & Renders directly to Blender Cloud + + .buttons + a.btn.btn-default.btn-outline.orange( + href="https://cloud.blender.org/r/downloads/blender_cloud-latest-bundle.zip") + i.pi-download + | Download Add-on v {{ config.BLENDER_CLOUD_ADDON_VERSION }} + a.btn.btn-default.btn-outline.blue( + href="https://cloud.blender.org/blog/introducing-blender-sync") + | Learn More + + | {% endblock %} | {% block footer_scripts %} diff --git a/src/templates/projects/home_layout.jade b/src/templates/projects/home_layout.jade index e6fa114a..28f70814 100644 --- a/src/templates/projects/home_layout.jade +++ b/src/templates/projects/home_layout.jade @@ -39,7 +39,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba | {% block currenttab %}{% endblock %} section#side - section#announcement + section.announcement img.header( src="{{ url_for('static', filename='assets/img/blender_sync_header.jpg') }}") .text diff --git a/src/templates/projects/index_dashboard.jade b/src/templates/projects/index_dashboard.jade index 7df2951f..23fdd784 100644 --- a/src/templates/projects/index_dashboard.jade +++ b/src/templates/projects/index_dashboard.jade @@ -137,7 +137,7 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba | {% endif %} section#side - section#announcement + section.announcement img.header( src="{{ url_for('static', filename='assets/img/backgrounds/services_projects.jpg')}}") .text @@ -151,6 +151,31 @@ meta(name="twitter:image", content="{{ url_for('static', filename='assets/img/ba href="https://cloud.blender.org/blog/introducing-private-projects") | Learn More + section.announcement + a(href="https://cloud.blender.org/blog/introducing-blender-sync") + img.header( + src="{{ url_for('static', filename='assets/img/blender_sync_header.jpg') }}") + .text + .title + a(href="https://cloud.blender.org/blog/introducing-blender-sync") Textures Browser & Settings Sync + + .lead + span. + Get the official Blender Cloud add-on: + ul + li Save your Blender settings online, use them anywhere + li Browse over 800 textures & HDRIs within Blender + li Share Screenshots & Renders directly to Blender Cloud + + .buttons + a.btn.btn-default.btn-outline.orange( + href="https://cloud.blender.org/r/downloads/blender_cloud-latest-bundle.zip") + i.pi-download + | Download Add-on v {{ config.BLENDER_CLOUD_ADDON_VERSION }} + a.btn.btn-default.btn-outline.blue( + href="https://cloud.blender.org/blog/introducing-blender-sync") + | Learn More + | {% endblock %}