windhamdavid 9 years ago
parent
commit
e40c5f87b0
3 changed files with 155 additions and 57 deletions
  1. 27 19
      js/studio.js
  2. 67 32
      page-studio.php
  3. 61 6
      style.css

+ 27 - 19
js/studio.js

@@ -46,6 +46,11 @@ jQuery(document).ready(function($) {
 		var anima = new DrawFillSVG({elementId: 'svg-imac'});
 		anima.replay();
 	};
+	
+	$('.studio-subnav a').click(function (e) {
+	  e.preventDefault()
+	  $(this).tab('show')
+	})
 
 	$(document).bind('keyup', function(e) {
 	    if(e.which === 39){
@@ -60,6 +65,7 @@ jQuery(document).ready(function($) {
 		var consta = $(event.target);
 		setTimeout(function() {
 			if (consta.find('.item.active').data('id') === 0) {
+				$('.studio-subnav a[href="#studio"]').tab('show')
 				$('#studio-caro').addClass('caro-grad5').removeClass('caro-grad caro-grad3 caro-grad2 caro-grad5');
 				$('.site-title a').addClass('light');
 				$('.carousel-indicators li').removeClass('darken-carousel-indicators');
@@ -67,39 +73,56 @@ jQuery(document).ready(function($) {
 				$("#studio-caro").wallpaper({source: "../wp-content/themes/dw/img/desk2.jpg"});
 			}
 			if (consta.find('.item.active').data('id') === 1) {
+				$('.studio-subnav a[href="#webdev"]').tab('show')
+				$('.active #svg-imac.screen').delay(2500).queue(function(screenit){
+				    $(this).attr('class', 'bg');
+				    screenit();
+				});
 				$('#studio-caro').addClass('caro-grad').removeClass('caro-grad3 caro-grad2 caro-grad5');
 				$('.site-title a').addClass('light');
 				$('.carousel-indicators li').removeClass('darken-carousel-indicators');
 				$("#studio-caro").wallpaper("destroy");
 			}
 			if (consta.find('.item.active').data('id') === 2) {
+				$('.studio-subnav a[href="#ux"]').tab('show')
 				$('#studio-caro').addClass('caro-grad2').removeClass('caro-grad caro-grad3 caro-grad5');
 				$('.site-title a').addClass('light');
 				$('.carousel-indicators li').removeClass('darken-carousel-indicators');
 				$("#studio-caro").wallpaper("destroy");
 			}
-			if (consta.find('.item.active').data('id') === 3) {	
+			if (consta.find('.item.active').data('id') === 3) {
+				$('.studio-subnav a[href="#graphic"]').tab('show')	
 				$( '#studio-caro' ).addClass('caro-grad3').removeClass('caro-grad2 caro-grad caro-grad5');
 				$('.site-title a').removeClass('light');
 				$('.carousel-indicators li').addClass('darken-carousel-indicators');
 				$("#studio-caro").wallpaper("destroy");
 			}
-			if (consta.find('.item.active').data('id') === 4) {	
+			if (consta.find('.item.active').data('id') === 4) {
+				$('.studio-subnav a[href="#media"]').tab('show')
 				$('#studio-caro').removeClass('caro-grad caro-grad3').addClass('caro-grad5');
 				$('.site-title a').addClass('light');
 				$('.carousel-indicators li').removeClass('darken-carousel-indicators');
 				$("#studio-caro").wallpaper("destroy");
 				$("#studio-caro").wallpaper({source: {poster:"../wp-content/themes/dw/img/camera.jpg",mp4:"../wp-content/themes/dw/img/camera.mp4"}});
 			}
-			if (consta.find('.item.active').data('id') === 5) {	
+			if (consta.find('.item.active').data('id') === 5) {
+				$('.studio-subnav a[href="#art"]').tab('show')
 				$( '#studio-caro' ).addClass('caro-grad5').removeClass('caro-grad2 caro-grad caro-grad3');
 				$('.site-title a').addClass('light');
-				$('.carousel-indicators li').addClass('darken-carousel-indicators');
+				$('.carousel-indicators li').removeClass('darken-carousel-indicators');
 				$("#studio-caro").wallpaper("destroy");
 				$("#studio-caro").wallpaper({source: "../wp-content/themes/dw/img/paints2.jpg"});
 			}
 		}, 10);
 	});
+	
+	$('#caro').on('slide.bs.carousel', function() {
+		$('.active #svg-imac.bg').attr('class', 'svg screen');
+		$('.active .animac').addClass('fade-svg').delay(1000).queue(function(hideit){
+		    $(this).addClass('hide-svg');
+		    hideit();
+		});
+	});
 
 	$('#caro').on('slid.bs.carousel', function() {
 		$('.active .animac').removeClass('hide-svg fade-svg');
@@ -112,20 +135,5 @@ jQuery(document).ready(function($) {
 		animac2.replay();
 		animac3.replay();
 	});
-
-	$('#caro').on('slide.bs.carousel', function() {
-		$('.active #svg-imac.bg').attr('class', 'svg screen');
-		$('.active .animac').addClass('fade-svg').delay(1000).queue(function(hideit){
-		    $(this).addClass('hide-svg');
-		    hideit();
-		});
-	});
-
-	$('#caro').on('slid.bs.carousel', function() {
-		$('.active #svg-imac.screen').delay(2500).queue(function(screenit){
-		    $(this).attr('class', 'bg');
-		    screenit();
-		});
-	});
 			
 });

+ 67 - 32
page-studio.php

@@ -1,14 +1,16 @@
 <?php get_header('studio'); ?>
 	<div id="studio-caro" class="container-fluid leader">
 		<div id="caro" class="carousel slide">
-			<ol class="carousel-indicators">
-			    <li data-target="#caro" data-slide-to="0" class="active"></li>
-			    <li data-target="#caro" data-slide-to="1"></li>
-			    <li data-target="#caro" data-slide-to="2"></li>
-				<li data-target="#caro" data-slide-to="3"></li>
-				<li data-target="#caro" data-slide-to="4"></li>
-				<li data-target="#caro" data-slide-to="5"></li>
-			  </ol>
+			<div class="container">
+				<ol class="carousel-indicators">
+					<li data-target="#caro" data-slide-to="0" class="active"></li>
+					<li data-target="#caro" data-slide-to="1"></li>
+					<li data-target="#caro" data-slide-to="2"></li>
+					<li data-target="#caro" data-slide-to="3"></li>
+					<li data-target="#caro" data-slide-to="4"></li>
+					<li data-target="#caro" data-slide-to="5"></li>
+				</ol>
+			</div>
 			<div class="carousel-inner">
 				<div class="item active" data-id="0">
 					<div class="container animac">
@@ -24,9 +26,9 @@
 						<div class="row">
 							<div class="col-sm-7">
 								<h1 style="margin:0px" class="light super cm-sans tight wow fadeInDown" data-wow-delay="500ms">Web</h1>
-								<h2 class="light cm tight wow fadeInUp" data-wow-delay="500ms">Development &amp; Design</h4>
+								<h2 class="light cm tight wow fadeInUp" data-wow-delay="500ms">Development</h4>
 								<h5 class="light wow fadeIn" data-wow-delay="2s">Client and Server Side Programming<br />Application Development<br />Database Design</h5>
-								<svg id="svg-device" class="svg" height="250px" viewBox="0 0 280 250">
+								<svg id="svg-device" class="svg" height="190px" viewBox="0 0 280 250">
 								<path d="M274.9,238.2c0,6.2-5.1,11.3-11.3,11.3H95.3c-6.2,0-11.3-5.1-11.3-11.3V14.1c0-6.2,5.1-11.3,11.3-11.3h168.3c6.2,0,11.3,5.1,11.3,11.3V238.2z"/>
 								<path stroke="#FFFFFF" fill="#FFFFFF" d="M256.3,227.4H102.6V24.8h153.7V227.4z"/>
 								<path stroke="#FFFFFF" fill="#3A3A3A" d="M181.4,13.4c0,1.1-0.9,2-2,2c-1.1,0-2-0.9-2-2s0.9-2,2-2C180.6,11.4,181.4,12.3,181.4,13.4z"/>
@@ -38,7 +40,7 @@
 								</svg>
 							</div>
 							<div class="col-sm-5">
-								<svg id="svg-imac" class="bg" height="340px" viewBox="0 0 400 340">
+								<svg id="svg-imac" class="svg screen" height="290px" viewBox="0 0 400 340">
 								<path fill="#9e9e9e" stroke="#FFFFFF" stroke-width="1px" stroke-miterlimit="10" d="M272.2,329.5l-23.3-23.3c-5.7-6.8-4.9-29.4-4.8-32.6h-88c0.1,3.2,0.9,25.7-4.8,32.6l-23.3,23.3c-1,1.1-1.4,2-1.3,2.7l0,0c0.6,6.2,5.4,5.1,10.9,5.1h125.1c5.4,0,10,1.1,10.8-4.5C273.7,332,273.5,331,272.2,329.5L272.2,329.5z"/>
 								<path fill="#E3E3E3" stroke="#FFFFFF" stroke-width="1px" stroke-miterlimit="10" d="M386.4,1H13.6C7.1,1,1.4,6.5,1.4,13.3v248c0,6.8,5.7,12.8,12.2,12.8h372.8c6.5,0,12.2-5.9,12.2-12.8v-248C398.6,6.5,392.9,1,386.4,1z M382.8,212.4H17.2V16h365.6V212.4z"/>
 								<path fill="#000000" stroke="#FFFFFF" stroke-width="1px" stroke-miterlimit="10" d="M207.2,252.2c0-3.3,2.7-5,2.9-5.1c-1.6-2.3-4.1-2.6-4.8-2.6c-2.1-0.2-4.1,1.2-5.1,1.2c-1.1,0-2.7-1.2-4.4-1.1c-2.3,0-4.4,1.3-5.5,3.3c-2.4,4.1-0.6,10.1,1.7,13.5c1.1,1.6,2.5,3.4,4.2,3.3c1.7-0.1,2.3-1.1,4.4-1.1c2,0,2.6,1.1,4.4,1.1c1.8,0,3-1.7,4.1-3.3c1.3-1.8,1.8-3.7,1.8-3.8C210.7,257.6,207.2,256.3,207.2,252.2 M203.9,242.3c1-1.1,1.6-2.7,1.4-4.2c-1.3,0.1-3,0.9-4,2c-0.9,1-1.6,2.6-1.4,4.1C201.4,244.3,202.9,243.4,203.9,242.3"/>
@@ -52,12 +54,12 @@
 				<div class="item" data-id="2">
 					<div class="container animac hide-svg">
 						<div class="row">
-							<div class="col-sm-4">
+							<div class="col-sm-3">
 								<h1 style="margin:0px" class="light super cm-sans tight wow fadeInDown" data-wow-delay="500ms">UX</h1>
 								<h3 class="light cm tight wow fadeInUp" data-wow-delay="500ms">User Experience<br />Design</h3>
 								<h5 class="light wow fadeIn" data-wow-delay="2s">Information Architecture<br/>Interaction Design<br />Usability Testing</h5>
 							</div>
-							<div class="col-sm-8">
+							<div class="col-sm-9">
 								<svg id="sv" height="220px" viewBox="0 0 600 220">
 								<path fill="#E34F26" stroke="#FFFFFF" stroke-miterlimit="10" d="M426.2,195.4l-17-191.2h187.5l-17,191.2L502.7,217"/>
 								<path fill="#EF652A" stroke="#FFFFFF" stroke-miterlimit="10" d="M504.2,202.6l62.6-17.2l14.7-165.7h-77.4"/>
@@ -89,7 +91,7 @@
 								<h5 class="wow fadeIn" data-wow-delay="2s">Branding | Print | Illustration<br/>Infographics<br/>Data Visualization</h5>
 							</div>
 							<div class="col-sm-8">
-								<svg id="svg-mac" class="svg" height="300px" viewBox="0 0 500 300">
+								<svg id="svg-mac" class="svg" height="290px" viewBox="0 0 500 300">
 								<path stroke="#000000" d="M49.3,270.1c0,8,6.5,14.5,14.5,14.5h374c8,0,14.5-6.5,14.5-14.5V20.3c0-8-6.5-14.5-14.5-14.5h-374c-8,0-14.5,6.5-14.5,14.5V270.1z"/>
 								<path stroke="#000000" d="M451.3,20c0-7.3-5.9-13.2-13.2-13.2H63.6c-7.3,0-13.2,5.9-13.2,13.2v249.8c0,7.3,5.9,13.2,13.2,13.2h374.5c7.3,0,13.2-5.9,13.2-13.2V20z"/>
 								<path stroke="#000000" d="M51.2,20c0-6.9,5.6-12.4,12.4-12.4h374.5c6.9,0,12.4,5.6,12.4,12.4l-0.1,218.3v1.3l0.1,24.2c0,2.9-2.3,5.2-5.2,5.2h-389c-2.9,0-5.2-2.3-5.2-5.2V20z"/>
@@ -132,34 +134,67 @@
 	</div>
 	<div class="container">
 		<div class="row">
-			<div class="col-sm-3">
-				<article class="blurb">
+			<div class="col-sm-2">
+				<ul class="nav-stacked studio-subnav">
+					<li data-target="#caro" data-slide-to="0"><a href="#studio" aria-controls="studio" role="tab" data-toggle="tab"><span class="fa fa-eye fa-fw"></span>&nbsp; <em>Studio</em></a></li>
+					<li data-target="#caro" data-slide-to="1"><a href="#webdev" aria-controls="webdev" role="tab" data-toggle="tab"><span class="fa fa-desktop fa-fw"></span>&nbsp; <em>Web</em></a></li>
+					<li data-target="#caro" data-slide-to="2"><a href="#ux" aria-controls="ux" role="tab" data-toggle="tab"><span class="fa fa-terminal fa-fw"></span>&nbsp; <em>UX</em></a></li>
+					<li data-target="#caro" data-slide-to="3"><a href="#graphic" aria-controls="graphic" role="tab" data-toggle="tab"><span class="fa fa-pencil fa-fw"></span>&nbsp; <em>Graphic</em></a></li>
+					<li data-target="#caro" data-slide-to="4"><a href="#media" aria-controls="media" role="tab" data-toggle="tab"><span class="fa fa-film fa-fw"></span>&nbsp; <em>Media</em></a></li>	
+					<li data-target="#caro" data-slide-to="5"><a href="#art" aria-controls="art" role="tab" data-toggle="tab"><span class="fa fa-paint-brush fa-fw"></span>&nbsp; <em>Art</em></a></li>
+				</ul>
+			</div>
+			<div class="col-sm-10">
+				<div id="studio-tab" class="tab-content">
+					<div role="tabpanel" class="tab-pane wow fadeIn active" id="studio">
 						<div class="entry-content">
-								<ul>
-									<li data-target="#caro" data-slide-to="1"><a href="#"><span class="fa fa-desktop fa-fw"></span> Web</a></li>
-									<li data-target="#caro" data-slide-to="2"><a href="#"><span class="fa fa-terminal fa-fw"></span> UX</a></li>
-									<li data-target="#caro" data-slide-to="3"><a href="#"><span class="fa fa-pencil fa-fw"></span> Graphic</a></li>
-									<li data-target="#caro" data-slide-to="4"><a href="#"><span class="fa fa-film fa-fw"></span> Media</a></li>	
-									<li data-target="#caro" data-slide-to="5"><a href="#"><span class="fa fa-paint-brush fa-fw"></span> Art</a></li>
-								</ul>
+							<h4 class="georgia"><em><span class="firstcharacter">A</span>lthough it seems that in the shower or sleeping is where my best work occurs,</em> the studio is the place where the shoe leather hits the pavement. This page is here so that I have a place to feature projects. I mostly work with web and application development, but I also do a good deal of graphic, print, and multimedia design. On my off hours, I like to turn off the computers to paint with oil, camel hair, canvas, and ground minerals.</h4>
 						</div>
-				</article>
-			</div>
-			<div class="col-sm-9">
-				<article class="blurb">
-					<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
+					</div>
+					<div role="tabpanel" class="tab-pane wow fadeIn" id="webdev">
 						<div class="entry-content">
-							<?php the_content(); ?>
+							<h4 class="georgia"><em><span class="firstcharacter">T</span>hey don't call it the information age for nothing</em>. The web browser has become the default medium for communication and the craft that powers it is still a mystery to most. Unbeknownst to the educated colleage I once heard say that "Any kid can do a website", It's actually a very broad spectrum of knowledge and skills that give a good developer complete control to align how a website performs, looks and operates to the needs of the publisher.</h4>
 						</div>
-					<?php endwhile; ?>
-				</article>
+					</div>
+					<div role="tabpanel" class="tab-pane wow fadeIn" id="ux">
+						<div class="entry-content">
+							<h4 class="georgia"><em><span class="firstcharacter">U</span>ser Experience Design is a very important aspect of modern communications</em> that encompasses psychology, human factors and ergonomics. Recent testing methodologies have taken some of the psuedo science. I find myself oftern referening to one of the most cited papers in cognitive psychology, The magical number sever plus or minus two, while consulting on a web projects. </h4>
+						</div>
+					</div>
+					<div role="tabpanel" class="tab-pane wow fadeIn" id="graphic">
+						<div class="entry-content">
+							<h4 class="georgia"><em><span class="firstcharacter">D</span>on't mistake legibility with communication</em> is my favorite quote about graphic design is from David Carson.</h4>
+						</div>
+					</div>
+					<div role="tabpanel" class="tab-pane wow fadeIn" id="media">
+						<div class="col-sm-9">
+							<div class="entry-content">
+								<h4 class="georgia"><em><span class="firstcharacter">T</span>he average human attention span is a bit shorter than that of a goldfish</em>. People often forget that the web is a multimedia medium. I'm a decent videographer with enough production skills and an eye for detail to make your multimedia look like it was actually done by a professional.</h4>
+							</div>
+						</div>
+						<div class="col-sm-3 studio-tools">		
+							<ul>
+								<li><em>Favorite Tools</em></li>
+								<li>Sony a7</li>
+								<li>Tascam DR60d</li>
+								<li>Adobe Premier Pro</li>
+								<li>Blackmagic DaVinci Resolve</li>
+							</ul>
+						</div>
+					</div>
+					<div role="tabpanel" class="tab-pane wow fadeIn" id="art">
+						<div class="entry-content">
+							<h4 class="georgia"><em><span class="firstcharacter">L</span>ife doesn't imitate art, it imitates bad television. - Woody Allen</em></h4>
+						</div>
+					</div>
+				</div>
 			</div>
 		</div>
 	</div>
 	
 	<div class="container">
 		<div class="row">
-			<h3><em>Projects</em></h3>
+			<h4><em>Projects</em></h4>
 		</div>
 		<div class="row">							
 			<?php query_posts('category_name=studio&showposts=3'); ?>

+ 61 - 6
style.css

@@ -151,6 +151,16 @@ input,button,select,textarea {
 	font-size: inherit;
 	line-height: inherit;
 }
+.firstcharacter { 
+	float: left; 
+	color: #000; 
+	font-size: 58px; 
+	line-height: 34px; 
+	padding-top: 4px; 
+	padding-right: 6px; 
+	padding-left: 0px; 
+	font-family: Georgia; 
+	}
 .tight {
 	margin: 3px 0;
 }
@@ -184,7 +194,7 @@ em {
 	letter-spacing: -2px;
 }
 .super-duper {
-	font-size: 123px;
+	font-size: 100px;
 	font-weight: bold;
 	letter-spacing: -2px;
 }
@@ -646,7 +656,7 @@ h5.contact {
 	min-height: 400px;
 }
 #caro {
-	min-height: 400px;
+	min-height: 300px;
 }
 .hide-svg {
 	visibility: hidden;
@@ -674,7 +684,7 @@ h5.contact {
 }
 #caro #svg-device {
 	float:right;
-	margin-top:-70px;
+	margin-top:-115px;
 }
 #studio-caro {
 	-webkit-transition: all 1s ease;
@@ -682,6 +692,10 @@ h5.contact {
 	-o-transition: all 1s ease;
 	transition: all 1s ease;
 }
+#studio-caro  .carousel-indicators {
+	left: 10%;
+	bottom: 0;
+}
 .caro-grad_old {
 	background: #5E7A9B;
 	background: -webkit-linear-gradient(top, #355069 0, #5e7a9b 100%);
@@ -828,9 +842,6 @@ h5.contact {
 	-moz-transition:all .3s linear;
 	transition:all .3s linear
 }
-@media screen and (max-width:767px){
-	.carousel-caption { display:none }
-}
 
 /*============================================
 					Navbar 
@@ -1157,6 +1168,46 @@ img.dw {
 	width:100%;
 	margin: 30px 0 30px;
 }
+.studio-tools{
+	border-left: 1px solid #cecece;
+	margin: 28px 0px;
+	padding: 0 10px;
+}
+.studio-subnav {
+	border-right: 1px solid #cecece;
+	margin: 28px 0px;
+	padding: 0 10px;
+}
+.studio-subnav a {
+	color: #000;
+	text-decoration: none;
+}
+.studio-subnav li.active a {
+	color: #FF0000;
+	text-decoration: none;
+}
+.studio-subnav li.active .fa {
+	color: #FF0000;
+}
+.studio-subnav a:hover {
+	color: #FF0000;
+	text-decoration: none;
+}
+.studio-subnav .fa {
+	color: #000;
+	text-decoration: none;
+}
+#studio-tab h4 {
+	line-height: 24px;
+}
+.studio-top.affix {
+	position: fixed;
+	top: 0;
+	z-index: 100;
+	background: #fff;
+	width: 100%
+}
+
 
 /*===== Structure =====*/
 .a:hover {
@@ -1188,6 +1239,10 @@ img.dw {
 	float: none;
 	margin: 0 auto;
 }
+.border-left {
+	border-left: 1px solid #333;
+}
+
 article#main {
 	padding: 0px;
 }