]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
adds course calouts to docs
authorRafiBomb <rafi@zurb.com>
Tue, 4 Jul 2017 00:27:30 +0000 (17:27 -0700)
committerRafiBomb <rafi@zurb.com>
Tue, 4 Jul 2017 00:27:30 +0000 (17:27 -0700)
13 files changed:
docs/assets/scss/docs.scss
docs/pages/button.md
docs/pages/flex-grid.md
docs/pages/forms.md
docs/pages/grid.md
docs/pages/media-queries.md
docs/pages/menu.md
docs/pages/off-canvas.md
docs/pages/reveal.md
docs/pages/sass.md
docs/pages/top-bar.md
docs/pages/xy-grid.md
docs/partials/training-callout.html [new file with mode: 0644]

index 84c3882a5c48d1bb0db25426ecbe339861f3262b..cef66d15e763feff2bb5552fc2683cfe2c5e34ed 100644 (file)
@@ -440,3 +440,8 @@ a[data-open-video] {
     color: #aaa;
   }
 }
+
+.training-callout {
+  border-left: 3px solid $primary-color;
+  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.17);
+}
index 90328507c5e2838053e950da6cf3fc5cb37b9f99..dc45547497291bd96a9c775455f0dec20ec4b30f 100644 (file)
@@ -7,6 +7,11 @@ tags:
   - dropdown button
 ---
 
+<div class="callout training-callout">
+  <p>To help you get the most out of Foundation and create responsive websites and apps like us we’ve put together some unique online webinar training. Learn Foundation’s Grid, how to use and modify Foundation's UI components, Foundation’s JavaScript options and functions, and tons of tips and tricks we learned from major client projects.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Learn more about Foundation training →</a>
+</div>
+
 ## Basics
 
 A basic button can be created with minimal markup. Because buttons can be used for many purposes, it's important to use the right tag.
index 0ad2ff36b7b757530a3da419ca5572ea8b1a3b9a..7cf3a04166c897dc6917bc15243bcd6eafcde54c 100644 (file)
@@ -5,6 +5,11 @@ sass: scss/grid/_flex-grid.scss
 video: tpmQcZSPw4Q
 ---
 
+<div class="callout training-callout">
+  <p>Become a master of the Foundation Grids to create complex layouts faster and with less code. The new XY Grid is the newest and most powerful version. Stay up-to-date with all the new features in Foundation 6.4 and learn how to migrate to the XY Grid with our online webinar training. You’ll also learn all the useful UI components and Foundation JavaScript to really crush your projects.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Get registered for an upcomming Foundation training →</a>
+</div>
+
 The flex grid works very similarly to the standard float grid, but includes a number of useful features only possible with flexbox, like horizontal and vertical alignment, automatic sizing, and easier source ordering.
 
 ---
index 2ef6a551bffec9e97e541a6782073056c7a6924a..992a78eb871b11dc1f8e7898b56c4c20b35c261a 100644 (file)
@@ -13,6 +13,11 @@ tags:
 flex: true
 ---
 
+<div class="callout training-callout">
+  <p>Learn the right way to tackle your project and at same time saving time and money. We offer in depth online webinars for you to gain the skills to become a Foundation front-end master.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Check out our upcoming training opportunities →</a>
+</div>
+
 ## Form Basics
 
 Creating a form in Foundation is designed to be easy but extremely flexible. Forms are built with a combination of standard form elements, as well as grid rows and columns.
index f243398a8c570dffdf1ca5f91976f5948c5d4dc8..989ed97413eafb379a1ada6d64055b3f09156fce 100644 (file)
@@ -9,6 +9,11 @@ tags:
   - block grid
 ---
 
+<div class="callout training-callout">
+  <p>Become a master of the Foundation Grids to create complex layouts faster and with less code. The new XY Grid is the newest and most powerful version. Stay up-to-date with all the new features in Foundation 6.4 and learn how to migrate to the XY Grid with our online webinar training. You’ll also learn all the useful UI components and Foundation JavaScript to really crush your projects.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Get registered for an upcomming Foundation training →</a>
+</div>
+
 ## Basics
 
 Start by adding an element with a class of `.row`. This will create a horizontal block to contain vertical columns. Then add elements with a `.column` class within that row. Specify the widths of each column with the `.small-#`, `.medium-#`, and `.large-#` classes.
@@ -662,6 +667,7 @@ Refer to the Sass documentation below to learn how each mixin works.
   }
 }
 ```
+
 ### Custom Block Grid
 
 Use the `grid-layout()` mixin to create your own block grid.
index e5522e6518ae7e6f063bb87f13d1df677ed4cf85..9aaeddfbea92bc1a00f227cfe9d411887aed783e 100644 (file)
@@ -8,6 +8,11 @@ tags:
   - breakpoints
 ---
 
+<div class="callout training-callout">
+  <p>Build better websites and apps, code cleaner, and become a better front-end developer with Foundation training. We're running two online webinar training sessions this month where we break down how to get the most out of Foundnation and leap ahead skillwise.</p>
+  <a href="http://zurb.com/university/courses" target="_blank"> Get registered →</a>
+</div>
+
 ## Default Media Queries
 
 Foundation for Sites has three core breakpoints:
index e73b36743634216f2a81cd8c60fb3048301fb85a..4027e21e5562a941a628bc66ec704ac95bbc2d04 100644 (file)
@@ -12,6 +12,11 @@ tags:
 flex: true
 ---
 
+<div class="callout training-callout">
+  <p>Navigation is one the most crucial part of your site. Be a navigation guru with our Foundation online webinar training. You’ll learn techniques for creating responsive navigations that work with any type of site. In addition to that you can learn tips and tricks and best practices for all of Foundation’s components.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Find out more about Foundation training classes →</a>
+</div>
+
 The menu is a flexible, all-purpose component for navigation. It replaces Foundation 5's inline list, side nav, sub nav, and icon bar, unifying them into one component.
 
 ---
@@ -117,7 +122,7 @@ Items can also be set to expand out and take up an even amount of space, with th
 
 ## Vertical Menu
 
-Add the `.vertical` class to a Menu to switch its orientation. 
+Add the `.vertical` class to a Menu to switch its orientation.
 
 <p>
   <a class="" data-open-video="4:53"><img src="{{root}}assets/img/icons/watch-video-icon.svg" class="video-icon" height="30" width="30" alt=""> Watch this part in video</a>
@@ -138,7 +143,7 @@ Add the `.vertical` class to a Menu to switch its orientation.
 
 <br>
 
-Add `align-right` class for making the vertical menu aligned to the right. 
+Add `align-right` class for making the vertical menu aligned to the right.
 
 ```html_example
 <ul class="vertical menu align-right">
@@ -158,7 +163,7 @@ Add `align-center` class for making the vertical menu aligned to the center.
     The above vertically left &amp; right aligned menu are supported in all types of menu's. <br>
     But `align-center` for vertical menu&rsquo;s is only available for basic menu and is not available for dropdown, accordion or a drilldown menu.
   </p>
-</div> 
+</div>
 
 ```html_example
 <ul class="vertical menu align-center">
index 84872fd85a0aac443db18ffde5683a21ae65ae7b..b45e93837705fc856793224f572388846f67b463 100644 (file)
@@ -15,6 +15,11 @@ tags:
 flex: true
 ---
 
+<div class="callout training-callout">
+  <p>Off-canvas layouts are common and useful for mobile and desktop layouts. Be a navigation guru with our Foundation online webinar training. You’ll learn techniques for creating responsive navigations that work with any type of site. In addition to that you can learn tips and tricks and best practices for all of Foundation’s components.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Find out more about Foundation training classes →</a>
+</div>
+
 <div class="primary callout">
   <p>Good news! We've updated Off-canvas to offer more and better functionality. Another bonus is the markup is simplified. This new version applies to version 6.3+. We work hard to avoid breaking changes, so any markup updates are listed in the <a href="#migrating-from-versions-prior-to-v6-3">migration section</a> of this page.</p>
 </div>
index 0d4c23f1da928fb0747a09c10c03a5a19868b470..3b3876fa81b59c384b597239b39474abe5c0991a 100644 (file)
@@ -9,6 +9,12 @@ tags:
   - modal
 ---
 
+
+<div class="callout training-callout">
+  <p>We hope you’re loving these free documentation videos! If you’d like to really accelerate your learning and master the world of front-end development, our Foundation online webinar training is the answer.</p>
+  <a href="http://zurb.com/university/courses" target="_blank">See the upcoming Foundation trainings →</a>
+</div>
+
 ## Basics
 
 A modal is just an empty container, so you can put any kind of content inside it, from text to forms to video to an entire grid.
index b0232dc8ec681607afeaec7252f47b607d35a7bc..425552d0d0970f8e41d36ca8adbe8166d14d6164 100644 (file)
@@ -4,6 +4,11 @@ description: Foundation is written in Sass, which allows us to make the codebase
 video: mYiyunVQdMY
 ---
 
+<div class="callout training-callout">
+  <p>Get trainied up on Foundation's Sass with our online webinar training. Sass allows you to write dramatically more efficient code. We'll go over things like how to install and start compiling Sass, nesting mixins and functions, and writing fully semantic CSS using Foundation mixins for insanely maintainable code.</p>
+  <a href="http://zurb.com/university/advanced-foundation-training" target="_blank">Reserve your spot →</a>
+</div>
+
 <div class="primary callout">
   <p>Not familiar with Sass? The [official tutorial](http://sass-lang.com/guide) on sass-lang.com is a great place to start.</p>
 </div>
@@ -101,7 +106,7 @@ Each component has an **export mixin** which prints out the CSS for that compone
 @include foundation-everything;
 ```
 
-Our [starter projects](starter-projects.html) include the full list of imports, making it easy to comment out the components you don't need. A full list is also included below. 
+Our [starter projects](starter-projects.html) include the full list of imports, making it easy to comment out the components you don't need. A full list is also included below.
 
 ```scss
 @import 'foundation';
index d0592e773798415719ac9cde31de320364208e79..574bb2fef19e41eb20975d1db211fff0710f7b12 100644 (file)
@@ -6,8 +6,9 @@ sass: ./scss/components/_top-bar.scss
 flex: true
 ---
 
-<div class="primary callout">
-  <p>The features of Foundation 5's top bar are still around, but they've been reworked into smaller, individual plugins. Check out our page on <a href="responsive-navigation.html">responsive navigation</a> to learn more.</p>
+<div class="callout training-callout">
+  <p>Navigation is one the most crucial part of your site. Be a navigation guru with our Foundation online webinar training. You’ll learn techniques for creating responsive navigations that work with any type of site. In addition to that you can learn tips and tricks and best practices for all of Foundation’s components.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Find out more about Foundation training classes →</a>
 </div>
 
 ## Basics
@@ -50,6 +51,12 @@ In the below example, our top bar includes a [dropdown menu](dropdown-menu.html)
 </div>
 ```
 
+<br>
+
+<div class="primary callout">
+  <p>The features of Foundation 5's top bar are still around, but they've been reworked into smaller, individual plugins. Check out our page on <a href="responsive-navigation.html">responsive navigation</a> to learn more.</p>
+</div>
+
 ---
 
 ## Advanced Layout
index 9641bccc252d0fe2ce09b1868d7b9d8031b1fd83..0760941878b972c1fc53f364bf3025802adfa02b 100644 (file)
@@ -4,6 +4,11 @@ description: A fully reworked new grid system in v6.4 which has all the variety
 sass: scss/xy-grid/*.scss
 ---
 
+<div class="callout training-callout">
+  <p>The XY Grid is huge advancement in Grids. Stay up-to-date with all the new features in Foundation 6.4 with our online webinar training. You’ll come away knowing the ins and outs of the XY Grid to create complex layouts faster and with less code. Not to mention all the useful UI components and Foundation JavaScript you’ll learn. You’ll make your coworkers jealous.</p>
+  <a href="http://zurb.com/university/foundation-intro" target="_blank">Don’t miss out on the upcoming Foundation trainings →</a>
+</div>
+
 ## XY Grid Basics
 
 The XY grid works very similarly to the standard float grid, but includes a number of useful features only possible with Flexbox, like horizontal and vertical alignment, automatic sizing and a full vertical grid.
diff --git a/docs/partials/training-callout.html b/docs/partials/training-callout.html
new file mode 100644 (file)
index 0000000..913c2e3
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="callout training-callout">
+
+</div>