first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:04:35 +03:00
commit 763b147cc3
199 changed files with 29356 additions and 0 deletions

7
public/assets/js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,73 @@
(function ($) {
"use strict";
jQuery(document).ready(function ($) {
$(document).on('submit','#contact-form',function(e){
e.preventDefault();
var name = $('#name').val();
var email = $('#email').val();
var subject = $('#subject').val();
var message = $('#message').val();
if (!name) {
$('#name').removeClass('error');
$('#name').addClass('error').attr('placeholder','Name*');
}else{
$('#name').removeClass('error');
}
if (!email) {
$('#email').removeClass('error');
$('#email').addClass('error').attr('placeholder','Email*')
}else{
$('#email').removeClass('error');
}
if (!subject) {
$('#subject').removeClass('error');
$('#subject').addClass('error').attr('placeholder','Subject*')
}else{
$('#subject').removeClass('error');
}
if (!message) {
$('#message').removeClass('error');
$('#message').addClass('error').attr('placeholder','Message*')
}else{
$('#message').removeClass('error');
}
if ( name && email && subject && message ) {
$.ajax({
type: "POST",
url: 'contact.php',
data:{
'name': name,
'email': email,
'subject': subject,
'message': message,
},
success:function(data){
$('#contact-form').children('.email-success').remove();
$('#contact-form').prepend('<span class="alert alert-success email-success">'+data+'</span>');
$('#name').val('');
$('#email').val('');
$('#subject').val('');
$('#message').val('');
$('.email-success').fadeOut(3000);
}
});
}else{
$('#contact-form').children('.email-success').remove();
$('#contact-form').prepend('<span class="alert alert-danger email-success">somenthing is wrong</span>');
$('.email-success').fadeOut(3000);
}
});
})
}(jQuery));

181
public/assets/js/gmap.js Normal file
View File

@@ -0,0 +1,181 @@
google.maps.event.addDomListener(window, 'load', init);
function init() {
"use strict";
var mapOptions = {
zoom: 13,
scrollwheel: false,
center: new google.maps.LatLng(-37.8171998, 144.9558535, 20.75),
styles:
[
{
"elementType": "geometry",
"stylers": [
{
"color": "#f5f5f5"
}
]
},
{
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
},
{
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#616161"
}
]
},
{
"elementType": "labels.text.stroke",
"stylers": [
{
"color": "#f5f5f5"
}
]
},
{
"featureType": "administrative.land_parcel",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#bdbdbd"
}
]
},
{
"featureType": "poi",
"elementType": "geometry",
"stylers": [
{
"color": "#eeeeee"
}
]
},
{
"featureType": "poi",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#757575"
}
]
},
{
"featureType": "poi.park",
"elementType": "geometry",
"stylers": [
{
"color": "#e5e5e5"
}
]
},
{
"featureType": "poi.park",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#9e9e9e"
}
]
},
{
"featureType": "road",
"elementType": "geometry",
"stylers": [
{
"color": "#ffffff"
}
]
},
{
"featureType": "road.arterial",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#757575"
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry",
"stylers": [
{
"color": "#dadada"
}
]
},
{
"featureType": "road.highway",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#616161"
}
]
},
{
"featureType": "road.local",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#9e9e9e"
}
]
},
{
"featureType": "transit.line",
"elementType": "geometry",
"stylers": [
{
"color": "#e5e5e5"
}
]
},
{
"featureType": "transit.station",
"elementType": "geometry",
"stylers": [
{
"color": "#eeeeee"
}
]
},
{
"featureType": "water",
"elementType": "geometry",
"stylers": [
{
"color": "#c9c9c9"
}
]
},
{
"featureType": "water",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#9e9e9e"
}
]
}
]
};
var mapElement = document.getElementById('map'),
map = new google.maps.Map(mapElement, mapOptions),
marker = new google.maps.Marker({
position: new google.maps.LatLng(-37.8171998, 144.9558535, 20.75),
map: map,
});
}

View File

@@ -0,0 +1,50 @@
(function ($) {
$.fn.loading = function () {
var DEFAULTS = {
backgroundColor: '#b3cef6',
progressColor: '#4b86db',
percent: 75,
duration: 2000
};
$(this).each(function () {
var $target = $(this);
var opts = {
backgroundColor: $target.data('color') ? $target.data('color').split(',')[0] : DEFAULTS.backgroundColor,
progressColor: $target.data('color') ? $target.data('color').split(',')[1] : DEFAULTS.progressColor,
percent: $target.data('percent') ? $target.data('percent') : DEFAULTS.percent,
duration: $target.data('duration') ? $target.data('duration') : DEFAULTS.duration
};
// console.log(opts);
$target.append('<div class="background"></div><div class="rotate"></div><div class="left"></div><div class="right"></div><div class=""><span>' + opts.percent + '%</span></div>');
$target.find('.background').css('background-color', opts.backgroundColor);
$target.find('.left').css('background-color', opts.backgroundColor);
$target.find('.rotate').css('background-color', opts.progressColor);
$target.find('.right').css('background-color', opts.progressColor);
var $rotate = $target.find('.rotate');
setTimeout(function () {
$rotate.css({
'transform': 'rotate(' + opts.percent * 3.6 + 'deg)'
});
},1);
if (opts.percent > 50) {
var animationRight = 'toggle ' + (opts.duration / opts.percent * 50) + 'ms step-end';
var animationLeft = 'toggle ' + (opts.duration / opts.percent * 50) + 'ms step-start';
$target.find('.right').css({
animation: animationRight,
opacity: 1
});
$target.find('.left').css({
animation: animationLeft,
opacity: 0
});
}
});
}
})(jQuery);

View File

@@ -0,0 +1,2 @@
!function(e){e.fn.buoyant=function(t){var l=e.extend({containerClass:"buoyant-container",parentClass:"buoyant-parent",elementClass:"",imgSrc:"",width:50,height:-1,backgroundColor:"black",fps:60,numberOfItems:4,minRadius:10,maxRadius:40,minSpeed:20,maxSpeed:70,collisionEfficiency:1,gravity:0,trails:!1,colliding:!1},t),h=this,i=h.width(),n=h.parent().innerHeight(),f=[],v=[],x=[];h.parent().addClass(l.parentClass),this.each(function(){e(this).addClass("buoyant-container"),e(this).addClass(l.containerClass)});function s(t,i,n,s,a){var e;this.x=t,this.y=i,this.r=n,this.w=2*n,this.h=2*n,this.vx=s,this.vy=a,e=l.imgSrc?document.createElement("img"):document.createElement("span"),l.imgSrc&&(e.src=l.imgSrc),l.elementClass&&e.classList.add(l.elementClass),e.style.height=this.h+"px",e.style.width=this.w+"px",e.style.marginLeft="-"+this.r+"px",e.style.marginTop="-"+this.r+"px",e.style.left=this.x+"px",e.style.top=this.y+"px",x.push(e),h.append(e),this.step=function(t){this.x+=this.vx/l.fps*t,this.y+=this.vy/l.fps*t},this.getMomentum=function(){return console.log(1),1},this.halt=function(){this.vx=0,this.vy=0},this.update=m(this),f.push(this)}function m(t){t.x+=t.vx/l.fps,t.y+=t.vy/l.fps,t.vy+=l.gravity,t.x+t.vx/l.fps+t.r>i?(t.vx=-1*Math.abs(t.vx),t.vx=t.vx*l.collisionEfficiency):t.x+t.vx/l.fps-t.r<0&&(t.vx=Math.abs(t.vx),t.vx=t.vx*l.collisionEfficiency),t.y+t.vy/l.fps+t.r>n?(t.vy=-1*Math.abs(t.vy),t.vy=t.vy*l.collisionEfficiency):t.y+t.vy/l.fps-t.r<0&&(t.vy=Math.abs(t.vy),t.vy=t.vy*l.collisionEfficiency)}function p(t,i){return Math.sqrt((t.x-i.x)*(t.x-i.x)+(t.y-i.y)*(t.y-i.y))}function d(t,i){if(Math.abs(t.x-i.x)<=t.r+i.r&&Math.abs(t.y-i.y)<=t.r+i.r&&p(t,i)<=t.r+i.r)return!0}for(var u=0;u<l.numberOfItems;u++)new s(Math.random()*i,Math.random()*n,l.minRadius+Math.random()*(l.maxRadius-l.minRadius),(l.minSpeed+Math.random()*(l.maxSpeed-l.minSpeed))*[1,-1][Math.floor(Math.random()+.5)],(l.minSpeed+Math.random()*(l.maxSpeed-l.minSpeed))*[1,-1][Math.floor(Math.random()+.5)]);for(u=0;u<f.length-1;u++)for(var a=u+1;a<f.length;a++)v.push([f[u],f[a]]);for(u in v){d(v[u][0],v[u][1])}return window.onresize=function(){i=h.width(),n=h.parent().innerHeight()},setInterval(function(){if(l.trails,l.colliding)for(u in v){var t=v[u][0],i=v[u][1];if(d(t,i)){var n=Math.atan((i.y-t.y)/(i.x-t.x)),s=(t.r,i.r,p(t,i),Math.cos(n),Math.sin(n),Math.cos(n)*t.vx+Math.sin(n)*t.vy),a=Math.cos(n)*t.vy-Math.sin(n)*t.vx,e=Math.cos(n)*i.vx+Math.sin(n)*i.vy,h=Math.cos(n)*i.vy-Math.sin(n)*i.vx,o=((t.m-i.m)*s+2*i.m*e)/(t.m+i.m),r=a,c=(2*t.m*s-(t.m-i.m)*e)/(t.m+i.m),y=h;t.vx=Math.cos(n)*o-Math.sin(n)*r,t.vy=Math.cos(n)*r+Math.sin(n)*o,i.vx=Math.cos(n)*c-Math.sin(n)*y,i.vy=Math.cos(n)*y+Math.sin(n)*c,t.vx=t.vx*l.collisionEfficiency,t.vy=t.vy*l.collisionEfficiency}}for(u in f)x[u].style.left=f[u].x+"px",x[u].style.top=f[u].y+"px",m(f[u])},1e3/l.fps),this.each(function(){e(this).css("height",n+"px"),setTimeout(function(){i=h.width(),n=h.parent().innerHeight()},100)})}}(jQuery);
//# sourceMappingURL=jquery.buoyant.min.js.map

12
public/assets/js/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

352
public/assets/js/main.js Normal file
View File

@@ -0,0 +1,352 @@
$(function ($) {
"use strict";
jQuery(document).ready(function () {
// magnific popup activation
$('.video-play').magnificPopup({
type: 'video'
});
$('.img-popup').magnificPopup({
type: 'image'
});
$('.popup-gallery').magnificPopup({
delegate: 'a',
type: 'image',
tLoading: 'Loading image #%curr%...',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0,1] // Will preload 0 - before current, and 1 after the current image
},
image: {
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.'
}
});
// Video Active
$("#bgndVideo").YTPlayer();
// MObile menu toggle
$('.menu-toogle-icon').on('click', function(){
$('.side-menu').animate({
'width': 'toggle'
});
$('.menu-toogle-icon').toggleClass('active');
})
$('#nav-icon3').click(function(){
$(this).toggleClass('open');
});
// MixItUp devre disi: Vue filtreleme ile cakisma yapiyor
$(".circle-progress").loading();
// Typed js
$(".typed").typed({
strings: ["Web Developer.", "UI/UX Designers.", "Freelancer."],
// Optionally use an HTML element to grab strings from (must wrap each string in a <p>)
stringsElement: null,
// typing speed
typeSpeed: 30,
// time before typing starts
startDelay: 500,
// backspacing speed
backSpeed: 20,
// time before backspacing
backDelay: 1200,
// loop
loop: true,
});
$(".particals").buoyant({
containerClass:"buoyant-container",
parentClass:'buoyant-parent',
numberOfItems: 20,
minRadius: 5,
maxRadius: 30,
elementClass: 'circles'
});
$('#mainmenu-area').onePageNav({
currentClass: 'current',
changeHash: false,
scrollSpeed: 750,
scrollThreshold: 0.5,
filter: '',
easing: 'swing',
begin: function() {
//I get fired when the animation is starting
},
end: function() {
//I get fired when the animation is ending
},
scrollChange: function($currentListItem) {
//I get fired when you enter a section and I pass the list item of the section
}
});
// counter up
$('.counter').counterUp({
delay: 10,
time: 2000
});
// Active Bootstrap Tooltip
$('[data-toggle="tooltip"]').tooltip()
// heroarea-slider
var $hero_area_slider = $('.hero-area-slider');
$hero_area_slider.owlCarousel({
loop: true,
navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
nav: false,
dots:true,
autoplay: true,
autoplayTimeout: 7000,
smartSpeed: 1200,
animateOut: 'fadeOut',
animateIn: 'fadeIn',
onInitialized: startProgressBar,
onTranslate: resetProgressBar,
onTranslated: startProgressBar,
responsive: {
0: {
items: 1
},
576: {
items: 1
},
950: {
items: 1
},
960: {
items: 1
},
1200: {
items: 1
}
}
});
function startProgressBar() {
// apply keyframe animation
$(".slide-progress").css({
width: "100%",
transition: "width 7000ms"
});
}
function resetProgressBar() {
$(".slide-progress").css({
width: 0,
transition: "width 0s"
});
}
// testimonial_slider
var $testimonial_slider = $('.testimonial-slider');
$testimonial_slider.owlCarousel({
loop: true,
navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
nav: false,
dots: false,
autoplay: true,
margin: 0,
autoplayTimeout: 6000,
smartSpeed: 1000,
responsive: {
0: {
items: 1
},
576: {
items: 1
},
768: {
items: 2
},
992: {
items: 2
},
1199: {
items: 3
}
}
});
// team_slider
var $team_slider = $('.team-slider');
$team_slider.owlCarousel({
loop: true,
navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
nav: false,
dots: false,
autoplay: true,
margin: 0,
autoplayTimeout: 6000,
smartSpeed: 1000,
responsive: {
0: {
items: 1
},
576: {
items: 1
},
768: {
items: 2
},
992: {
items: 3
},
1200: {
items: 4
}
}
});
// blog_slider
var $blog_slider = $('.blog-slider');
$blog_slider.owlCarousel({
loop: true,
navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
nav: false,
dots: false,
autoplay: true,
margin: 30,
autoplayTimeout: 6000,
smartSpeed: 1000,
responsive: {
0: {
items: 1
},
576: {
items: 1
},
768: {
items: 2
},
992: {
items: 3
},
1200: {
items: 3
}
}
});
// Portfolio Gallery slick part //
$('.big-image').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
fade: true,
asNavFor: '.slider-img',
responsive: [
{
breakpoint: 991,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
}
},
{
breakpoint: 767,
settings: {
vertical: false,
horizontal: true,
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
$('.slider-img').slick({
slidesToShow: 4,
slidesToScroll: 1,
responsive: [
{
breakpoint: 768,
settings: {
vertical: false,
slidesToShow: 3
}
}
],
asNavFor: '.big-image',
dots: false,
arrows: true,
prevArrow: '<i class="fa fa fa-chevron-left slidPrv4"></i>',
nextArrow: '<i class="fa fa-chevron-right slidNext4"></i>',
centerPadding: '0px',
centerMode: true,
focusOnSelect: true,
});
});
/*-------------------------------
back to top
------------------------------*/
$(document).on('click', '.bottomtotop', function () {
$("html,body").animate({
scrollTop: 0
}, 2000);
});
//define variable for store last scrolltop
var lastScrollTop = '';
$(window).on('scroll', function () {
var $window = $(window);
if ($window.scrollTop() > 0) {
$(".mainmenu-area").addClass('nav-fixed');
} else {
$(".mainmenu-area").removeClass('nav-fixed');
}
/*---------------------------
back to top show / hide
---------------------------*/
var st = $(this).scrollTop();
var ScrollTop = $('.bottomtotop');
if ($(window).scrollTop() > 1000) {
ScrollTop.fadeIn(1000);
} else {
ScrollTop.fadeOut(1000);
}
lastScrollTop = st;
});
$(window).on('load', function () {
$("html,body").animate({
scrollTop: 0
}, 100);
new WOW().init();
/*---------------------
Preloader
-----------------------*/
var preLoder = $("#preloader");
preLoder.addClass('hide');
// var backtoTop = $('.back-to-top');
/*-----------------------------
back to top
-----------------------------*/
var backtoTop = $('.bottomtotop');
backtoTop.fadeOut(100);
});
});

321
public/assets/js/plugin.js Normal file

File diff suppressed because one or more lines are too long

5
public/assets/js/popper.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
public/assets/js/typed.min.js vendored Normal file
View File

@@ -0,0 +1 @@
!function(t){"use strict";var s=function(s,e){this.el=t(s),this.options=t.extend({},t.fn.typed.defaults,e),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=this.isInput?!1:this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};s.prototype={constructor:s,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){this.showCursor===!0&&(this.cursor=t('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.typeSpeed,o=this;o.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var i=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],i+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+i)}if("html"===o.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s).charAt(0)!==h;)a+=t.substr(s).charAt(0),s++;s++,a+=h}}o.timeout=setTimeout(function(){if(s===t.length){if(o.options.onStringTyped(o.arrayPos),o.arrayPos===o.strings.length-1&&(o.options.callback(),o.curLoop++,o.loop===!1||o.curLoop===o.loopCount))return;o.timeout=setTimeout(function(){o.backspace(t,s)},o.backDelay)}else{0===s&&o.options.preStringTyped(o.arrayPos);var e=t.substr(0,s+1);o.attr?o.el.attr(o.attr,e):o.isInput?o.el.val(e):"html"===o.contentType?o.el.html(e):o.el.text(e),s++,o.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,o=this;o.timeout=setTimeout(function(){if("html"===o.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s).charAt(0);)e-=t.substr(s).charAt(0),s--;s--,e+="<"}var r=t.substr(0,s);o.attr?o.el.attr(o.attr,r):o.isInput?o.el.val(r):"html"===o.contentType?o.el.html(r):o.el.text(r),s>o.stopNum?(s--,o.backspace(t,s)):s<=o.stopNum&&(o.arrayPos++,o.arrayPos===o.strings.length?(o.arrayPos=0,o.shuffle&&(o.sequence=o.shuffleArray(o.sequence)),o.init()):o.typewrite(o.strings[o.sequence[o.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,o=t.length;if(o)for(;--o;)e=Math.floor(Math.random()*(o+1)),s=t[e],t[e]=t[o],t[o]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);var s=this.el.attr("id");this.el.after('<span id="'+s+'"/>'),this.el.remove(),"undefined"!=typeof this.cursor&&this.cursor.remove(),t.options.resetCallback()}},t.fn.typed=function(e){return this.each(function(){var o=t(this),r=o.data("typed"),i="object"==typeof e&&e;r||o.data("typed",r=new s(this,i)),"string"==typeof e&&r[e]()})},t.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery);

3
public/assets/js/wow.js Normal file

File diff suppressed because one or more lines are too long