Initial Commit
2794
public/front/css/animate.min.css
vendored
Normal file
1223
public/front/css/style.css
Normal file
BIN
public/front/fonts/Geist-Medium.otf
Normal file
BIN
public/front/fonts/Geist-SemiBold.otf
Normal file
BIN
public/front/fonts/Roboto-Regular.ttf
Normal file
BIN
public/front/images/BE0M7S7N.jpg
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
public/front/images/author_2.png
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
public/front/images/favicon.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
public/front/images/logo.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
public/front/images/posts/01.png
Normal file
|
After Width: | Height: | Size: 825 KiB |
BIN
public/front/images/posts/02.png
Normal file
|
After Width: | Height: | Size: 949 KiB |
BIN
public/front/images/posts/03.png
Normal file
|
After Width: | Height: | Size: 845 KiB |
BIN
public/front/images/posts/04.png
Normal file
|
After Width: | Height: | Size: 806 KiB |
BIN
public/front/images/posts/05.png
Normal file
|
After Width: | Height: | Size: 683 KiB |
BIN
public/front/images/posts/06.png
Normal file
|
After Width: | Height: | Size: 866 KiB |
BIN
public/front/images/posts/07.png
Normal file
|
After Width: | Height: | Size: 912 KiB |
BIN
public/front/images/posts/08.png
Normal file
|
After Width: | Height: | Size: 658 KiB |
BIN
public/front/images/posts/09.png
Normal file
|
After Width: | Height: | Size: 576 KiB |
BIN
public/front/images/posts/10.png
Normal file
|
After Width: | Height: | Size: 745 KiB |
BIN
public/front/images/posts/11.png
Normal file
|
After Width: | Height: | Size: 602 KiB |
BIN
public/front/images/posts/12.png
Normal file
|
After Width: | Height: | Size: 161 KiB |
BIN
public/front/images/posts/13.png
Normal file
|
After Width: | Height: | Size: 688 KiB |
BIN
public/front/images/posts/14.png
Normal file
|
After Width: | Height: | Size: 144 KiB |
109
public/front/js/script.js
Normal file
@@ -0,0 +1,109 @@
|
||||
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
// Preloader js
|
||||
$( window ).on( 'load', function () {
|
||||
$( '.preloader' ).fadeOut( 100 );
|
||||
} );
|
||||
|
||||
|
||||
// Search Form Open
|
||||
$( '#searchOpen' ).on( 'click', function () {
|
||||
$( '.search-wrapper' ).addClass( 'open' );
|
||||
setTimeout( function () {
|
||||
$( '.search-box' ).focus();
|
||||
}, 400 );
|
||||
} );
|
||||
$( '#searchClose' ).on( 'click', function () {
|
||||
$( '.search-wrapper' ).removeClass( 'open' );
|
||||
} );
|
||||
|
||||
|
||||
// tab
|
||||
$( '.tab-content' ).find( '.tab-pane' ).each( function ( idx, item ) {
|
||||
var navTabs = $( this ).closest( '.code-tabs' ).find( '.nav-tabs' ),
|
||||
title = $( this ).attr( 'title' );
|
||||
navTabs.append( '<li class="nav-item"><a class="nav-link" href="#">' + title + '</a></li>' );
|
||||
} );
|
||||
|
||||
$( '.code-tabs ul.nav-tabs' ).each( function () {
|
||||
$( this ).find( 'li:first' ).addClass( 'active' );
|
||||
} );
|
||||
|
||||
$( '.code-tabs .tab-content' ).each( function () {
|
||||
$( this ).find( 'div:first' ).addClass( 'active' );
|
||||
} );
|
||||
|
||||
$( '.nav-tabs a' ).click( function ( e ) {
|
||||
e.preventDefault();
|
||||
var tab = $( this ).parent(),
|
||||
tabIndex = tab.index(),
|
||||
tabPanel = $( this ).closest( '.code-tabs' ),
|
||||
tabPane = tabPanel.find( '.tab-pane' ).eq( tabIndex );
|
||||
tabPanel.find( '.active' ).removeClass( 'active' );
|
||||
tab.addClass( 'active' );
|
||||
tabPane.addClass( 'active' );
|
||||
} );
|
||||
|
||||
|
||||
// Accordions
|
||||
$( '.collapse' ).on( 'shown.bs.collapse', function () {
|
||||
$( this ).parent().find( '.ti-plus' ).removeClass( 'ti-plus' ).addClass( 'ti-minus' );
|
||||
} ).on( 'hidden.bs.collapse', function () {
|
||||
$( this ).parent().find( '.ti-minus' ).removeClass( 'ti-minus' ).addClass( 'ti-plus' );
|
||||
} );
|
||||
|
||||
|
||||
|
||||
//easeInOutExpo Declaration
|
||||
jQuery.extend( jQuery.easing, {
|
||||
easeInOutExpo: function ( x, t, b, c, d ) {
|
||||
if ( t === 0 ) { return b; }
|
||||
if ( t === d ) { return b + c; }
|
||||
if ( ( t /= d / 2 ) < 1 ) { return c / 2 * Math.pow( 2, 10 * ( t - 1 ) ) + b; }
|
||||
return c / 2 * ( -Math.pow( 2, -10 * --t ) + 2 ) + b;
|
||||
}
|
||||
} );
|
||||
|
||||
// back to top button
|
||||
$( function () {
|
||||
const $btn = $( '#scrollTop' );
|
||||
if ( !$btn.length ) return;
|
||||
|
||||
$btn.on( 'click', function ( e ) {
|
||||
e.preventDefault();
|
||||
$( 'html, body' ).animate( { scrollTop: 0 }, 1500, 'easeInOutExpo' );
|
||||
} );
|
||||
} );
|
||||
//post slider
|
||||
$( '.post-slider' ).slick( {
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1,
|
||||
autoplay: true,
|
||||
dots: false,
|
||||
arrows: true,
|
||||
prevArrow: '<button type=\'button\' class=\'prevArrow\'><i class=\'ti-angle-left\'></i></button>',
|
||||
nextArrow: '<button type=\'button\' class=\'nextArrow\'><i class=\'ti-angle-right\'></i></button>',
|
||||
fade: true,
|
||||
speed: 2500,
|
||||
cssEase: 'linear'
|
||||
} );
|
||||
|
||||
} )( jQuery );
|
||||
|
||||
|
||||
document.addEventListener( "DOMContentLoaded", function () {
|
||||
const shareButtons = document.querySelector( '.share-buttons' );
|
||||
if ( !shareButtons ) return;
|
||||
const stickyOffset = shareButtons.offsetTop;
|
||||
|
||||
window.addEventListener( 'scroll', function () {
|
||||
// if (window.pageYOffset > stickyOffset) {
|
||||
if ( window.scrollY > stickyOffset ) {
|
||||
shareButtons.classList.add( 'sticky-share-buttons' );
|
||||
} else {
|
||||
shareButtons.classList.remove( 'sticky-share-buttons' );
|
||||
}
|
||||
} );
|
||||
} );
|
||||
6
public/front/plugins/bootstrap/bootstrap.min.css
vendored
Normal file
6
public/front/plugins/bootstrap/bootstrap.min.js
vendored
Normal file
2
public/front/plugins/jQuery/jquery.min.js
vendored
Normal file
119
public/front/plugins/slick/slick.css
Normal file
@@ -0,0 +1,119 @@
|
||||
/* Slider */
|
||||
.slick-slider
|
||||
{
|
||||
position: relative;
|
||||
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-khtml-user-select: none;
|
||||
-ms-touch-action: pan-y;
|
||||
touch-action: pan-y;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.slick-list
|
||||
{
|
||||
position: relative;
|
||||
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.slick-list:focus
|
||||
{
|
||||
outline: none;
|
||||
}
|
||||
.slick-list.dragging
|
||||
{
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
.slick-slider .slick-track,
|
||||
.slick-slider .slick-list
|
||||
{
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate3d(0, 0, 0);
|
||||
-o-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.slick-track
|
||||
{
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.slick-track:before,
|
||||
.slick-track:after
|
||||
{
|
||||
display: table;
|
||||
|
||||
content: '';
|
||||
}
|
||||
.slick-track:after
|
||||
{
|
||||
clear: both;
|
||||
}
|
||||
.slick-loading .slick-track
|
||||
{
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.slick-slide
|
||||
{
|
||||
display: none;
|
||||
float: left;
|
||||
|
||||
height: 100%;
|
||||
min-height: 1px;
|
||||
}
|
||||
[dir='rtl'] .slick-slide
|
||||
{
|
||||
float: right;
|
||||
}
|
||||
.slick-slide img
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
.slick-slide.slick-loading img
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
.slick-slide.dragging img
|
||||
{
|
||||
pointer-events: none;
|
||||
}
|
||||
.slick-initialized .slick-slide
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
.slick-loading .slick-slide
|
||||
{
|
||||
visibility: hidden;
|
||||
}
|
||||
.slick-vertical .slick-slide
|
||||
{
|
||||
display: block;
|
||||
|
||||
height: auto;
|
||||
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.slick-arrow.slick-hidden {
|
||||
display: none;
|
||||
}
|
||||
7
public/front/plugins/slick/slick.min.js
vendored
Normal file
BIN
public/front/plugins/themify-icons/fonts/themify9f24.eot
Normal file
362
public/front/plugins/themify-icons/fonts/themify9f24.svg
Normal file
|
After Width: | Height: | Size: 229 KiB |