perf: defer non-critical FontAwesome CSS to footer to reduce unused CSS impact
This commit is contained in:
54
index.html
54
index.html
@@ -49,14 +49,61 @@
|
|||||||
<link href="css/slicknav.min.css" rel="stylesheet" media="print" onload="this.media='all'">
|
<link href="css/slicknav.min.css" rel="stylesheet" media="print" onload="this.media='all'">
|
||||||
<!-- Swiper Css (Non-critical) -->
|
<!-- Swiper Css (Non-critical) -->
|
||||||
<link rel="stylesheet" href="css/swiper-bundle.min.css" media="print" onload="this.media='all'">
|
<link rel="stylesheet" href="css/swiper-bundle.min.css" media="print" onload="this.media='all'">
|
||||||
<!-- Font Awesome Icon Css (Non-critical) -->
|
|
||||||
<link href="css/all.min.css?v=1.1" rel="stylesheet" media="print" onload="this.media='all'">
|
|
||||||
<!-- Animated Css (Non-critical) -->
|
<!-- Animated Css (Non-critical) -->
|
||||||
<link href="css/animate.css" rel="stylesheet" media="print" onload="this.media='all'">
|
<link href="css/animate.css" rel="stylesheet" media="print" onload="this.media='all'">
|
||||||
<!-- Magnific Popup Core Css File (Non-critical) -->
|
<!-- Magnific Popup Core Css File (Non-critical) -->
|
||||||
<link rel="stylesheet" href="css/magnific-popup.css" media="print" onload="this.media='all'">
|
<link rel="stylesheet" href="css/magnific-popup.css" media="print" onload="this.media='all'">
|
||||||
<!-- Mouse Cursor Css File (Non-critical) -->
|
<!-- Mouse Cursor Css File (Non-critical) -->
|
||||||
<link rel="stylesheet" href="css/mousecursor.css" media="print" onload="this.media='all'">
|
<link rel="stylesheet" href="css/mousecursor.css" media="print" onload="this.media='all'">
|
||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
"@type": "DrivingSchool",
|
||||||
|
"name": "Muğla Sürücü Kursu",
|
||||||
|
"url": "https://muglasurucukursu.com/",
|
||||||
|
"logo": "https://res.cloudinary.com/du7xohbct/image/upload/f_auto,q_auto/v1777917625/muglasurucukursu/logo.jpg",
|
||||||
|
"image": "https://res.cloudinary.com/du7xohbct/image/upload/f_auto,q_auto/v1777917625/muglasurucukursu/logo.jpg",
|
||||||
|
"description": "Muğla'nın güvenilir sürücü kursu. A, B, C sınıfı ehliyet eğitimi, uzman eğitmenler ve modern araçlarla hizmetinizdeyiz.",
|
||||||
|
"address": {
|
||||||
|
"@type": "PostalAddress",
|
||||||
|
"streetAddress": "Mahiroğlu Apt, Özel, Emirbeyazıt, Özer Türk Cd. No:24 Merkez",
|
||||||
|
"addressLocality": "Menteşe",
|
||||||
|
"addressRegion": "Muğla",
|
||||||
|
"postalCode": "48000",
|
||||||
|
"addressCountry": "TR"
|
||||||
|
},
|
||||||
|
"geo": {
|
||||||
|
"@type": "GeoCoordinates",
|
||||||
|
"latitude": 37.213029272132296,
|
||||||
|
"longitude": 28.357924376379056
|
||||||
|
},
|
||||||
|
"telephone": "+902522124500",
|
||||||
|
"openingHoursSpecification": [
|
||||||
|
{
|
||||||
|
"@type": "OpeningHoursSpecification",
|
||||||
|
"dayOfWeek": [
|
||||||
|
"Monday",
|
||||||
|
"Tuesday",
|
||||||
|
"Wednesday",
|
||||||
|
"Thursday",
|
||||||
|
"Friday"
|
||||||
|
],
|
||||||
|
"opens": "08:30",
|
||||||
|
"closes": "19:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"@type": "OpeningHoursSpecification",
|
||||||
|
"dayOfWeek": "Saturday",
|
||||||
|
"opens": "08:30",
|
||||||
|
"closes": "16:00"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sameAs": [
|
||||||
|
"https://www.facebook.com/p/%C3%96zel-Mu%C4%9Fla-S%C3%BCr%C3%BCc%C3%BC-Kursu-100037625053988/",
|
||||||
|
"https://www.instagram.com/muglasurucukursu/"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@@ -1540,5 +1587,8 @@
|
|||||||
<script defer src="js/wow.min.js"></script>
|
<script defer src="js/wow.min.js"></script>
|
||||||
<!-- Main Custom js file -->
|
<!-- Main Custom js file -->
|
||||||
<script defer src="js/function.js"></script>
|
<script defer src="js/function.js"></script>
|
||||||
|
|
||||||
|
<!-- Non-critical CSS (FontAwesome) loaded at the end -->
|
||||||
|
<link href="css/all.min.css?v=1.1" rel="stylesheet" media="print" onload="this.media='all'">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user