Refactor index.html to remove inline Tailwind configuration and link to external JS file. Enhance script.js with modal functionality for 'Get Started' and 'Learn More' buttons, including dynamic content and hover effects for cards.

This commit is contained in:
Alvin committed 2025-06-04 09:59:01 +02:00
1 parent 953e72906d
commit 5444fefbba
3 files changed
+158 -19

No files matched your search

+2 -19
View File
@@ -8,27 +8,10 @@
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
animation: {
'float': 'float 3s ease-in-out infinite',
'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'bounce-slow': 'bounce 3s infinite',
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
}
}
}
}
}
</script>
<!-- Custom CSS -->
<link rel="stylesheet" href="css/styles.css">
<!-- Custom JS -->
<script src="js/tailwind.config.js"></script>
</head>
<body class="bg-gradient-to-br from-gray-100 to-blue-50">
<!-- Navigation -->