Skip to content

Commit

Permalink
Revert "Made more responsive and added quotes"
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaicv authored Nov 6, 2017
1 parent c37eabf commit 9afb4bc
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 97 deletions.
18 changes: 1 addition & 17 deletions css/main2.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified images/avatars/user-02.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/avatars/user-03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/tenor.gif
Binary file not shown.
54 changes: 21 additions & 33 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
================================================== -->
<script src="js/modernizr.js"></script>
<script src="js/pace.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.11.4/sweetalert2.all.js"></script>


<!-- favicons
================================================== -->
Expand Down Expand Up @@ -70,7 +68,7 @@

<!-- home
================================================== -->
<section id="home" data-parallax="scroll" data-image-src="images/hero-bg.jpg" data-natural-width=1800 data-natural-height=1600>
<section id="home" data-parallax="scroll" data-image-src="images/hero-bg.jpg" data-natural-width=3000 data-natural-height=2000>

<div class="overlay"></div>
<div class="home-content">
Expand Down Expand Up @@ -113,37 +111,20 @@ <h1 data-aos="fade-up">
</a>
</div>

</section>
</section> <!-- end home -->


<!-- about
================================================== -->
<section id="about">
<div class="new">
<div class="row contents text-center" style="margin-top:-230px;margin-bottom:-230px">
<div class="home-content-left">

<h3 data-aos="fade-up">Welcome to Youcuredme</h3>

<h5 data-aos="fade-up">
Connect.
Share.
Cure
</h5>
</div>
</div>
</div>

<div class="row about-intro">

<div class="col-four">
<h1 class="intro-header" data-aos="fade-up">About Our App</h1>
<div>
<img src="images/connect.png" class="col"/>
</div>
<header id="header" class="row">
<div class="header-logo">
<img src="images/icon.png" style="border-radius:100%; padding:20px; width: 90px;"/>
</div>
<div id="title" style="font-family: 'Oleo Script', cursive;font-size:1.8em;">Youcuredme</div>
<nav id="header-nav-wrap">
</div>

<div class="col-eight">
Expand Down Expand Up @@ -370,25 +351,32 @@ <h1 class="intro-header" data-aos="fade-up">What They Say About Our App.</h1>

<div>
<p>
A place for patients to interact with each other and share their experiences is necessary and good for their emotional wellness.
Your work is going to fill a large part of your life, and the only way to be truly satisfied is
to do what you believe is great work. And the only way to do great work is to love what you do.
If you haven't found it yet, keep looking. Don't settle. As with all matters of the heart, you'll know when you find it.
</p>

<div class="testimonial-author">
<img src="images/avatars/user-03.jpg" alt="Author image">
<img src="images/avatars/user-02.jpg" alt="Author image">
<div class="author-info">
Babu Zacharia
<span class="position">Co-ordinator, Palliative care at Asha Kiran</span>
Steve Jobs
<span class="position">CEO, Apple.</span>
</div>
</div>
</div>

<div>
<p>
If this product was there, I could have known many basic procedures from initial days, which can only be told by experienced people . </p>
This is Photoshop's version of Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet.
Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sagittis sem
nibh id elit. Duis sed odio sit amet nibh vulputate cursus a sit amet mauris.
</p>

<div class="testimonial-author">
<img src="images/avatars/user-02.jpg" alt="Author image">
<img src="images/avatars/user-03.jpg" alt="Author image">
<div class="author-info">
Sinil
<span>Bedridden neural patient for past 20 years</span>
John Doe
<span>CEO, ABC Corp.</span>
</div>
</div>
</div>
Expand Down Expand Up @@ -484,7 +472,7 @@ <h4>Site Links</h4>

<div class="col-twelve">
<div class="copyright">
<span >© Copyright Youcuredme 2017.</span>
<span>© Copyright Youcuredme 2017.</span>
</div>

<div id="go-top">
Expand Down
83 changes: 36 additions & 47 deletions js/main.js
Original file line number Diff line number Diff line change
@@ -1,54 +1,43 @@
/* ===================================================================
* Dazzle - Main JS
*
* ------------------------------------------------------------------- */
* ------------------------------------------------------------------- */

(function($) {

"use strict";

var cfg = {
var cfg = {
scrollDuration : 800, // smoothscroll duration
mailChimpURL : 'http://facebook.us8.list-manage.com/subscribe/post?u=cdb7b577e41181934ed6a6a44&amp;id=e65110b38d' // mailchimp url
},
},

$WIN = $(window);
$WIN = $(window);

// Add the User Agent to the <html>
// will be used for IE10 detection (Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0))
var doc = document.documentElement;
doc.setAttribute('data-useragent', navigator.userAgent);
$(".download-badges").on('click',function(e) {
e.preventDefault();
swal({
title: 'We are crafting our product. Stay tuned!',
text: '',
imageUrl: 'https://media.tenor.com/images/d02f68f2b8785baa2e72115dec9bceed/tenor.gif',
imageWidth: 200,
imageHeight: 100,
imageAlt: 'Custom image',
animation: false
})

})
/* Preloader


/* Preloader
* -------------------------------------------------- */
var ssPreloader = function() {

$WIN.on('load', function() {
$WIN.on('load', function() {

// force page scroll position to top at page refresh
$('html, body').animate({ scrollTop: 0 }, 'normal');

// will fade out the whole preloader DIV that covers the website.
$("#preloader").delay(500).fadeOut('slow');

});
};


/* Mobile Menu
* ---------------------------------------------------- */
* ---------------------------------------------------- */
var ssMobileMenu = function() {

var toggleButton = $('.header-menu-toggle'),
Expand All @@ -68,45 +57,45 @@
else nav.removeClass('mobile');
});

$('#header-nav-wrap').find('a').on("click", function() {
$('#header-nav-wrap').find('a').on("click", function() {

if (nav.hasClass('mobile')) {
toggleButton.toggleClass('is-clicked');
nav.slideToggle();
}
if (nav.hasClass('mobile')) {
toggleButton.toggleClass('is-clicked');
nav.slideToggle();
}
});

};
};


/* FitVids
* ---------------------------------------------------- */
var ssFitVids = function() {
$(".fluid-video-wrapper").fitVids();
};
};



/* Owl Carousel
* ------------------------------------------------------ */
var ssOwlCarousel = function() {

$(".owl-carousel").owlCarousel({
$(".owl-carousel").owlCarousel({
loop: true,
nav: false,
autoHeight: true,
items: 1
});

};
};


/* Highlight the current section in the navigation bar
* ------------------------------------------------------ */
var ssWaypoints = function() {

var sections = $("section"),
navigation_links = $(".header-main-nav li a");
navigation_links = $(".header-main-nav li a");

sections.waypoint( {

Expand All @@ -118,12 +107,12 @@

if (direction === "up") active_section = active_section.prev();

var active_link = $('.header-main-nav li a[href="#' + active_section.attr("id") + '"]');
var active_link = $('.header-main-nav li a[href="#' + active_section.attr("id") + '"]');

navigation_links.parent().removeClass("current");
active_link.parent().addClass("current");

},
},

offset: '25%'

Expand All @@ -138,9 +127,9 @@
$('.smoothscroll').on('click', function (e) {
var target = this.hash,
$target = $(target);

e.preventDefault();
e.stopPropagation();
e.stopPropagation();

$('html, body').stop().animate({
'scrollTop': $target.offset().top
Expand All @@ -157,7 +146,7 @@
/* Placeholder Plugin Settings
* ------------------------------------------------------ */
var ssPlaceholder = function() {
$('input, textarea, select').placeholder();
$('input, textarea, select').placeholder();
};


Expand All @@ -168,10 +157,10 @@

$('.alert-box').on('click', '.close', function() {
$(this).parent().fadeOut(500);
});

};
});

};



/* Animate On Scroll
Expand Down Expand Up @@ -218,12 +207,12 @@
3: '<i class="fa fa-warning"></i> E-mail address is not valid.',
4: '<i class="fa fa-warning"></i> E-mail address is not valid.',
5: '<i class="fa fa-warning"></i> E-mail address is not valid.'
}
}

};



/* Back to Top
* ------------------------------------------------------ */
var ssBackToTop = function() {
Expand All @@ -234,17 +223,17 @@
scrollSpeed = 300, // how slow/fast you want the button to scroll to top. can be a value, 'slow', 'normal' or 'fast'
goTopButton = $("#go-top")

// Showswal("Here's a message!") or hide the sticky footer button
// Show or hide the sticky footer button
$(window).on('scroll', function() {
if ($(window).scrollTop() >= pxShow) {
goTopButton.fadeIn(fadeInTime);
} else {
goTopButton.fadeOut(fadeOutTime);
}
});
};

};


/* Initialize
* ------------------------------------------------------ */
(function ssInit() {
Expand All @@ -257,11 +246,11 @@
ssSmoothScroll();
ssPlaceholder();
ssAlertBoxes();
ssAOS();
ssAOS();
ssAjaxChimp();
ssBackToTop();

})();



})(jQuery);
})(jQuery);

0 comments on commit 9afb4bc

Please sign in to comment.