diff --git a/src/templates/emails/layout.pug b/src/templates/emails/layout.pug index c532471..914801b 100644 --- a/src/templates/emails/layout.pug +++ b/src/templates/emails/layout.pug @@ -4,6 +4,7 @@ html title {% block title %}{{ subject }}{% endblock %} style. @import url('https://fonts.googleapis.com/css?family=Roboto'); + html, body { font-family: 'Roboto', 'Noto Sans', sans-serif; font-size: 11pt; @@ -11,61 +12,64 @@ html color: black; } - section, h1 { - max-width: 100%; - width: 522px; - margin: 15px auto; + section { + max-width: 522px; + /*width: 522px;*/ + margin: 0 auto 15px auto; padding: 10px 25px; - box-shadow: rgba(0,0,0,0.298039) 0px 1px 4px -1px; + box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px; + background-color: white; } + a:link { color: #2e99b8; } + a:link, a:visited { text-decoration: none; } - section { - background-color: white; - border-radius: 2px; - } section.about, p.ps { color: #888; font-size: smaller; } + section.about a:link, p.ps a:link { color: #7297ab; } h1 { - text-shadow: 1px 1px 1px rgba(0,0,0,0.5), 0 0 25px rgba(0,0,0,0.6); + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 0, 0, 0.6); color: white; font-size: 30px; - background: #d5d0cb url('{{ abs_url("static", filename="assets/img/email/background_caminandes_3_03.jpg") }}') no-repeat top center; + background: #d5d0cb url('https://cloud.blender.org/static/assets/img/email/background_caminandes_3_03.jpg') no-repeat top center; -webkit-background-size: cover; - -moz-background-size: cover; - -o-background-size: cover; - background-size: cover; - min-height: 120px; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + padding: 35px 25px; + max-width: 522px; + /*width: 522px;*/ + margin: 15px auto 0 auto; } - h2 { + + h2, h3 { font-weight: 300; color: #eb5e28; position: relative; } + p { line-height: 150%; - text-align: justify; } + p.closing { margin-top: 2.5em; } - p.closing a.cloudlogo { - float: right; - } + p.buttons { text-align: center; - margin: 5ex; + margin: 4ex; } a.button { @@ -73,25 +77,17 @@ html max-width: 30ex; padding: 5px 30px; text-decoration: none; - border-radius: 3px; border: thin solid #2e99b8; - color: #2e99b8; + color: #2e99b8; background-color: transparent; - text-shadow: none; - transition: color 350ms ease-out, border 150ms ease-in-out, opacity 150ms ease-in-out, background-color 150ms ease-in-out; + text-shadow: none; + transition: color 350ms ease-out, border 150ms ease-in-out, opacity 150ms ease-in-out, background-color 150ms ease-in-out; } + a.button:hover { color: white; background-color: #2e99b8; } - img#blendercloud { - height: 6em; - width: auto; - margin-right: 0; - margin-top: -0.5em; - margin-bottom: -0.2em; - vertical-align: middle; - } body | {% block body %}{% endblock %} diff --git a/src/templates/emails/welcome.pug b/src/templates/emails/welcome.pug index fa58044..3e8ebdd 100644 --- a/src/templates/emails/welcome.pug +++ b/src/templates/emails/welcome.pug @@ -1,72 +1,53 @@ | {% extends "emails/layout.html" %} | {% block body %} | {% set blender_cloud = abs_url('cloud.homepage') %} -h1 Welcome to Blender Cloud + +h1 Welcome to Blender Cloud! section - h2 Hi {{ user.full_name or user.email }} + + h2 Hi {{ user.full_name or user.email }}, p. - Sybren here. I'm one of the Blender Cloud developers, and I'm very happy to welcome you. The - Blender Animation Studio projects are made possible thanks to you! - #[strong In this email I'll explain where to go and what to see.] - If you want to dive in now, just hit this button: - + Thanks for joining Blender Cloud, the Open Content creation platform! Your subscription helps + our team to create more Open Projects, training, services and of course to make Blender the best + CG pipeline in the world. You rock! p.buttons - a.button(href="{{ blender_cloud }}", target='_blank') Log in and Explore! + a.button(href="{{ blender_cloud }}", target='_blank') Explore Now > + p. + Here is a quick guide to help you get started with Blender Cloud. + + h2 Discover the Training Content p. - To get the most out of Blender Cloud, be sure to check out - #[a(href="{{ abs_url('cloud.services') }}", target='_blank') the services] we offer, like - accessing our texture library from within Blender using the Cloud add-on, Blender Sync, - Image Sharing, and more: - + Our high quality training is organised in #[a(href="{{ abs_url('cloud.courses') }}", target='_blank') Courses], + where experienced trainers teach you step-by-step specific techniques, and + #[a(href="{{ abs_url('cloud.workshops') }}", target='_blank') Workshops], + where you get the feeling of peeking behind the shoulders of an artist explaining their creative workflow. + h2 Try our Services + p. + Make sure you download the #[a(href="{{ abs_url('cloud.services') }}", target='_blank') Blender Cloud Add-on], + so you can synchronize your Blender settings across multiple computers with + #[a(href="https://cloud.blender.org/blog/introducing-blender-sync", target='_blank') Blender Sync], + access our Texture and HDRI libraries directly within Blender, and much more. + h2 Follow the Open Projects + p. + Follow #[a(href='https://cloud.blender.org/p/hero/') Hero] and + #[a(href='https://cloud.blender.org/p/spring/') Spring], access exclusive making-of content and + assets from our current and past + #[a(href="{{ abs_url('cloud.open_projects') }}", target='_blank') Open Projects]. + h2 We are here for you + p. + Do you have any question about your subscription? Any suggestion on how to improve Blender Cloud? + Just reply to this message or write us at + #[a(href='mailto:cloudsupport@blender.org') cloudsupport@blender.org] – on working days we'll + get back to you within a day. p - ul - li #[a(href="{{ abs_url('cloud.courses') }}", target='_blank') Courses] & #[a(href="{{ abs_url('cloud.workshops') }}", target='_blank') Workshops] - li #[a(href="{{ abs_url('projects.view', project_url='characters') }}", target='_blank') Characters] & #[a(href="{{ abs_url('cloud.open_projects') }}", target='_blank') Open Movies] - li #[a(href="{{ abs_url('projects.view', project_url='textures') }}", target='_blank') Textures] & #[a(href="{{ abs_url('projects.view', project_url='hdri') }}", target='_blank') HDRIs] - li #[a(href="{{ abs_url('projects.view', project_url='gallery') }}", target='_blank') Art Gallery] - li #[a(href="{{ abs_url('projects.index') }}", target='_blank') Your own Projects] - - p. - If you have any questions, remarks, ideas, or complaints, you can contact us at - #[a(href='mailto:cloudsupport@blender.org') cloudsupport@blender.org]. We're always - happy to help, and on working days we'll get back to you within a day. - - p. - To update your personal details, such as your email address, password, or full name, please - visit #[a(href="https://www.blender.org/id/") Blender ID]. - - p. - For renewing your subscription and other monetary things, there is the - #[a(href='https://store.blender.org/my-account/subscriptions/') Subscription Overview at the Blender Store]. - - p.closing - a.cloudlogo(href="{{ blender_cloud }}") - img#blendercloud(src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmN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5MmM2ZDQiLz48L2c+PC9zdmc+Cg==", - alt="Blender Cloud Logo") - | Warm regards, - p. - Sybren A. Stüvel #[br] and the entire Blender Cloud team - - p.ps. + | Cheers, + br + | Sybren and the Blender Cloud Team + hr + small. PS: If you do not want to receive other emails from us, #[a(href="{{ abs_url('settings.emails') }}") we've got you covered]. -section.about - h2 About Blender Cloud - - p. - Blender Cloud is the creative hub for your projects, powered by Free and Open Source - software. - - p. - On Blender Cloud you can create and share personal projects, access our texture and HDRI - library, keep track of your production, manage your renders, and much more! - - p. - The Blender Animation Studio projects are made possible thanks to subscriptions to the - #[a(href='{{ blender_cloud }}') Blender Cloud]. Thanks for joining! - - | {% endblock %} diff --git a/src/templates/emails/welcome.txt b/src/templates/emails/welcome.txt index 10ade8d..bf66553 100644 --- a/src/templates/emails/welcome.txt +++ b/src/templates/emails/welcome.txt @@ -1,53 +1,66 @@ {% extends "emails/layout.txt" %} {% set blender_cloud = abs_url('cloud.homepage') %} -{% block body %}Welcome to Blender Cloud, {{ user.full_name or user.nickname }}! +{% block body %} -Sybren here. I'm one of the Blender Cloud developers, and I'm very -happy to welcome you. The Blender Animation Studio projects are -made possible thanks to you! In this email I'll explain where to -go and what to see. If you want to dive in now, just log in and -explore at: +Welcome to Blender Cloud, {{ user.full_name or user.nickname }}! + +Thanks for joining Blender Cloud, the Open Content creation +platform. Your subscription helps our team to create more Open +Projects, training, services and of course to make Blender the +best CG pipeline in the world. You rock! {{ blender_cloud }} -To get the most out of Blender Cloud, be sure to check out the -services we offer at, like accessing our texture library from -within Blender using the Cloud add-on, Blender Sync, and Image -Sharing: +Here is a quick guide to help you get started with Blender Cloud. + + +## Discover the Training Content + +Our high quality training is organised in courses, where +experienced trainers teach you step-by-step specific techniques, +and workshops, where you get the feeling of peeking behind the +shoulders of an artist explaining their creative workflow. + + {{ abs_url('cloud.courses') }} + {{ abs_url('cloud.workshops') }} + + +## Try our Services + +Make sure you download the Blender Cloud Add-on, so you can +synchronize your Blender settings across multiple computers with +Blender Sync, access our Texture and HDRI libraries directly +within Blender, and much more. + {{ abs_url('cloud.services') }} + https://cloud.blender.org/blog/introducing-blender-sync -If you have any questions, remarks, ideas, or complaints, you can -contact us at cloudsupport@blender.org. We're always happy to -help, and on working days we'll get back to you within a day. +## Follow the Open Projects -To update your personal details, such as your email address, -password, or full name, please visit Blender ID at: - https://www.blender.org/id/ +Follow Hero and Spring, access exclusive making-of content and +assets from our current and past Open Projects. -For renewing your subscription and other monetary things, there is -the Subscription Overview at the Blender Store: - https://store.blender.org/my-account/subscriptions/ + https://cloud.blender.org/p/hero/ + https://cloud.blender.org/p/spring/ + {{ abs_url('cloud.open_projects') }} -Warm regards, -Sybren A. Stüvel -and the entire Blender Cloud team +## We are here for you + +Do you have any question about your subscription? Any suggestion +on how to improve Blender Cloud? Just reply to this message or +write us at + + cloudsupport@blender.org + +on working days we'll get back to you within a day. + + +Cheers, +Sybren and the Blender Cloud Team PS: If you do not want to receive other emails from us, we've got -you covered: {{ abs_url('settings.emails') }} +you covered. {{ abs_url('settings.emails') }} - - -About Blender Cloud - -Blender Cloud is the creative hub for your projects, powered by -Free and Open Source software. - -On Blender Cloud you can create and share personal projects, -access our texture and HDRI library, keep track of your -production, manage your renders, and much more! - -The Blender Animation Studio projects are made possible thanks to -subscriptions to the Blender Cloud. Thanks for joining! {% endblock %}