Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

landing page updated #1

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added css/HelveticaBold.ttf
Binary file not shown.
Binary file added css/HelveticaNeue.ttf
Binary file not shown.
Binary file added css/X.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions css/bootstrap.min.css

Large diffs are not rendered by default.

98 changes: 98 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
@font-face {
font-family: hLight;
src: url(HelveticaNeue.ttf);
}
@font-face {
font-family: hBold;
src: url(HelveticaBold.ttf);
}
body, html {
width: 100%;
overflow-x: hidden;
margin: 0px;
padding: 0px;
color: #fff;
font-family: hLight;
text-align: center;
overflow: hidden;
}
span {
transition: all 0.18s ease;
font-size: 3.5rem;
}
#splash {
background: black;
width: 10px;
height: 10px;
transform: translate(50vw, 50vh);
transform-origin: 50% 50%;
border-radius: 100%;
}
.hidden {
display: none;
}
small {
color: #fff !important;
margin-left: 20px;
}
ul {
list-style-type: none;
padding: 0px;
}
li {
display: inline;
margin: 10px;
}
#main_info_cont, #coming_soon {
opacity: 0;
}
#main_info_cont {
margin-top: 30px;
height: 200px;
}
.jumbotron {
min-height: 100vh;
background: transparent;
}
.transformation_light {
color: rgba(230, 43, 30, 0.5);
}
.transformation {
color: rgba(230, 43, 30, 1);
}
h1 {
font-family: hBold;
}
#logo {
width: 128px;
}
@media only screen and (max-width: 1000px) {
#main_info_cont {
height: 110px;
}
span {
font-size: 2.5rem;
}
}
@media only screen and (max-width: 325px) {
#main_info_cont {
margin-top: 50px !important;
height: 128px;
}
span {
font-size: 2rem;
}
small {
display: block;
}
ul {
margin-top: 40px !important;
}
footer {
font-size: 1rem;
margin-top: 100px !important;
}
#logo {
width: 96px;
}
}
Binary file added favicon.ico
Binary file not shown.
Binary file added fonts/glyphicons-halflings-regular.eot
Binary file not shown.
288 changes: 288 additions & 0 deletions fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/glyphicons-halflings-regular.ttf
Binary file not shown.
Binary file added fonts/glyphicons-halflings-regular.woff
Binary file not shown.
Binary file added fonts/glyphicons-halflings-regular.woff2
Binary file not shown.
59 changes: 59 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>TedX Nit Kurukshetra</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="TEDx NIT, Kurukshetra" />
<meta name="robots" content="index, follow" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation not followed from line 8-21. Set the indentation to 4 spaces.

<link rel="author" href="http://gawds.in" />
<meta name="author" content="gawds" />
<!-- Open Graph data -->
<meta property="og:title" content="TEDx NITK" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change content to content="TEDxNITKurukshetra"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the same changes to Twitter card and Schema.org markup for Google+ sections. It helps SEO to find our website easily.

<meta property="og:type" content="website" />
<meta property="og:description" content="TEDx NIT, Kurukshetra" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the description content to TEDx NITKurukshetra. Coming soon. <Add extra details.>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the same changes to Twitter card and Schema.org markup for Google+ sections.

<!-- Twitter Card data -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="TEDx NITK" />
<meta name="twitter:description" content="TEDx NIT, Kurukshetra" />
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="TEDx NITK">
<meta itemprop="description" content="TEDx NIT, Kurukshetra">

<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div id="splash">
</div>
<div class="container" id="full_container">
<div class="jumbotron text-center">
<img id="main_info_cont" src = "png/tedxNitkkr.png">
<h1 id="coming_soon">
<span id="1">C</span>
<span id="2">O</span>
<span id="3">M</span>
<span id="4">I</span>
<span id="5">N</span>
<span id="6">G</span>
<span>&nbsp;</span>
<span id="7">S</span>
<span id="8">O</span>
<span id="9">O</span>
<span id="10">N</span>
</h1>
<ul style="margin-top: 50px;">
<li><a href="https://twitter.com/TEDtalks" target="_blank"><img src="png/twitter.png"></a></li>
<li><a href="https://www.youtube.com/user/TEDtalksDirector" target="_blank"><img src="png/youtube.png"></a></li>
<li><a href="https://www.facebook.com/TED/" target="_blank"><img src="png/facebook.png"></a></li>
<li><a href="" target="_blank"><img src="png/gmail.png"></a></li>
</ul>
<footer style="margin-top: 120px;"><h4>Cooked with love by <a href="http://www.gawds.in" target="_blank"><img src="logo.png" id="logo"/></a></h4></footer>
</div>
</div>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/TweenMax.min.js"></script>
<script src="js/main.js"></script>
</html>
17 changes: 17 additions & 0 deletions js/TweenMax.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions js/bootstrap.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions js/jquery.min.js

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions js/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@

function splittext() {
var i = -2;
var interval = setInterval(
function() {
i++;
var obj = '#' + i;
$(obj).removeClass('transformation_light');
$(obj).addClass('transformation');

obj = '#' + (i - 1);
$(obj).addClass('transformation_light');
$(obj).removeClass('transformation');


obj = '#' + (i + 1);
$(obj).addClass('transformation_light');
$(obj).removeClass('transformation');

obj = '#' + (i - 2);
$(obj).removeClass('transformation_light');
$(obj).removeClass('transformation');
if(i == 12){
clearInterval(interval);
start();
}
}
,150
);
}
function start() {
$('body').css('background', 'black');
$('#splash').addClass('hidden');
TweenMax.to('#coming_soon', 0.5, {
opacity: 1
}
);
TweenMax.to('#main_info_cont', 1, {
opacity: 1,
onComplete: splittext
}
);
}

function full_splash() {
var splash = $('#splash');
TweenMax.to(splash, 0.5, {
scale: 250,
onComplete: start
}
);
}

function splash_screen() {
var splash = $('#splash');
TweenMax.to(splash, 0.2, {
opacity: 0,
repeat: 5,
yoyo: true,
onComplete: full_splash
}
);
}
splash_screen();
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added png/facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added png/gmail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added png/tedxNitkkr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added png/twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added png/youtube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.