-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Changes from 10 commits
18d175f
ec86c20
da50cd9
dd912b0
d88c8ab
9ff9537
757a960
b1a2625
55073eb
392e521
413e212
ea58b79
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
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; | ||
} | ||
} |
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" /> | ||
<link rel="author" href="http://gawds.in" /> | ||
<meta name="author" content="gawds" /> | ||
<!-- Open Graph data --> | ||
<meta property="og:title" content="TEDx NITK" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change content to There was a problem hiding this comment. Choose a reason for hiding this commentThe 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" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change the description content to There was a problem hiding this comment. Choose a reason for hiding this commentThe 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> </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> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
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(); |
There was a problem hiding this comment.
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.