diff --git a/src/assets/js/material-kit-pro.js b/src/assets/js/material-kit-pro.js index f8dfb38b8..79f43cd06 100644 --- a/src/assets/js/material-kit-pro.js +++ b/src/assets/js/material-kit-pro.js @@ -1,7 +1,7 @@ /*! ========================================================= -* Material Kit 2 PRO - v3.0.2 +* Material Kit 2 - v3.0.2 ========================================================= * Product Page: https://www.creative-tim.com/product/soft-ui-design-system @@ -22,23 +22,23 @@ function debounce(func, wait, immediate) { var timeout; - return function() { + return function () { var context = this, args = arguments; clearTimeout(timeout); - timeout = setTimeout(function() { + timeout = setTimeout(function () { timeout = null; if (!immediate) func.apply(context, args); }, wait); if (immediate && !timeout) func.apply(context, args); }; -}; +} // Function for smooth scroll to element function smoothToPricing(id) { if (document.getElementById(id)) { document.getElementById(id).scrollIntoView({ - behavior: 'smooth' + behavior: "smooth" }); } } @@ -46,277 +46,341 @@ function smoothToPricing(id) { // Debounce function function debounce(func, wait, immediate) { var timeout; - return function() { + return function () { var context = this, args = arguments; clearTimeout(timeout); - timeout = setTimeout(function() { + timeout = setTimeout(function () { timeout = null; if (!immediate) func.apply(context, args); }, wait); if (immediate && !timeout) func.apply(context, args); }; -}; +} // initialization of Popovers -var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')) -var popoverList = popoverTriggerList.map(function(popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) -}) +var popoverTriggerList = [].slice.call( + document.querySelectorAll('[data-bs-toggle="popover"]') +); +var popoverList = popoverTriggerList.map(function (popoverTriggerEl) { + return new bootstrap.Popover(popoverTriggerEl); +}); // initialization of Tooltips -var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) -var tooltipList = tooltipTriggerList.map(function(tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) -}) +var tooltipTriggerList = [].slice.call( + document.querySelectorAll('[data-bs-toggle="tooltip"]') +); +var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); +}); // helper for adding on all elements multiple attributes function setAttributes(el, options) { - Object.keys(options).forEach(function(attr) { + Object.keys(options).forEach(function (attr) { el.setAttribute(attr, options[attr]); - }) + }); } // activate popovers -var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-toggle="popover"]')) -var popoverList = popoverTriggerList.map(function(popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) -}) +var popoverTriggerList = [].slice.call( + document.querySelectorAll('[data-toggle="popover"]') +); +var popoverList = popoverTriggerList.map(function (popoverTriggerEl) { + return new bootstrap.Popover(popoverTriggerEl); +}); // activate tooltips -var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-toggle="tooltip"]')) -var tooltipList = tooltipTriggerList.map(function(tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) -}) - +var tooltipTriggerList = [].slice.call( + document.querySelectorAll('[data-toggle="tooltip"]') +); +var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl); +}); -window.onload = function() { +window.onload = function () { // Material Design Input function - var inputs = document.querySelectorAll('input'); + var inputs = document.querySelectorAll("input"); for (var i = 0; i < inputs.length; i++) { - inputs[i].addEventListener('focus', function(e) { - this.parentElement.classList.add('is-focused'); - }, false); + inputs[i].addEventListener( + "focus", + function (e) { + this.parentElement.classList.add("is-focused"); + }, + false + ); - inputs[i].onkeyup = function(e) { + inputs[i].onkeyup = function (e) { if (this.value != "") { - this.parentElement.classList.add('is-filled'); + this.parentElement.classList.add("is-filled"); } else { - this.parentElement.classList.remove('is-filled'); + this.parentElement.classList.remove("is-filled"); } }; - inputs[i].addEventListener('focusout', function(e) { - if (this.value != "") { - this.parentElement.classList.add('is-filled'); - } - this.parentElement.classList.remove('is-focused'); - }, false); + inputs[i].addEventListener( + "focusout", + function (e) { + if (this.value != "") { + this.parentElement.classList.add("is-filled"); + } + this.parentElement.classList.remove("is-focused"); + }, + false + ); } // Ripple Effect - var ripples = document.querySelectorAll('.btn'); + var ripples = document.querySelectorAll(".btn"); for (var i = 0; i < ripples.length; i++) { - ripples[i].addEventListener('click', function(e) { - var targetEl = e.target; - var rippleDiv = targetEl.querySelector('.ripple'); - - rippleDiv = document.createElement('span'); - rippleDiv.classList.add('ripple'); - rippleDiv.style.width = rippleDiv.style.height = Math.max(targetEl.offsetWidth, targetEl.offsetHeight) + 'px'; - targetEl.appendChild(rippleDiv); - - rippleDiv.style.left = (e.offsetX - rippleDiv.offsetWidth / 2) + 'px'; - rippleDiv.style.top = (e.offsetY - rippleDiv.offsetHeight / 2) + 'px'; - rippleDiv.classList.add('ripple'); - setTimeout(function() { - rippleDiv.parentElement.removeChild(rippleDiv); - }, 600); - }, false); + ripples[i].addEventListener( + "click", + function (e) { + var targetEl = e.target; + var rippleDiv = targetEl.querySelector(".ripple"); + + rippleDiv = document.createElement("span"); + rippleDiv.classList.add("ripple"); + rippleDiv.style.width = rippleDiv.style.height = + Math.max(targetEl.offsetWidth, targetEl.offsetHeight) + "px"; + targetEl.appendChild(rippleDiv); + + rippleDiv.style.left = e.offsetX - rippleDiv.offsetWidth / 2 + "px"; + rippleDiv.style.top = e.offsetY - rippleDiv.offsetHeight / 2 + "px"; + rippleDiv.classList.add("ripple"); + setTimeout(function () { + rippleDiv.parentElement.removeChild(rippleDiv); + }, 600); + }, + false + ); } }; // Multi Level Dropdown function dropDown(a) { - if (!document.querySelector('.dropdown-hover')) { + if (!document.querySelector(".dropdown-hover")) { event.stopPropagation(); event.preventDefault(); var multilevel = a.parentElement.parentElement.children; - for (var i = 0; i < multilevel.length; i++) { if (multilevel[i].lastElementChild != a.parentElement.lastElementChild) { - multilevel[i].lastElementChild.classList.remove('show'); - multilevel[i].firstElementChild.classList.remove('show'); + multilevel[i].lastElementChild.classList.remove("show"); + multilevel[i].firstElementChild.classList.remove("show"); } } if (!a.nextElementSibling.classList.contains("show")) { a.nextElementSibling.classList.add("show"); a.classList.add("show"); - } else { a.nextElementSibling.classList.remove("show"); a.classList.remove("show"); - } } } // Colored shadows from Cards -if (document.querySelector('.blur-shadow-image')) { - var shadowCards = document.querySelectorAll('.blur-shadow-image'); - var shadowCardsRounded = document.querySelectorAll('.blur-shadow-image.rounded-circle'); +if (document.querySelector(".blur-shadow-image")) { + var shadowCards = document.querySelectorAll(".blur-shadow-image"); + var shadowCardsRounded = document.querySelectorAll( + ".blur-shadow-image.rounded-circle" + ); if (shadowCardsRounded) { for (var i = 0; i < shadowCardsRounded.length; i++) { var div = document.createElement("DIV"); shadowCardsRounded[i].parentElement.appendChild(div); - div.classList.add('colored-shadow', 'rounded'); + div.classList.add("colored-shadow", "rounded"); - var currentSrc = shadowCardsRounded[i].children[0].getAttribute('src'); + var currentSrc = shadowCardsRounded[i].children[0].getAttribute("src"); var el = shadowCardsRounded[i].nextElementSibling; - el.style.backgroundImage = 'url(' + currentSrc + ')'; + el.style.backgroundImage = "url(" + currentSrc + ")"; } } if (shadowCards) { for (var i = 0; i < shadowCards.length; i++) { var div = document.createElement("DIV"); shadowCards[i].parentElement.appendChild(div); - div.classList.add('colored-shadow'); + div.classList.add("colored-shadow"); - var currentSrc = shadowCards[i].children[0].getAttribute('src'); + var currentSrc = shadowCards[i].children[0].getAttribute("src"); var el = shadowCards[i].nextElementSibling; - el.style.backgroundImage = 'url(' + currentSrc + ')'; + el.style.backgroundImage = "url(" + currentSrc + ")"; } } } // Colored shadows for Avatars -if (document.querySelector('.blur-shadow-avatar')) { - var shadowCards = document.querySelectorAll('.blur-shadow-avatar'); - var shadowCardsRounded = document.querySelectorAll('.blur-shadow-avatar.rounded-circle'); +if (document.querySelector(".blur-shadow-avatar")) { + var shadowCards = document.querySelectorAll(".blur-shadow-avatar"); + var shadowCardsRounded = document.querySelectorAll( + ".blur-shadow-avatar.rounded-circle" + ); if (shadowCardsRounded) { for (var i = 0; i < shadowCardsRounded.length; i++) { - var div = document.createElement("DIV"); shadowCardsRounded[i].parentElement.appendChild(div); - div.classList.add('colored-shadow', 'rounded', 'start-0', 'end-0', 'mx-auto'); - - var avatarClasses = ['avatar-xs', 'avatar-sm', 'avatar-lg', 'avatar-xl', 'avatar-xxl']; + div.classList.add( + "colored-shadow", + "rounded", + "start-0", + "end-0", + "mx-auto" + ); + + var avatarClasses = [ + "avatar-xs", + "avatar-sm", + "avatar-lg", + "avatar-xl", + "avatar-xxl" + ]; for (var k = 0; k < avatarClasses.length; k++) { - if (shadowCardsRounded[i].firstElementChild.classList.contains(avatarClasses[k])) { + if ( + shadowCardsRounded[i].firstElementChild.classList.contains( + avatarClasses[k] + ) + ) { div.classList.add(avatarClasses[k]); } } - var currentSrc = shadowCardsRounded[i].children[0].getAttribute('src'); + var currentSrc = shadowCardsRounded[i].children[0].getAttribute("src"); var el = shadowCardsRounded[i].nextElementSibling; - el.style.backgroundImage = 'url(' + currentSrc + ')'; + el.style.backgroundImage = "url(" + currentSrc + ")"; } } if (shadowCards) { - for (var i = 0; i < shadowCards.length; i++) { - var div = document.createElement("DIV"); shadowCards[i].parentElement.appendChild(div); - div.classList.add('colored-shadow', 'start-0', 'end-0', 'mx-auto'); + div.classList.add("colored-shadow", "start-0", "end-0", "mx-auto"); - var avatarClasses = ['avatar-xs', 'avatar-sm', 'avatar-lg', 'avatar-xl', 'avatar-xxl']; + var avatarClasses = [ + "avatar-xs", + "avatar-sm", + "avatar-lg", + "avatar-xl", + "avatar-xxl" + ]; for (var k = 0; k < avatarClasses.length; k++) { - if (shadowCards[i].firstElementChild.classList.contains(avatarClasses[k])) { + if ( + shadowCards[i].firstElementChild.classList.contains(avatarClasses[k]) + ) { div.classList.add(avatarClasses[k]); } } - var currentSrc = shadowCards[i].children[0].getAttribute('src'); + var currentSrc = shadowCards[i].children[0].getAttribute("src"); var el = shadowCards[i].nextElementSibling; - el.style.backgroundImage = 'url(' + currentSrc + ')'; + el.style.backgroundImage = "url(" + currentSrc + ")"; } } } //Google Maps -if (document.querySelector('#google-maps')) { +if (document.querySelector("#google-maps")) { var myLatlng = new google.maps.LatLng(40.748817, -73.985428); var mapOptions = { zoom: 13, center: myLatlng, scrollwheel: false, //we disable de scroll over the map, it is a really annoing when you scroll through page - styles: [{ - "featureType": "administrative", - "elementType": "labels.text.fill", - "stylers": [{ - "color": "#444444" - }] + styles: [ + { + featureType: "administrative", + elementType: "labels.text.fill", + stylers: [ + { + color: "#444444" + } + ] }, { - "featureType": "landscape", - "elementType": "all", - "stylers": [{ - "color": "#f2f2f2" - }] + featureType: "landscape", + elementType: "all", + stylers: [ + { + color: "#f2f2f2" + } + ] }, { - "featureType": "poi", - "elementType": "all", - "stylers": [{ - "visibility": "off" - }] + featureType: "poi", + elementType: "all", + stylers: [ + { + visibility: "off" + } + ] }, { - "featureType": "road", - "elementType": "all", - "stylers": [{ - "saturation": -100 - }, { - "lightness": 45 - }] + featureType: "road", + elementType: "all", + stylers: [ + { + saturation: -100 + }, + { + lightness: 45 + } + ] }, { - "featureType": "road.highway", - "elementType": "all", - "stylers": [{ - "visibility": "simplified" - }] + featureType: "road.highway", + elementType: "all", + stylers: [ + { + visibility: "simplified" + } + ] }, { - "featureType": "road.arterial", - "elementType": "labels.icon", - "stylers": [{ - "visibility": "off" - }] + featureType: "road.arterial", + elementType: "labels.icon", + stylers: [ + { + visibility: "off" + } + ] }, { - "featureType": "transit", - "elementType": "all", - "stylers": [{ - "visibility": "off" - }] + featureType: "transit", + elementType: "all", + stylers: [ + { + visibility: "off" + } + ] }, { - "featureType": "water", - "elementType": "all", - "stylers": [{ - "color": "#C5CBF5" - }, { - "visibility": "on" - }] + featureType: "water", + elementType: "all", + stylers: [ + { + color: "#C5CBF5" + }, + { + visibility: "on" + } + ] } ] }; - var map = new google.maps.Map(document.getElementById("google-maps"), mapOptions); + var map = new google.maps.Map( + document.getElementById("google-maps"), + mapOptions + ); var marker = new google.maps.Marker({ position: myLatlng, @@ -329,111 +393,118 @@ if (document.querySelector('#google-maps')) { // Tabs navigation -var total = document.querySelectorAll('.nav-pills'); +var total = document.querySelectorAll(".nav-pills"); -total.forEach(function(item, i) { - var moving_div = document.createElement('div'); - var first_li = item.querySelector('li:first-child .nav-link'); +total.forEach(function (item, i) { + var moving_div = document.createElement("div"); + var first_li = item.querySelector("li:first-child .nav-link"); var tab = first_li.cloneNode(); tab.innerHTML = "-"; - moving_div.classList.add('moving-tab', 'position-absolute', 'nav-link'); + moving_div.classList.add("moving-tab", "position-absolute", "nav-link"); moving_div.appendChild(tab); item.appendChild(moving_div); var list_length = item.getElementsByTagName("li").length; - moving_div.style.padding = '0px'; - moving_div.style.width = item.querySelector('li:nth-child(1)').offsetWidth + 'px'; - moving_div.style.transform = 'translate3d(0px, 0px, 0px)'; - moving_div.style.transition = '.5s ease'; + moving_div.style.padding = "0px"; + moving_div.style.width = + item.querySelector("li:nth-child(1)").offsetWidth + "px"; + moving_div.style.transform = "translate3d(0px, 0px, 0px)"; + moving_div.style.transition = ".5s ease"; - item.onmouseover = function(event) { + item.onmouseover = function (event) { let target = getEventTarget(event); - let li = target.closest('li'); // get reference + let li = target.closest("li"); // get reference if (li) { - let nodes = Array.from(li.closest('ul').children); // get array + let nodes = Array.from(li.closest("ul").children); // get array let index = nodes.indexOf(li) + 1; - item.querySelector('li:nth-child(' + index + ') .nav-link').onclick = function() { - moving_div = item.querySelector('.moving-tab'); - let sum = 0; - if (item.classList.contains('flex-column')) { - for (var j = 1; j <= nodes.indexOf(li); j++) { - sum += item.querySelector('li:nth-child(' + j + ')').offsetHeight; + item.querySelector("li:nth-child(" + index + ") .nav-link").onclick = + function () { + moving_div = item.querySelector(".moving-tab"); + let sum = 0; + if (item.classList.contains("flex-column")) { + for (var j = 1; j <= nodes.indexOf(li); j++) { + sum += item.querySelector("li:nth-child(" + j + ")").offsetHeight; + } + moving_div.style.transform = "translate3d(0px," + sum + "px, 0px)"; + moving_div.style.height = item.querySelector( + "li:nth-child(" + j + ")" + ).offsetHeight; + } else { + for (var j = 1; j <= nodes.indexOf(li); j++) { + sum += item.querySelector("li:nth-child(" + j + ")").offsetWidth; + } + moving_div.style.transform = "translate3d(" + sum + "px, 0px, 0px)"; + moving_div.style.width = + item.querySelector("li:nth-child(" + index + ")").offsetWidth + + "px"; } - moving_div.style.transform = 'translate3d(0px,' + sum + 'px, 0px)'; - moving_div.style.height = item.querySelector('li:nth-child(' + j + ')').offsetHeight; - } else { - for (var j = 1; j <= nodes.indexOf(li); j++) { - sum += item.querySelector('li:nth-child(' + j + ')').offsetWidth; - } - moving_div.style.transform = 'translate3d(' + sum + 'px, 0px, 0px)'; - moving_div.style.width = item.querySelector('li:nth-child(' + index + ')').offsetWidth + 'px'; - } - } + }; } - } + }; }); - // Tabs navigation resize -window.addEventListener('resize', function(event) { - total.forEach(function(item, i) { - item.querySelector('.moving-tab').remove(); - var moving_div = document.createElement('div'); +window.addEventListener("resize", function (event) { + total.forEach(function (item, i) { + item.querySelector(".moving-tab").remove(); + var moving_div = document.createElement("div"); var tab = item.querySelector(".nav-link.active").cloneNode(); tab.innerHTML = "-"; - moving_div.classList.add('moving-tab', 'position-absolute', 'nav-link'); + moving_div.classList.add("moving-tab", "position-absolute", "nav-link"); moving_div.appendChild(tab); item.appendChild(moving_div); - moving_div.style.padding = '0px'; - moving_div.style.transition = '.5s ease'; + moving_div.style.padding = "0px"; + moving_div.style.transition = ".5s ease"; let li = item.querySelector(".nav-link.active").parentElement; if (li) { - let nodes = Array.from(li.closest('ul').children); // get array + let nodes = Array.from(li.closest("ul").children); // get array let index = nodes.indexOf(li) + 1; let sum = 0; - if (item.classList.contains('flex-column')) { + if (item.classList.contains("flex-column")) { for (var j = 1; j <= nodes.indexOf(li); j++) { - sum += item.querySelector('li:nth-child(' + j + ')').offsetHeight; + sum += item.querySelector("li:nth-child(" + j + ")").offsetHeight; } - moving_div.style.transform = 'translate3d(0px,' + sum + 'px, 0px)'; - moving_div.style.width = item.querySelector('li:nth-child(' + index + ')').offsetWidth + 'px'; - moving_div.style.height = item.querySelector('li:nth-child(' + j + ')').offsetHeight; + moving_div.style.transform = "translate3d(0px," + sum + "px, 0px)"; + moving_div.style.width = + item.querySelector("li:nth-child(" + index + ")").offsetWidth + "px"; + moving_div.style.height = item.querySelector( + "li:nth-child(" + j + ")" + ).offsetHeight; } else { for (var j = 1; j <= nodes.indexOf(li); j++) { - sum += item.querySelector('li:nth-child(' + j + ')').offsetWidth; + sum += item.querySelector("li:nth-child(" + j + ")").offsetWidth; } - moving_div.style.transform = 'translate3d(' + sum + 'px, 0px, 0px)'; - moving_div.style.width = item.querySelector('li:nth-child(' + index + ')').offsetWidth + 'px'; - + moving_div.style.transform = "translate3d(" + sum + "px, 0px, 0px)"; + moving_div.style.width = + item.querySelector("li:nth-child(" + index + ")").offsetWidth + "px"; } } }); if (window.innerWidth < 991) { - total.forEach(function(item, i) { - if (!item.classList.contains('flex-column')) { - item.classList.add('flex-column', 'on-resize'); + total.forEach(function (item, i) { + if (!item.classList.contains("flex-column")) { + item.classList.add("flex-column", "on-resize"); } }); } else { - total.forEach(function(item, i) { - if (item.classList.contains('on-resize')) { - item.classList.remove('flex-column', 'on-resize'); + total.forEach(function (item, i) { + if (item.classList.contains("on-resize")) { + item.classList.remove("flex-column", "on-resize"); } - }) + }); } }); - function getEventTarget(e) { e = e || window.event; return e.target || e.srcElement; @@ -441,7 +512,6 @@ function getEventTarget(e) { // End tabs navigation - // Copy code function function copyCode(el) { @@ -451,28 +521,41 @@ function copyCode(el) { range.selectNodeContents(textToCopy); selection.removeAllRanges(); selection.addRange(range); - const successful = document.execCommand('copy'); - window.getSelection().removeAllRanges() - if (!el.parentElement.querySelector('.alert')) { - var alert = document.createElement('div'); - alert.classList.add('alert', 'alert-success', 'position-absolute', 'top-0', 'border-0', 'text-white', 'w-25', 'end-0', 'start-0', 'mt-2', 'mx-auto', 'py-2'); - alert.style.transform = 'translate3d(0px, 0px, 0px)' - alert.style.opacity = '0'; - alert.style.transition = '.35s ease'; - setTimeout(function() { - alert.style.transform = 'translate3d(0px, 20px, 0px)'; + const successful = document.execCommand("copy"); + window.getSelection().removeAllRanges(); + if (!el.parentElement.querySelector(".alert")) { + var alert = document.createElement("div"); + alert.classList.add( + "alert", + "alert-success", + "position-absolute", + "top-0", + "border-0", + "text-white", + "w-25", + "end-0", + "start-0", + "mt-2", + "mx-auto", + "py-2" + ); + alert.style.transform = "translate3d(0px, 0px, 0px)"; + alert.style.opacity = "0"; + alert.style.transition = ".35s ease"; + setTimeout(function () { + alert.style.transform = "translate3d(0px, 20px, 0px)"; alert.style.setProperty("opacity", "1", "important"); }, 100); alert.innerHTML = "Code successfully copied!"; el.parentElement.appendChild(alert); - setTimeout(function() { - alert.style.transform = 'translate3d(0px, 0px, 0px)' + setTimeout(function () { + alert.style.transform = "translate3d(0px, 0px, 0px)"; alert.style.setProperty("opacity", "0", "important"); }, 2000); - setTimeout(function() { - el.parentElement.querySelector('.alert').remove(); + setTimeout(function () { + el.parentElement.querySelector(".alert").remove(); }, 2500); } } -// End copy code function \ No newline at end of file +// End copy code function diff --git a/src/examples/footers/FooterDefault.vue b/src/examples/footers/FooterDefault.vue index 45ea968ee..d60799b52 100644 --- a/src/examples/footers/FooterDefault.vue +++ b/src/examples/footers/FooterDefault.vue @@ -7,10 +7,10 @@ defineProps({ logo: String, route: "", default: () => ({ - name: "Material Kit 2 PRO", + name: "Material Kit 2", logo: logoDark, - route: "/", - }), + route: "/" + }) }, socials: { type: Array, @@ -19,25 +19,25 @@ defineProps({ default: () => [ { icon: '', - link: "https://www.facebook.com/CreativeTim/", + link: "https://www.facebook.com/CreativeTim/" }, { icon: '', - link: "https://twitter.com/creativetim", + link: "https://twitter.com/creativetim" }, { icon: '', - link: "https://dribbble.com/creativetim", + link: "https://dribbble.com/creativetim" }, { icon: '', - link: "https://github.com/creativetimofficial", + link: "https://github.com/creativetimofficial" }, { icon: '', - link: "https://www.youtube.com/channel/UCVyTG4sCw-rOvB9oHkzZD1w", - }, - ], + link: "https://www.youtube.com/channel/UCVyTG4sCw-rOvB9oHkzZD1w" + } + ] }, menus: { type: Array, @@ -45,7 +45,7 @@ defineProps({ items: { type: Array, name: String, - href: String, + href: String }, default: () => [ { @@ -53,18 +53,18 @@ defineProps({ items: [ { name: "about us", - href: "https://www.creative-tim.com/presentation", + href: "https://www.creative-tim.com/presentation" }, { name: "freebies", - href: "https://www.creative-tim.com/templates/free", + href: "https://www.creative-tim.com/templates/free" }, { name: "premium tools", - href: "https://www.creative-tim.com/templates/premium", + href: "https://www.creative-tim.com/templates/premium" }, - { name: "blog", href: "https://www.creative-tim.com/blog" }, - ], + { name: "blog", href: "https://www.creative-tim.com/blog" } + ] }, { name: "resources", @@ -72,54 +72,54 @@ defineProps({ { name: "illustrations", href: "https://iradesign.io/" }, { name: "bits & snippets", - href: "https://www.creative-tim.com/bits", + href: "https://www.creative-tim.com/bits" }, { name: "affiliate program", - href: "https://www.creative-tim.com/affiliates/new", - }, - ], + href: "https://www.creative-tim.com/affiliates/new" + } + ] }, { name: "help & support", items: [ { name: "contact us", - href: "https://www.creative-tim.com/contact-us", + href: "https://www.creative-tim.com/contact-us" }, { name: "knowledge center", - href: "https://www.creative-tim.com/knowledge-center", + href: "https://www.creative-tim.com/knowledge-center" }, { name: "custom development", - href: "https://services.creative-tim.com/", + href: "https://services.creative-tim.com/" }, { name: "sponsorships", - href: "https://www.creative-tim.com/sponsorships", - }, - ], + href: "https://www.creative-tim.com/sponsorships" + } + ] }, { name: "legal", items: [ { name: "terms & conditions", - href: "https://www.creative-tim.com/terms", + href: "https://www.creative-tim.com/terms" }, { name: "privacy policy", - href: "https://www.creative-tim.com/privacy", + href: "https://www.creative-tim.com/privacy" }, { name: "licenses (EULA)", - href: "https://www.creative-tim.com/license", - }, - ], - }, - ], - }, + href: "https://www.creative-tim.com/license" + } + ] + } + ] + } });