Skip to content

Commit 3492458

Browse files
committed
Restored from video
1 parent b260110 commit 3492458

File tree

2 files changed

+13
-42
lines changed

2 files changed

+13
-42
lines changed

gh-pages-files/index.css

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ a.github-bar { position:fixed; top:0; z-index:200; padding:10px 0; width:100%; d
4444

4545
.header-wrapper { position:relative; }
4646

47-
.wrap-my-slide { height: 90vh; position:relative; }
47+
.wrap-my-slide { height: 60vh; position:relative; }
4848
.slide-a-long { height:100%; }
4949
.slide-a-long div { height:100%; }
5050
.slide { background-size:cover; background-position:center center; padding-top:240px; }
@@ -66,7 +66,7 @@ header { position:absolute; top:60px; width:100%; }
6666
.anchor .circle { background:#00bed5; border-radius:200px; height:110px; width:110px; text-align:center; display:table-cell; vertical-align:middle; color:#fff; font-size:80px; }
6767
.anchor .circle span { position:relative; bottom: 10px; }
6868

69-
.what-is-it { padding: 30px 0 80px 0; }
69+
.what-is-it { padding:80px 0; }
7070
.code { background:#00bed5; }
7171
.example { padding:80px 15px; }
7272

@@ -164,13 +164,3 @@ footer small { display: inline-block; margin-top: 20px; font-family:roboto, sans
164164
}
165165

166166
}
167-
168-
.black {
169-
color: black;
170-
}
171-
172-
.title {
173-
margin-top: -7px;
174-
padding: 60px 0 70px;
175-
background-color: #f5f5f5;
176-
}

index.html

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<body ng-app="schemaForm" ng-controller="PageCtrl">
2828
<a href="https://github.com/Textalk/angular-schema-form" class="github-banner hidden-xs"><img src="gh-pages-files/img/github-banner.png" alt=""/></a>
2929
<a href="https://github.com/Textalk/angular-schema-form" class="github-bar visible-xs"><span class="glyphicon glyphicon-star" aria-hidden="true"></span> us on GitHub</a>
30-
<!-- <div class="header-wraper"> restore later
30+
<div class="header-wraper">
3131
<div class="wrap-my-slide">
3232
<div class="slide-a-long hidden-xs">
3333
<div class="slide" id="slide1">
@@ -57,36 +57,18 @@ <h3>Reason #3</h3>
5757
<p>Nothing says freedom like this.</p>
5858
</div>
5959
</div>
60-
</div> -->
61-
62-
<iframe class="video" src="https://www.youtube.com/embed/duBFMipRq2o?rel=0" frameborder="0" allowfullscreen></iframe>
63-
64-
<div class="title">
65-
<div class="container pushdown">
66-
<div id="logo">
67-
<img src="gh-pages-files/img/logo.png" alt="Angular Schema Form" />
68-
</div>
69-
<h1 class="black">Generate forms from a JSON schema, with AngularJS!</h1>
70-
</div>
7160
</div>
7261

73-
<!-- <header> Restore later
62+
<header>
7463
<div class="container">
7564
<div id="logo">
7665
<img src="gh-pages-files/img/logo.png" alt="Angular Schema Form" />
7766
</div>
7867
<h1>Generate forms from a JSON schema, with AngularJS!</h1>
7968
</div>
8069
</header>
81-
<div class="anchor hidden-xs">
82-
<div class="container">
83-
<a href="#what-is-it">
84-
<div class="circle"><span>⌵</span></div>
85-
</a>
86-
</div>
87-
</div>
8870
</div>
89-
</div>-->
71+
</div>
9072

9173
<div id="what-is-it" class="container what-is-it">
9274
<div class="col-sm-12">
@@ -221,7 +203,6 @@ <h5>RTFM<br/>FTW</h5>
221203
</div>
222204
</div>
223205

224-
225206
<div class="container add-ons">
226207
<h2>Add-ons</h2>
227208
<p>
@@ -356,14 +337,14 @@ <h5>Thank you &amp; good bye!</h5>
356337
'comment': 'At least i have chicken.'
357338
};
358339

359-
var videoSize = { width: $(window).innerWidth() + 'px', height: Math.floor($(window).innerWidth() / 1.777777) + 'px' };
360-
$('.video').css(videoSize);
361-
362-
// If you want to keep full screen on window resize
363-
$(window).resize(function(){
364-
videoSize = { width: $(window).innerWidth() + 'px', height: Math.floor($(window).innerWidth() / 1.777777) + 'px' }
365-
$('.video').css(videoSize);
366-
});
340+
// var videoSize = { width: $(window).innerWidth() + 'px', height: Math.floor($(window).innerWidth() / 1.777777) + 'px' };
341+
// $('.video').css(videoSize);
342+
//
343+
// // If you want to keep full screen on window resize
344+
// $(window).resize(function(){
345+
// videoSize = { width: $(window).innerWidth() + 'px', height: Math.floor($(window).innerWidth() / 1.777777) + 'px' }
346+
// $('.video').css(videoSize);
347+
// });
367348

368349
/*
369350
Navigation for addons list.

0 commit comments

Comments
 (0)