diff --git a/google339402d4bd265223.html b/google339402d4bd265223.html deleted file mode 100644 index cbc738a..0000000 --- a/google339402d4bd265223.html +++ /dev/null @@ -1 +0,0 @@ -google-site-verification: google339402d4bd265223.html \ No newline at end of file diff --git a/googlece075c6b58f7a613.html b/googlece075c6b58f7a613.html deleted file mode 100644 index 4042b84..0000000 --- a/googlece075c6b58f7a613.html +++ /dev/null @@ -1 +0,0 @@ -google-site-verification: googlece075c6b58f7a613.html \ No newline at end of file diff --git a/index.html b/index.html index 798064b..5a876da 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,7 @@ - + - @@ -32,8 +31,6 @@ - - - - - diff --git a/public/css/home.css b/public/css/home.css deleted file mode 100644 index 153cae6..0000000 --- a/public/css/home.css +++ /dev/null @@ -1,30 +0,0 @@ -@media print { - .gm-style .gmnoprint, - .gmnoprint { - display: none; - } -} -@media screen { - .gm-style .gmnoscreen, - .gmnoscreen { - display: none; - } -} -.gm-style .gm-style-mtc label, -.gm-style .gm-style-mtc div { - font-weight: 400; -} -.gm-style .gm-style-cc span, -.gm-style .gm-style-cc a, -.gm-style .gm-style-mtc div { - font-size: 10px; -} -.gm-style { - font-family: Roboto, Arial, sans-serif; - font-size: 11px; - font-weight: 400; - text-decoration: none; -} -.gm-style img { - max-width: none; -} diff --git a/public/js/google-maps.js b/public/js/google-maps.js deleted file mode 100644 index 78a98ba..0000000 --- a/public/js/google-maps.js +++ /dev/null @@ -1,309 +0,0 @@ -/* Launching Google map */ - -STYLES = [ - { - "elementType": "geometry", - "stylers": [ - { - "color": "#242f3e" - } - ] - }, - { - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#746855" - } - ] - }, - { - "elementType": "labels.text.stroke", - "stylers": [ - { - "color": "#242f3e" - } - ] - }, - { - "featureType": "administrative.country", - "elementType": "geometry.stroke", - "stylers": [ - { - "color": "#4b6878" - } - ] - }, - { - "featureType": "administrative.land_parcel", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "administrative.locality", - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#d59563" - } - ] - }, - { - "featureType": "administrative.neighborhood", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "poi", - "elementType": "labels.text", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "poi", - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#d59563" - } - ] - }, - { - "featureType": "poi.business", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "poi.park", - "elementType": "geometry", - "stylers": [ - { - "color": "#263c3f" - } - ] - }, - { - "featureType": "poi.park", - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#6b9a76" - } - ] - }, - { - "featureType": "road", - "elementType": "geometry", - "stylers": [ - { - "color": "#38414e" - } - ] - }, - { - "featureType": "road", - "elementType": "geometry.stroke", - "stylers": [ - { - "color": "#212a37" - } - ] - }, - { - "featureType": "road", - "elementType": "labels", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "road", - "elementType": "labels.icon", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "road", - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#9ca5b3" - } - ] - }, - { - "featureType": "road.arterial", - "stylers": [ - { - "color": "#746855" - } - ] - }, - { - "featureType": "road.highway", - "elementType": "geometry", - "stylers": [ - { - "color": "#746855" - } - ] - }, - { - "featureType": "road.highway", - "elementType": "geometry.stroke", - "stylers": [ - { - "color": "#1f2835" - } - ] - }, - { - "featureType": "road.highway", - "elementType": "labels", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "road.highway", - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#f3d19c" - } - ] - }, - { - "featureType": "road.local", - "stylers": [ - { - "color": "#746855" - } - ] - }, - { - "featureType": "transit", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "transit", - "elementType": "geometry", - "stylers": [ - { - "color": "#2f3948" - } - ] - }, - { - "featureType": "transit.station", - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#d59563" - } - ] - }, - { - "featureType": "water", - "elementType": "geometry", - "stylers": [ - { - "color": "#17263c" - } - ] - }, - { - "featureType": "water", - "elementType": "labels.text", - "stylers": [ - { - "visibility": "off" - } - ] - }, - { - "featureType": "water", - "elementType": "labels.text.fill", - "stylers": [ - { - "color": "#515c6d" - } - ] - }, - { - "featureType": "water", - "elementType": "labels.text.stroke", - "stylers": [ - { - "color": "#17263c" - } - ] - } - ]; - -$(document).ready(function() { - waitUntil(() => { - return 'google' in window; - }, () => { - initGoogleMaps(); - }); -}); - -function initGoogleMaps() { - // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions - var mapOptions = { - zoom: 13, - center: new google.maps.LatLng(-23.1944292, -45.8821124), - scrollwheel: false, - styles: STYLES - }; - - // Create the Google Map using our element and options defined above - var map = new google.maps.Map(document.getElementById("map"), mapOptions); - - // Let"s also add a marker while we"re at it - var marker = new google.maps.Marker({ - position: new google.maps.LatLng(-23.1944292, -45.8821124), - /* animation:google.maps.Animation.BOUNCE, Make the marker bounce */ - map: map, - title: "My location" - }); - - var infowindow = new google.maps.InfoWindow({ - content: "My location" - }); - google.maps.event.addListener(marker, "click", function() { - infowindow.open(map, marker); - }); - - setTimeout(() => { - waitUntil(() => { - return jqueryFnDefined('niceScroll'); - }, () => { - $("body").getNiceScroll().resize(); - }); - }, 500); -} diff --git a/public/js/home.js b/public/js/home.js index c70ac4e..04e5d1b 100644 --- a/public/js/home.js +++ b/public/js/home.js @@ -8,8 +8,10 @@ $(document).ready(function() { var experience_time = Math.trunc(10 * (new Date() - new Date('2016-01-01')) / (86400 * 365 * 1000)) / 10; var age_time = Math.trunc((new Date() - new Date('1994-11-10')) / (86400 * 365 * 1000)); + var year = new Date().getFullYear(); $(".exp").text(experience_time); $(".age").text(age_time); + $(".year").text(year); waitUntil(() => { return isDefined(WOW);