Skip to content

Commit

Permalink
Refactor CSS links in index.html to use local files and improve loadi…
Browse files Browse the repository at this point in the history
…ng reliability; replaced CDN references for Bootstrap, Animate.css, and Font Awesome with local paths, ensuring fallback mechanisms are in place. This change enhances performance and maintains custom styles.
  • Loading branch information
yomero243 committed Dec 9, 2024
1 parent eda2ab1 commit ed648f8
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,14 @@
}
</script>

<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">

<!-- Animate.css -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css" rel="stylesheet">

<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

<!-- Tus estilos personalizados -->
<link rel="stylesheet" href="/css/styles.min.css">
<link rel="stylesheet" href="/css/queries.css">
<link rel="stylesheet" href="css/normalize.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery.fancybox.css">
<link rel="stylesheet" href="css/flexslider.css">
<link rel="stylesheet" href="css/styles.min.css">
<link rel="stylesheet" href="css/queries.css">
<link rel="stylesheet" href="node_modules/animate.css/animate.min.css" onerror="loadCssFromCDN('animate.css')">
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css" onerror="loadCssFromCDN('font-awesome.css')">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body id="top">
Expand Down

0 comments on commit ed648f8

Please sign in to comment.