Browse Source

Richard's Template test

Gil 6 năm trước cách đây
mục cha
commit
5531ad34d8

+ 0 - 60
.gitignore

@@ -1,60 +0,0 @@
-# ---> Python
-# Byte-compiled / optimized / DLL files
-__pycache__/
-*.py[cod]
-*$py.class
-
-# C extensions
-*.so
-
-# Distribution / packaging
-.Python
-env/
-build/
-develop-eggs/
-dist/
-downloads/
-eggs/
-.eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-*.egg-info/
-.installed.cfg
-*.egg
-
-# PyInstaller
-#  Usually these files are written by a python script from a template
-#  before PyInstaller builds the exe, so as to inject date/other infos into it.
-*.manifest
-*.spec
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-htmlcov/
-.tox/
-.coverage
-.coverage.*
-.cache
-nosetests.xml
-coverage.xml
-*,cover
-
-# Translations
-*.mo
-*.pot
-
-# Django stuff:
-*.log
-
-# Sphinx documentation
-docs/_build/
-
-# PyBuilder
-target/
-

+ 0 - 340
LICENSE

@@ -1,340 +0,0 @@
-GNU GENERAL PUBLIC LICENSE
-                       Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                            Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-                    GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-                            NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-                     END OF TERMS AND CONDITIONS
-
-            How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    {description}
-    Copyright (C) {year}  {fullname}
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License along
-    with this program; if not, write to the Free Software Foundation, Inc.,
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
-    Gnomovision version 69, Copyright (C) year name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  {signature of Ty Coon}, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
-

BIN
Layla.png


+ 31 - 35
README.md

@@ -1,35 +1,31 @@
-#Layla
-
-A Stylish Coming Soon Template for your upcoming business. 
-
-#Features
-
-- Stylish Modern Design
-- Full Screen Video Background
-- Responsive layout
-- Optimized Code & Content
-- Sticky Menu
-- Count Down Timer. Easily customizable.
-- Clean Code
-- Cross-browser Compatibility
-- CSS3 Animations
-- 100% Fully Customizable
-- Google Fonts
-- Built with HTML5 & CSS3
-- Strong focus on Usability and UX
-- CSS Framework - Bootstrap 3
-- Ionicons Icon Integrated
-- Clean and stylish UI
-- Smooth CSS3 animation
-- Well commented coding
-- Easy to use
-- It's Free!
-
-#Screenshot
-
-
-![Screenshot of Flusk]
-(https://raw.githubusercontent.com/technext/layla/master/Layla.png)
-
-#Demo Link
-Check out the demo of Flusk responsive HTML template at (http://themewagon.com/demo/layla/)
+# hackathon_test
+
+First draft of hackathon website.
+
+## How to test it:
+
+please clone the entire repository - otherwise it won't work because of css and js dependencies
+
+The image(s) are placeholders, but should be free for noncommercial use
+
+Buttons/links won't work yet
+
+Let me know if you like the font & style - we should then unify a visual style for all marketing/prospectus materials
+
+## TODO (22 Nov, 3 pm):
+
+* Finish TODO in readme and elsewhere
+* Finish layout of content sections
+* Integrate google maps into a "Where" section of About
+* Fix the footer
+* Add dummy text to content sections
+* Add dummy content to content sections
+* Add more sections
+* Fix links
+* Set up scrollspy
+* Fix footer and header
+* Add logos
+* Add actual content
+* Set up hosting, SSL, Cloudflare, etc
+* Add other sections of site (Signup etc)
+* Grab a beer

BIN
Thumbs.db


BIN
assets/bg-about.png


BIN
assets/bg.mp4


BIN
assets/bg.ogv


BIN
assets/bg.webm


BIN
assets/block.gif


BIN
assets/lady.jpg


BIN
assets/logo.png


BIN
assets/map.jpg


BIN
assets/overlay.png


BIN
assets/poster.jpg


BIN
assets/signature.png


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 3125
css/animate.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 11173 - 0
css/bootstrap-material-design.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 8 - 0
css/bootstrap-material-design.min.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 5
css/bootstrap.min.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 6
css/ionicons.min.css


+ 0 - 71
css/owl.carousel.css

@@ -1,71 +0,0 @@
-/* 
- * 	Core Owl Carousel CSS File
- *	v1.3.3
- */
-
-/* clearfix */
-.owl-carousel .owl-wrapper:after {
-	content: ".";
-	display: block;
-	clear: both;
-	visibility: hidden;
-	line-height: 0;
-	height: 0;
-}
-/* display none until init */
-.owl-carousel{
-	display: none;
-	position: relative;
-	width: 100%;
-	-ms-touch-action: pan-y;
-}
-.owl-carousel .owl-wrapper{
-	display: none;
-	position: relative;
-	-webkit-transform: translate3d(0px, 0px, 0px);
-}
-.owl-carousel .owl-wrapper-outer{
-	overflow: hidden;
-	position: relative;
-	width: 100%;
-}
-.owl-carousel .owl-wrapper-outer.autoHeight{
-	-webkit-transition: height 500ms ease-in-out;
-	-moz-transition: height 500ms ease-in-out;
-	-ms-transition: height 500ms ease-in-out;
-	-o-transition: height 500ms ease-in-out;
-	transition: height 500ms ease-in-out;
-}
-	
-.owl-carousel .owl-item{
-	float: left;
-}
-.owl-controls .owl-page,
-.owl-controls .owl-buttons div{
-	cursor: pointer;
-}
-.owl-controls {
-	-webkit-user-select: none;
-	-khtml-user-select: none;
-	-moz-user-select: none;
-	-ms-user-select: none;
-	user-select: none;
-	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-}
-
-/* mouse grab icon */
-.grabbing { 
-    cursor:url(grabbing.png) 8 8, move;
-}
-
-/* fix */
-.owl-carousel  .owl-wrapper,
-.owl-carousel  .owl-item{
-	-webkit-backface-visibility: hidden;
-	-moz-backface-visibility:    hidden;
-	-ms-backface-visibility:     hidden;
-  -webkit-transform: translate3d(0,0,0);
-  -moz-transform: translate3d(0,0,0);
-  -ms-transform: translate3d(0,0,0);
-}
-

+ 0 - 79
css/owl.theme.css

@@ -1,79 +0,0 @@
-/*
-* 	Owl Carousel Owl Demo Theme 
-*	v1.3.3
-*/
-
-.owl-theme .owl-controls{
-	margin-top: 10px;
-	text-align: center;
-}
-
-/* Styling Next and Prev buttons */
-
-.owl-theme .owl-controls .owl-buttons div{
-	color: #FFF;
-	display: inline-block;
-	zoom: 1;
-	*display: inline;/*IE7 life-saver */
-	margin: 5px;
-	padding: 3px 10px;
-	font-size: 12px;
-	-webkit-border-radius: 30px;
-	-moz-border-radius: 30px;
-	border-radius: 30px;
-	background: #869791;
-	filter: Alpha(Opacity=50);/*IE7 fix*/
-	opacity: 0.5;
-}
-/* Clickable class fix problem with hover on touch devices */
-/* Use it for non-touch hover action */
-.owl-theme .owl-controls.clickable .owl-buttons div:hover{
-	filter: Alpha(Opacity=100);/*IE7 fix*/
-	opacity: 1;
-	text-decoration: none;
-}
-
-/* Styling Pagination*/
-
-.owl-theme .owl-controls .owl-page{
-	display: inline-block;
-	zoom: 1;
-	*display: inline;/*IE7 life-saver */
-}
-.owl-theme .owl-controls .owl-page span{
-	display: block;
-	width: 12px;
-	height: 12px;
-	margin: 5px 7px;
-	filter: Alpha(Opacity=50);/*IE7 fix*/
-	opacity: 0.5;
-	-webkit-border-radius: 20px;
-	-moz-border-radius: 20px;
-	border-radius: 20px;
-	background: #869791;
-}
-
-.owl-theme .owl-controls .owl-page.active span,
-.owl-theme .owl-controls.clickable .owl-page:hover span{
-	filter: Alpha(Opacity=100);/*IE7 fix*/
-	opacity: 1;
-}
-
-/* If PaginationNumbers is true */
-
-.owl-theme .owl-controls .owl-page span.owl-numbers{
-	height: auto;
-	width: auto;
-	color: #FFF;
-	padding: 2px 10px;
-	font-size: 12px;
-	-webkit-border-radius: 30px;
-	-moz-border-radius: 30px;
-	border-radius: 30px;
-}
-
-/* preloading images */
-.owl-item.loading{
-	min-height: 150px;
-	background: url(AjaxLoader.gif) no-repeat center center
-}

+ 0 - 768
css/style.css

@@ -1,768 +0,0 @@
-/*  
-Theme Name: Layla
-Version:    1.0
-Author:     ThemeWagon
-
-
-TABLE OF CONTENTS
-
-    01 - Video
-    02 - Global
-    03 - Navbar
-    04 - Main Content Section
-    05-  Preloader
-    06 - About
-    07 - Contact us Section
-    08 - Footer Section
-    09 - Responsive Fixes
-
-
-*/
-
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  01 - Video 
-/////////////////////////////////////////////////////////////////////*/
-
-#video-bg {
-    overflow: hidden;
-    position: absolute;
-    width: 100%;
-    z-index: -50;
-    bottom: 0;
-    right: 0;
-    top: 0;
-    left: 0;
-}
-#video-background {
-    position: fixed;
-    bottom: 0;
-    right: 0;
-    top: 0;
-    left: 0;
-    min-width: 100%;
-    min-height: 100%;
-    z-index: -100;
-    width: auto;
-    height: auto;
-}
-.overlay {
-    position: absolute;
-    min-width: 100%;
-    min-height: 100%;
-    top: 0;
-    left: 0;
-    right: 0;
-    width: auto;
-    height: auto;
-    background: url(../assets/overlay.png);
-}
-
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  02 - Global 
-/////////////////////////////////////////////////////////////////////*/
-
-
-body {
-    overflow-x: hidden;
-    font-family: 'Josefin Sans', sans-serif;
-}
-#main {
-    position: relative;
-}
-#main #main-content{
-    position: relative;
-}
-a {
-    color: #9c27b0;
-}
-a:hover,
-a:focus,
-a:active {
-    color: #e9e9e9;
-    text-decoration: none;
-    outline: none;
-    -moz-transition: 0.4s ease all;
-    -webkit-transition: 0.4s ease all;
-    -o-transition: 0.4s ease all;
-    transition: 0.4s ease all;
-}
-
-p {
-    font-size: 1.8em;
-}
-
-.title {
-    margin: 0px 0 5em;
-    position: relative;
-    width: 100%;
-    color: #fff;
-}
-
-.title.line {
-    display: block;
-    width: 100%;
-    position: absolute;
-    height: 5px;
-    background: transparent;
-    border-top: 1px dashed #9c27b0;
-    border-bottom: 1px dashed #9c27b0;
-    top: 50%;
-    z-index: 200;
-    vertical-align: middle;
-}
-
-.title h1 {
-    background: #9c27b0;
-    display: inline-block;
-    padding: 1em;
-    border-left: 6px double #9c27b0;
-    border-right: 6px double #9c27b0;
-    position: relative;
-    z-index: 600;
-    line-height: 0;
-    margin: 0;
-}
-
-/*Preloader*/
-
-.js div#preloader { 
-    position: fixed; 
-    left: 0; 
-    top: 0; 
-    z-index: 99999; 
-    width: 100%; 
-    height: 100%; 
-    overflow: visible; 
-    background: #fff url('../assets/block.gif') no-repeat center center; 
-}
-
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  03 - Navbar
-/////////////////////////////////////////////////////////////////////*/
-
-#nav-menu {
-    margin: 0;
-    background: #000;
-    border-color: #000;
-    border-radius: 0px;
-    position: relative;
-    z-index: 899;
-}
-
-.navbar-brand {
-    font-size: 26px;
-    color: #fff !important;
-    font-weight: 400;
-}
-#nav-menu li a {
-    color: #fff;
-    font-size: 16px;
-    text-transform: uppercase;
-}
-#nav-menu li a:hover,#nav-menu li a:active, #nav-menu li a:focus {
-    background: transparent;
-    color: #E589F5;
-}
-.hover-li {
-    display: block;
-    width: 100%;
-    height: 1px;
-    background: #9c27b0;
-    position: absolute;
-    top: -2%;
-    transition:  0.3s ease all;
-}
-
-#nav-menu li {
-    position: relative;
-    overflow: hidden;
-    transition: 0.3s ease all;
-    -webkit-transition: 0.3s ease all;
-    -moz-transition: 0.3s ease all;
-    -o-transition: 0.3s ease all;
-    transition: 0.3s ease all;
-}
-
-.nav>li:hover span.hover-li {
-    top: 98%;
-}
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  03 - Main Content Section
-/////////////////////////////////////////////////////////////////////*/
-
-.logo {
-    background: transparent;
-    /*position: absolute;*/
-    z-index: 899;
-    width: 100%;
-    top: 8%;
-    left: 15px;
-    padding-top: 20px;
-}
-
-.center-container {
-    position: absolute;
-    top: 50%;
-    left: 50%;
-    transform: translate(-50%,-50%);
-    padding-top: 240px;
-    z-index: 99999;
-}
-.headline-wrap {
-    padding-top: 15px;
-}
-/*Cock*/
-
-.clock{
-    position: relative;
-    max-width: 480px;
-    margin: 0 auto;
-}
-.clock-item {
-    padding-bottom: 40px;
-}
-.countdown-container {
-    position: relative;
-    top: 50%;
-    -webkit-transform: translateY(-50%);
-    -moz-transform: translateY(-50%);
-    transform: translateY(-50%);
-
-}
-
-.clock-item .inner {
-    height: 0px;
-    padding-bottom: 100%;
-    position: relative; 
-    width: 100%;
-}
-
-.clock-canvas {
-    background-color: rgba(0, 0, 0, .1);
-    border-radius: 50%;
-    height: 0px;
-    padding-bottom: 100%;
-}
-
-.text {
-    color: #fff;    
-    font-size: 36px;
-    font-weight: 300;  
-    margin-top: -50px;
-    position: absolute;
-    top: 50%;
-    text-align: center;
-    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
-    width: 100%;
-}
-
-.text .val {
-    font-size: 2em;
-    line-height: 1em;
-}
-
-.text .type-time {
-    font-size: 16px;
-}
-
-/*Heading text*/
-
-.quotes {
-    font-size: 3.8em;
-    font-weight: 100;
-    line-height: 1.4em;
-    display: none;
-}
-
-.headline {
-    font-size: 2.3em;
-    text-transform: uppercase;
-    font-weight: 600;
-    padding-top: 0%;
-    padding-bottom: 0.5em;
-    color: #fff;
-}
-#subscribe-form {
-    max-width: 500px;
-    margin-bottom: 50px !important; 
-}
-.subscribe_text {
-    font-size: 1.8em;
-    line-height: 1.2em;
-    padding: 1em 0 0 0;
-}
-.mc-email {
-    border-radius: 0px;
-    background: transparent;
-    border: 1px solid #fff;
-    font-size: 1.5em;
-    height: auto;
-    outline: none;
-    transition: 0.4s ease border;
-}
-.mc-email:active, 
-.mc-email:focus{
-    box-shadow: none;
-    border-color: #9c27b0;
-}
-.mc-btn {
-    border-radius: 0px;
-    font-size: 1.5em;
-    padding: 0.29em 0.8em;
-    background: transparent;
-    color: #fff;
-    transition: 0.4s ease-in;
-}
-.mc-btn:hover {
-    background: #9c27b0;
-    color: #fff;
-    border-color: #9c27b0;
-}
-.push-btn-left{
-    margin-left: -30px;
-}
-.arrow-down {
-    position: absolute;
-    width: 100%;
-    bottom: 2%;
-    z-index: 899;
-}
-.arrow-down a{
-    font-size: 2em;
-    color: #fff;
-}
-.arrow-down a:hover {
-    color: #9c27b0;
-}
-
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  04 - Preloader
-/////////////////////////////////////////////////////////////////////*/
-
-#preloader { 
-    position: fixed; 
-    left: 0; 
-    top: 0; 
-    z-index: 99999999999; 
-    width: 100%; 
-    height: 100%; 
-    overflow: visible; 
-    background: #fff url('../img/preloader.gif') 
-    no-repeat center center; 
-}
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  06 - About
-/////////////////////////////////////////////////////////////////////*/
-
-#about{
-    color: #fff;
-    background: url(../assets/bg-about.png) no-repeat;
-    background-size: cover;
-    padding: 80px 0px 80px;
-}
-.portrait {
-    border: 10px solid rgba(255, 255, 255, 0.13);
-    margin: 0 auto;
-}
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  7 - Contact us Section
-/////////////////////////////////////////////////////////////////////*/
-#contact {
-    padding: 80px 0px 80px;
-    background: url(../assets/map.jpg) no-repeat;
-    background-size: cover;
-}
-#contact p{
-    color: #fff;
-}
-.afsana-style, .afsana-form textarea {
-    background: transparent;
-    border-radius: 0px;
-    border-top: 0px;
-    border-left: 0px;
-    border-bottom: 2px solid #fff;
-    border-right: 2px solid #fff;
-    color: #fff;
-    height: auto;
-    padding: 0.5em;
-    font-size: 1.3em;
-}
-.afsana-style:hover, .afsana-form textarea:hover,
-.afsana-style:active, .afsana-form textarea:active ,
-.afsana-style:focus, .afsana-form textarea:focus {
-    outline: none;
-    box-shadow: none;
-    border-color: #9c27b0!important;
-}
-.afsana-btn {
-    font-size: 1.5em;
-    padding: 0.6em 0;
-    width: 100%;
-    border-radius: 0;
-    background: #9c27b0;
-    border-color: #9c27b0;
-    margin-top: -15px;
-}
-.afsana-btn:hover {
-    background: transparent;
-    border-bottom: 2px solid #fff;
-    border-left: 2px solid #fff;
-    border-right: 2px solid #fff;
-}
-.facebook-box {
-    width: 100%;
-    height: auto;
-    overflow: hidden;
-}
-.facebook-box iframe {
-    width: 100%;
-    height: auto;
-    overflow: hidden;
-}
-.social-icons ul {
-    padding: 0;
-    margin: 6px 0 0;
-    text-align: center;
-}
-
-.social-icons ul li {
-    display: inline-block;
-    list-style: none;
-    height: 50px;
-    width: 50px;
-    margin: 0px 5px;
-    text-align: center;
-    border: 2px solid;
-    border-radius: 50%;
-    transition: 0.4s ease;
-}
-
-.social-icons ul li a {
-    font-size: 2em;
-    line-height: 0em;
-    display: inline-block;
-    padding: 11px 0px;
-    color: #fff;
-}
-
-.social-icons ul li a i {
-}
-
-.facebook {
-    background: #3b5998;
-    border-color: #3b5998 !important;
-}
-.twitter {
-    background: #00aced;
-    border-color: #00aced !important;
-}
-.googleplus {
-    background: #dd4b39;
-    border-color: #dd4b39 !important;
-}
-.github {
-    background: #999999;
-    border-color: #999999 !important;
-}
-.linkedin {
-    background: #007bb6;
-    border-color: #007bb6 !important;
-}
-.youtube {
-    background: #bb0000;
-    border-color: #bb0000 !important;
-}
-.social-icons ul li:hover {
-    background: transparent;
-}
-
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  8 - Footer Section
-/////////////////////////////////////////////////////////////////////*/
-
-#footer {
-    background: #000;
-    padding: 30px 0px;
-}
-
-#footer .copyright {
-    font-size: 1.6em;
-    color: #fff;
-    margin: 0;
-    padding: 0;
-}
-
-
-/* ///////////////////////////////////////////////////////////////////// 
-//  9 - Responsive Fixes
-/////////////////////////////////////////////////////////////////////*/
-
-@media (max-width: 768px) {
-    .headline {
-        font-size: 1em;
-    }
-}
-
-/*1368px - */
-
-@media (min-width: 1368px) {
-    .logo {
-        padding: 30px 0px;
-        top: 2%;
-    }
-}
-
-
-/*1300px - 992px*/
-
-@media all and (max-width: 1300px) and (min-width: 992px) {
-    .headline {
-        font-size: 2em;
-    }
-    .text .type-time {
-        font-size: 0.4em;
-    }
-}
-
-/*1170px*/
-
-@media all and (max-width: 1368px) {
-    .clock {
-        padding: 0em 2em;
-    }
-    .content {
-        margin-top: 20px;
-    }
-}
-
-/*992px*/
-
-@media all and (max-width: 992px) {
-    #video-bg, #main-content {
-        min-height: 792px;
-    }
-    .center-container {
-        padding-top: 165px;
-        transform: translate(-50%,-47%);
-        -webkit-transform: translate(-50%,-47%);
-        -moz-transform: translate(-50%,-47%);
-        -ms-transform: translate(-50%,-47%);
-        -o-transform: translate(-50%,-47%);
-    }
-    .headline-wrap {
-        padding-top: 15px;
-        text-align: center;
-    }
-    .headline {
-        font-size: 1.1em;
-        padding-top: 0px;
-    }
-    .clock {
-        max-width: 100%;
-    }
-    .clock-item {
-        margin-bottom: 30px;        
-    }
-    .text .val {
-        font-size: 1.2em;
-    
-        padding-bottom: 0px;
-        margin-bottom: 0px;
-     }
-    .text .type-time {
-         font-size: 16px;
-     }
-    #subscribe-form {
-        margin: 0 auto;
-        margin-bottom: 19px !important;
-    }
-    .social-icons ul li {
-        margin: 0px 2px;
-    }
-    #footer .copyright {
-        font-size: 1.2em;
-    }
-}
-
-/*768px*/
-
-@media all and (max-width: 768px) {
-    .clock-item {
-        margin: 0px;
-        padding-bottom: 20px;
-    }
-    #mobile-nav {
-        margin-top: -72px;
-        position: relative;
-        z-index: 9999;
-    }
-    .headline {
-        font-size: 1em;
-        margin-bottom: 20px;
-    }
-    .text .val {
-        font-size: 80%;
-    }
-    #subscribe-form {
-        margin: 0 auto;
-        margin-bottom: 10px !important;
-        padding-left: 4px;
-        padding-right: 4px;
-    }
-
-    .text .type-time {
-        font-size: 30%;
-        padding-left: 0px;
-    }
-    .clock {
-        margin: 10px auto 0;
-    }
-    .clock-item .text {
-        margin-top: -40px;
-    }
-    .about-text {
-        padding: 0px 30px;
-        text-align: center;
-    }
-    .portrait{
-        margin: 0 auto;
-        margin-bottom: 60px;
-    }
-    .center-container {
-        width: 100%;
-        padding-left: 20px;
-        padding-right: 20px;
-        padding-top: 70px;
-    }
-    .text {
-        left: 50%;
-        width: 100%;
-        transform: translate(-50%, 30%);
-        -webkit-transform: translate(-50%, 30%);
-        -ms-transform: translate(-50%, 30%);
-        -o-transform: translate(-50%, 30%);
-    }
-    #contact-form {
-        margin-bottom: 40px;
-    }
-    .form-group.col-xs-2.push-btn-left {
-        padding-right: 6px;
-    }
-    .push-btn-left {
-        margin-left: -35px;
-    }
-}
-
-@media all and (min-width: 768px) {
-    .about-text {
-        margin-top: 25px;
-    }
-}
-
-/*480px*/
-
-@media all and (max-width: 480px) {
-    .center-container {
-        padding-top: 80px;
-    }
-    .headline {
-        font-size: 1em;
-        margin-bottom: 20px;
-    }
-    .clock {
-        padding: 0em;
-    }
-    .text .val {
-        font-size: 50%;
-    }
-    .text .type-time {
-        font-size: 20%;
-        padding-left: 0px;
-    }
-    .text {
-        -webkit-transform: translate(-50%, 74%);
-        -ms-transform: translate(-50%, 74%);
-        -o-transform: translate(-50%, 74%);
-        transform: translate(-50%, 74%);
-    }
-    .social-icons ul li a {
-        font-size: 1.4em;
-        line-height: 0em;
-        display: inline-block;
-        padding: 8px 0px;
-        color: #fff;
-    }
-    .social-icons ul li {
-        height: 40px;
-        width: 40px;
-    }
-    #footer .copyright {
-        text-align: center;
-    }
-}
-@media all and (max-width: 320px) {
-    .center-container {
-        padding-top: 130px;
-        transform: translate(-50%,-50%);
-    }
-    .headline {
-        font-size: 0.9em;
-        margin-bottom: 30px;
-    }
-    .clock {
-        padding: 0em;
-    }
-    .text .val {
-        font-size: 55%;
-    }
-    .text .type-time {
-        font-size: 22%;
-        padding-left: 0px;
-    }
-    .text {
-        transform: translate(-50%, 60%);
-    }
-    .social-icons ul li a {
-        font-size: 1.2em;
-        line-height: 0em;
-        display: inline-block;
-        padding: 6px 0px;
-        color: #fff;
-    }
-    .social-icons ul li {
-        height: 30px;
-        width: 30px;
-    }
-    #footer .copyright {
-        text-align: center;
-    }
-    .col-xs-3 {
-        padding: 0px 5px;
-    }
-    .clock.row{
-        margin: 0px;
-    }
-    .arrow-down {
-        position: absolute;
-        width: 100%;
-        bottom: -1%;
-        z-index: 899;
-    }
-    .title.line {
-        top: 25%;
-    }
-    .title h1 {
-        font-size: 2em;
-    }
-    .logo img {
-        max-width: 260px;
-    }
-}

+ 81 - 0
css/test.css

@@ -0,0 +1,81 @@
+.container {
+  max-width: 960px;
+}
+
+/*
+ * Custom translucent site header
+ */
+
+.site-header {
+  background-color: rgba(0, 0, 0, .85);
+  -webkit-backdrop-filter: saturate(180%) blur(20px);
+  backdrop-filter: saturate(180%) blur(20px);
+}
+.site-header a {
+  color: #999;
+  transition: ease-in-out color .15s;
+}
+.site-header a:hover {
+  color: #fff;
+  text-decoration: none;
+}
+
+/*
+ * Dummy devices (replace them with your own or something else entirely!)
+ */
+
+.product-device {
+  position: absolute;
+  right: 10%;
+  bottom: -30%;
+  width: 300px;
+  height: 540px;
+  background-color: #333;
+  border-radius: 21px;
+  -webkit-transform: rotate(30deg);
+  transform: rotate(30deg);
+}
+
+.product-device::before {
+  position: absolute;
+  top: 10%;
+  right: 10px;
+  bottom: 10%;
+  left: 10px;
+  content: "";
+  background-color: rgba(255, 255, 255, .1);
+  border-radius: 5px;
+}
+
+.product-device-2 {
+  top: -25%;
+  right: auto;
+  bottom: 0;
+  left: 5%;
+  background-color: #e5e5e5;
+}
+
+
+/*
+ * Extra utilities
+ */
+
+.border-top { border-top: 1px solid #e5e5e5; }
+.border-bottom { border-bottom: 1px solid #e5e5e5; }
+
+.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
+
+.flex-equal > * {
+  -ms-flex: 1;
+  -webkit-box-flex: 1;
+  flex: 1;
+}
+@media (min-width: 768px) {
+  .flex-md-equal > * {
+    -ms-flex: 1;
+    -webkit-box-flex: 1;
+    flex: 1;
+  }
+}
+
+.overflow-hidden { overflow: hidden; }

BIN
fonts/ionicons.eot


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 1899
fonts/ionicons.svg


BIN
fonts/ionicons.ttf


BIN
fonts/ionicons.woff


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 246 - 236
index.html


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 6537 - 0
js/bootstrap-material-design.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 0
js/bootstrap-material-design.js.map


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 0
js/bootstrap-material-design.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 7
js/bootstrap.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 1
js/jquery.final-countdown.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 4
js/jquery.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 9
js/jquery.sticky-kit.min.js


+ 0 - 347
js/jquery.videoBG.js

@@ -1,347 +0,0 @@
-/**
- * @preserve Copyright 2011 Syd Lawrence ( www.sydlawrence.com ).
- * Version: 0.2
- *
- * Licensed under MIT and GPLv2.
- *
- * Usage: $('body').videoBG(options);
- *
- */
-
- (function( $ ){
-
-  $.fn.videoBG = function( selector, options ) {
-    if (options === undefined) {
-      options = {};
-    }
-    if (typeof selector === "object") {
-      options = $.extend({}, $.fn.videoBG.defaults, selector);
-    }
-    else if (!selector) {
-      options = $.fn.videoBG.defaults;
-    }
-    else {
-      return $(selector).videoBG(options);
-    }
-
-    var container = $(this);
-
-    // check if elements available otherwise it will cause issues
-    if (!container.length) {
-      return;
-    }
-
-    // container to be at least relative
-    if (container.css('position') == 'static' || !container.css('position')) {
-      container.css('position','relative');
-    }
-
-    // we need a width
-    if (options.width === 0) {
-      options.width = container.width();
-    }
-
-    // we need a height
-    if (options.height === 0) {
-      options.height = container.height();
-    }
-
-    // get the wrapper
-    var wrap = $.fn.videoBG.wrapper();
-    wrap.height(options.height)
-      .width(options.width);
-
-    // if is a text replacement
-    if (options.textReplacement) {
-
-      // force sizes
-      options.scale = true;
-
-      // set sizes and forcing text out
-      container.width(options.width)
-        .height(options.height)
-        .css('text-indent','-9999px');
-    }
-    else {
-
-      // set the wrapper above the video
-      wrap.css('z-index',options.zIndex+1);
-    }
-
-    // move the contents into the wrapper
-    wrap.html(container.clone(true));
-
-    // get the video
-    var video = $.fn.videoBG.video(options);
-
-    // if we are forcing width / height
-    if (options.scale) {
-
-      // overlay wrapper
-      wrap.height(options.height)
-        .width(options.width);
-
-      // video
-      video.height(options.height)
-        .width(options.width);
-    }
-
-    // add it all to the container
-    container.html(wrap);
-    container.append(video);
-
-    return video.find("video")[0];
-  };
-
-  // set to fullscreen
-  $.fn.videoBG.setFullscreen = function($el) {
-    var windowWidth = $(window).width(),
-    windowHeight = $(window).height();
-
-    $el.css('min-height',0).css('min-width',0);
-    $el.parent().width(windowWidth).height(windowHeight);
-    // if by width
-    var shift = 0;
-    if (windowWidth / windowHeight > $el.aspectRatio) {
-      $el.width(windowWidth).height('auto');
-      // shift the element up
-      var height = $el.height();
-      shift = (height - windowHeight) / 2;
-      if (shift < 0) {
-        shift = 0;
-      }
-      $el.css("top",-shift);
-    } else {
-      $el.width('auto').height(windowHeight);
-      // shift the element left
-      var width = $el.width();
-      shift = (width - windowWidth) / 2;
-      if (shift < 0) {
-        shift = 0;
-      }
-      $el.css("left",-shift);
-
-      // this is a hack mainly due to the iphone
-      if (shift === 0) {
-        var t = setTimeout(function() {
-          $.fn.videoBG.setFullscreen($el);
-        },500);
-      }
-    }
-
-    $('body > .videoBG_wrapper').width(windowWidth).height(windowHeight);
-
-  };
-
-  // get the formatted video element
-  $.fn.videoBG.video = function(options) {
-
-    $('html, body').scrollTop(-1);
-
-    // video container
-    var $div = $('<div/>');
-    $div.addClass('videoBG')
-      .css('position',options.position)
-      .css('z-index',options.zIndex)
-      .css('top',0)
-      .css('left',0)
-      .css('height',options.height)
-      .css('width',options.width)
-      .css('opacity',options.opacity)
-      .css('overflow','hidden');
-
-    // video element
-    var $video = $('<video/>');
-    $video.css('position','absolute')
-      .css('z-index',options.zIndex)
-      .attr('poster',options.poster)
-      .css('top',0)
-      .css('left',0)
-      .css('min-width','100%')
-      .css('min-height','100%');
-
-    if (options.autoplay) {
-      $video.attr('autoplay',options.autoplay);
-    }
-
-    // if fullscreen
-    if (options.fullscreen) {
-      $video.bind('canplay',function() {
-        // set the aspect ratio
-        $video.aspectRatio = $video.width() / $video.height();
-        $.fn.videoBG.setFullscreen($video);
-      });
-
-      // listen out for screenresize
-      var resizeTimeout;
-      $(window).resize(function() {
-        clearTimeout(resizeTimeout);
-        resizeTimeout = setTimeout(function() {
-          $.fn.videoBG.setFullscreen($video);
-        },100);
-      });
-      $.fn.videoBG.setFullscreen($video);
-    }
-
-
-    // video standard element
-    var v = $video[0];
-
-    // if meant to loop
-    if (options.loop) {
-      loops_left = options.loop;
-
-      // cant use the loop attribute as firefox doesnt support it
-      $video.bind('ended', function(){
-
-        // if we have some loops to throw
-        if (loops_left) {
-          // replay that bad boy
-          v.play();
-        }
-
-        // if not forever
-        if (loops_left !== true) {
-          // one less loop
-          loops_left--;
-        }
-      });
-    }
-
-    // when can play, play
-    $video.bind('canplay', function(){
-
-      if (options.autoplay) {
-        // replay that bad boy
-        v.play();
-      }
-
-    });
-
-
-    // if supports video
-    if ($.fn.videoBG.supportsVideo()) {
-
-      // supports webm
-      if ($.fn.videoBG.supportType('webm')){
-
-        // play webm
-        $video.attr('src',options.webm);
-      }
-      // supports mp4
-      else if ($.fn.videoBG.supportType('mp4')) {
-
-        // play mp4
-        $video.attr('src',options.mp4);
-      }
-      // throw ogv at it then
-      else {
-
-        // play ogv
-        $video.attr('src',options.ogv);
-      }
-
-    }
-
-    // image for those that dont support the video
-    var $img = $('<img/>');
-    $img.attr('src',options.poster)
-      .css('position','absolute')
-      .css('z-index',options.zIndex)
-      .css('top',0)
-      .css('left',0)
-      .css('min-width','100%')
-      .css('min-height','100%');
-
-    // add the image to the video
-    // if suuports video
-    if ($.fn.videoBG.supportsVideo()) {
-      // add the video to the wrapper
-      $div.html($video);
-    }
-
-    // nope - whoa old skool
-    else {
-
-      // add the image instead
-      $div.html($img);
-    }
-
-    // if text replacement
-    if (options.textReplacement) {
-
-      // force the heights and widths
-      $div.css('min-height',1).css('min-width',1);
-      $video.css('min-height',1).css('min-width',1);
-      $img.css('min-height',1).css('min-width',1);
-
-      $div.height(options.height).width(options.width);
-      $video.height(options.height).width(options.width);
-      $img.height(options.height).width(options.width);
-    }
-
-    if ($.fn.videoBG.supportsVideo()) {
-      v.play();
-    }
-    return $div;
-  };
-
-  // check if suuports video
-  $.fn.videoBG.supportsVideo = function() {
-    return (document.createElement('video').canPlayType);
-  };
-
-  // check which type is supported
-  $.fn.videoBG.supportType = function(str) {
-
-    // if not at all supported
-    if (!$.fn.videoBG.supportsVideo()) {
-      return false;
-    }
-
-    // create video
-    var v = document.createElement('video');
-
-    // check which?
-    switch (str) {
-      case 'webm' :
-        return (v.canPlayType('video/webm; codecs="vp8, vorbis"'));
-      case 'mp4' :
-        return (v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'));
-      case 'ogv' :
-        return (v.canPlayType('video/ogg; codecs="theora, vorbis"'));
-    }
-    // nope
-    return false;
-  };
-
-  // get the overlay wrapper
-  $.fn.videoBG.wrapper = function() {
-    var $wrap = $('<div/>');
-    $wrap.addClass('videoBG_wrapper')
-      .css('position','absolute')
-      .css('top',0)
-      .css('left',0);
-    return $wrap;
-  };
-
-  // these are the defaults
-  $.fn.videoBG.defaults = {
-    mp4:'',
-    ogv:'',
-    webm:'',
-    poster:'',
-    autoplay:true,
-    loop:true,
-    scale:false,
-    position:"absolute",
-    opacity:1,
-    textReplacement:false,
-    zIndex:0,
-    width:0,
-    height:0,
-    fullscreen:false,
-    imgFallback:true
-  };
-
-})( jQuery );

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 5
js/kinetic.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 4
js/modernizr.custom.js


+ 0 - 137
js/script.js

@@ -1,137 +0,0 @@
-var $ = jQuery;
-
-jQuery(document).ready(function($) {  
-
-    $(window).load(function(){
-        $('#preloader').fadeOut('slow',function(){$(this).remove();});
-    });
-
-});
-
-// Setting up Video
-
-var $ = jQuery;
-var vidWidth = $(window).width(), vidHeight = $(window).height();
-
-$("#video-wrap").css({
-    
-    'height': vidHeight
-});
-
-$('#video').videoBG({
-    mp4:'assets/bg.mp4',
-    ogv:'assets/bg.ogv',
-    webm:'assets/bg.webm',
-    poster:'assets/poster.jpg',
-    scale:true,
-    zIndex:0,
-    height: vidHeight
-});
-
-// Navbar fixing
-
-$("#nav-menu").stick_in_parent()
-
-
-// Calling Wow
-
-new WOW().init();
-
-
-// Count Down Timer
-
-$('.countdown').final_countdown({
-    start : 1360000000, //Here use Milisecond. To convert your time you can go to this(https://currentmillis.com/) website. 
-    end   : 1390000000,
-    now : 1385000000,
-seconds: {
-borderColor: '#5677fc',
-borderWidth: '3'
-},
-minutes: {
-    borderColor: '#7e57c2',
-    borderWidth: '3'
-},
-hours: {
-    borderColor: '#4db6ac',
-    borderWidth: '3'
-},
-days: {
-    borderColor: '#d81b60',
-    borderWidth: '3'
-}}, function() {
-});
-
-
-// rotating text
-
-(function() {
-
-    var quotes = $(".quotes");
-    var quoteIndex = -1;
-    
-    function showNextQuote() {
-        ++quoteIndex;
-        quotes.eq(quoteIndex % quotes.length)
-            .fadeIn(1000)
-            .delay(1000)
-            .fadeOut(1000, showNextQuote);
-    }
-    
-    showNextQuote();
-    
-})();
-
-// smooth mouse wheel
-$(function() {
-  $('a[href*=#]:not([href=#])').click(function() {
-    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
-      var target = $(this.hash);
-      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
-      if (target.length) {
-        $('html,body').animate({
-          scrollTop: target.offset().top
-        }, 1000);
-        return false;
-      }
-    }
-  });
-});
-
-
-/*------------------------------------------
- Subscribe form ajax
- ------------------------------------------*/
-
-
-$('#subscribe-form').submit(function(e) {
-
-    e.preventDefault();
-    var $form           = $('#subscribe-form');
-    var submit          = $('#subscribe-button');
-    var ajaxResponse    = $('#subscription-response');
-    var email           = $('#subscriber-email').val();
-
-    $.ajax({
-        type: 'POST',
-        url: 'php/subscribe.php',
-        dataType: 'json',
-        data: {
-            email: email
-        },
-        cache: false,
-        beforeSend: function(result) {
-            submit.val("Joining...");
-        },
-        success: function(result) {
-            if(result.sendstatus == 1) {
-                ajaxResponse.html(result.message);
-                $form.fadeOut(500);
-            } else {
-                ajaxResponse.html(result.message);
-                submit.val("Join");
-            }
-        }
-    });
-
-});

+ 0 - 58
js/sticky.js

@@ -1,58 +0,0 @@
-(function() {
-  'use strict'
-
-  var $ = window.jQuery
-  var Waypoint = window.Waypoint
-
-  /* http://imakewebthings.com/waypoints/shortcuts/sticky-elements */
-  function Sticky(options) {
-    this.options = $.extend({}, Waypoint.defaults, Sticky.defaults, options)
-    this.element = this.options.element
-    this.$element = $(this.element)
-    this.createWrapper()
-    this.createWaypoint()
-  }
-
-  /* Private */
-  Sticky.prototype.createWaypoint = function() {
-    var originalHandler = this.options.handler
-
-    this.waypoint = new Waypoint($.extend({}, this.options, {
-      element: this.wrapper,
-      handler: $.proxy(function(direction) {
-        var shouldBeStuck = this.options.direction.indexOf(direction) > -1
-        var wrapperHeight = shouldBeStuck ? this.$element.outerHeight(true) : ''
-
-        this.$wrapper.height(wrapperHeight)
-        this.$element.toggleClass(this.options.stuckClass, shouldBeStuck)
-
-        if (originalHandler) {
-          originalHandler.call(this, direction)
-        }
-      }, this)
-    }))
-  }
-
-  /* Private */
-  Sticky.prototype.createWrapper = function() {
-    this.$element.wrap(this.options.wrapper)
-    this.$wrapper = this.$element.parent()
-    this.wrapper = this.$wrapper[0]
-  }
-
-  /* Public */
-  Sticky.prototype.destroy = function() {
-    if (this.$element.parent()[0] === this.wrapper) {
-      this.waypoint.destroy()
-      this.$element.removeClass(this.options.stuckClass).unwrap()
-    }
-  }
-
-  Sticky.defaults = {
-    wrapper: '<div class="sticky-wrapper" />',
-    stuckClass: 'stuck',
-    direction: 'down right'
-  }
-
-  Waypoint.Sticky = Sticky
-}())

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 2
js/wow.min.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 2923
php/inc/MCAPI.class.php


+ 0 - 29
php/subscribe.php

@@ -1,29 +0,0 @@
-<?php
-
-	// MailChimp
-	$APIKey = '53bb3bcad3947b9c5b45884b439097f4-us3';
-	$listID = 'fd1b8baf3f';
-
-	$email   = $_POST['email'];
-
-	require_once('inc/MCAPI.class.php');
-
-	$api = new MCAPI($APIKey);
-	$list_id = $listID;
-
-	if($api->listSubscribe($list_id, $email) === true) {
-		$sendstatus = 1;
-		$message = '<div class="alert alert-success subscription-success" role="alert"><strong>Success!</strong> Check your email to confirm sign up.</div>';
-	} else {
-		$sendstatus = 0;
-		$message = '<div class="alert alert-danger subscription-error" role="alert"><strong>Error:</strong> ' . $api->errorMessage.'</div>';
-	}
-
-	$result = array(
-		'sendstatus' => $sendstatus,
-		'message' => $message
-	);
-
-	echo json_encode($result);
-
-?>