Skip to content

Commit da163bc

Browse files
committed
Merge branch 'master' of github.com:typecode/splash
2 parents a6cb45f + 4fcb189 commit da163bc

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

css/tc.splash.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ h1 span { display:none; }
7474
.content{
7575
width: 680px;
7676
margin:0px auto;
77-
padding: 350px 0 50px 10px;
77+
padding: 350px 0 50px 0px;
7878
display:block;
7979
position:relative;
8080
z-index:100;
81+
82+
opacity:0;
8183
}
8284

8385
.content p {

index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ <h1><span>Type/Code</span></h1>
2020
</div>
2121

2222
<div class="content">
23-
<p>We are <em>Type/Code</em>. We design things and make them come to life. We just opened our doors, so a full website is still in the oven.</p>
23+
<p>We are <em>Type/Code</em>. We design things and make them come to life.<br/> We just opened our doors, so a full website is still in the oven.</p>
2424
<p>Drop us a line: <a href="mailto:hello@typeslashcode.com">hello@typeslashcode.com</a></p>
2525
<p>See what we’re up to on <a href="http://blog.typeslashcode.com">our blog</a></p>
2626
</div>
2727

2828
<script type="text/javascript" src="http://yui.yahooapis.com/combo?3.2.0/build/yui/yui-min.js&3.2.0/build/json/json-min.js&3.2.0/build/oop/oop-min.js&3.2.0/build/event-custom/event-custom-min.js&3.2.0/build/event/event-base-min.js&3.2.0/build/dom/dom-min.js&3.2.0/build/dom/dom-style-ie-min.js&3.2.0/build/pluginhost/pluginhost-min.js&3.2.0/build/node/node-min.js&3.2.0/build/event/event-delegate-min.js&3.2.0/build/querystring/querystring-stringify-simple-min.js&3.2.0/build/queue-promote/queue-promote-min.js&3.2.0/build/datatype/datatype-xml-min.js&3.2.0/build/io/io-min.js&3.2.0/build/event-simulate/event-simulate-min.js&3.2.0/build/node/node-event-simulate-min.js"></script>
2929
<script type="text/javascript" src="scripts/lib/excanvas.compiled.js"></script>
3030
<script type="text/javascript" src="scripts/lib/includes.sylvester.src.js"></script>
31-
31+
3232
<script type="text/javascript" src="http://use.typekit.com/kmb8qqs.js"></script>
3333
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
34-
34+
3535
<script type="text/javascript" src="scripts/tc.util.js"></script>
3636
<script type="text/javascript" src="scripts/tc.app.particle.panel.js"></script>
3737
<script type="text/javascript" src="scripts/tc.app.particle.context.js"></script>
@@ -41,19 +41,20 @@ <h1><span>Type/Code</span></h1>
4141
<script type="text/javascript" charset="utf-8">
4242

4343
YUI().use('io','json','node','event-custom','node-event-simulate','util',
44-
'event-resize',function(Y){
44+
'event-resize', 'anim', function(Y){
4545
app.initialize(Y);
4646
});
4747

4848
var _gaq = _gaq || [];
49-
_gaq.push(['_setAccount', 'UA-20012698-1']);
49+
_gaq.push(['_setAccount', 'UA-13114017-1']);
5050
_gaq.push(['_trackPageview']);
51-
51+
5252
(function() {
5353
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
5454
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
5555
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
5656
})();
57+
5758
</script>
5859
</body>
5960
</html>

scripts/tc.app.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,17 @@ var app = {
2020
tc.util.log('Not webkit...falling back to static logo');
2121
app.Y.Node.one('body').addClass('fallback');
2222
}
23+
app.fadeInContent();
24+
};
25+
26+
app.fadeInContent = function() {
27+
var fadeIn = new app.Y.Anim({
28+
node: '.content',
29+
to: {
30+
opacity: 1
31+
}
32+
});
33+
//fadeIn.set('duration', );
34+
35+
fadeIn.run();
2336
};

scripts/tc.app.particle.panel.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ if(!tc){ var tc = {}; }
6666
diameter,
6767
diameter
6868
);
69-
//context.fillRect(
70-
// this.anchor.elements[0]+this.radius,
71-
// this.anchor.elements[1]+this.radius,
72-
// 1,
73-
// 1
74-
//)
7569
}
7670
}));
7771
})(arr[i]);

0 commit comments

Comments
 (0)