Gratis
Llamada a la acción
SparkWise Call to action
A call to action block extracted from the SparkWise template, available in Tailwind CSS.
0
148
A call to action block extracted from the SparkWise template, available in Tailwind CSS.
Descarga gratis · hasta 5 bloques al día. Ilimitado con All-Access
<!DOCTYPE html>
<html lang="en">
<head>
<script>
window.FontAwesomeConfig = {
autoReplaceSvg: 'nest'
};
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SparkWise Call to action | Tailwind CSS UI Block</title>
<meta name="description" content="A call to action block extracted from the SparkWise template, available in Tailwind CSS.">
<meta name="keywords" content="SparkWise, Tailwind CSS template, HTML website template, school website template, preschool landing page, kids education, responsive learning design">
<meta name="author" content="Let's templates">
<link rel="canonical" href="">
<meta property="og:type" content="product">
<meta property="og:site_name" content="Let's templates">
<meta property="og:locale" content="en_US">
<meta property="og:url" content="">
<meta property="og:title" content="SparkWise | Tailwind CSS School Website Template">
<meta property="og:description" content="A colorful Tailwind CSS school website template for children's learning activities, classes, teachers, and education programs.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="SparkWise template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="SparkWise | Tailwind CSS School Website Template">
<meta name="twitter:description" content="A colorful Tailwind CSS school website template for children's learning activities, classes, teachers, and education programs.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="SparkWise template preview">
<!-- Scripts & Styles -->
<script src="https://cdn.tailwindcss.com/3.4.17"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Outfit:wght@100..900&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
brand: {
yellow: '#f5d547',
dark: '#2d2610',
accent: '#3b3014'
}
},
fontFamily: {
fredoka: ['Fredoka', 'sans-serif'],
outfit: ['Outfit', 'sans-serif'],
}
}
}
}
</script>
<style>
body {
font-family: 'Outfit', sans-serif;
}
.hero-title {
font-family: 'Fredoka', sans-serif;
font-size: 3rem;
line-height: 0.9;
}
@media (min-width: 400px) {
.hero-title { font-size: 3.5rem; }
}
@media (min-width: 768px) {
.hero-title { font-size: 8.75rem; }
}
.squiggle-path {
stroke-dasharray: 10;
animation: dash 20s linear infinite;
}
@keyframes dash {
to { stroke-dashoffset: 1000; }
}
</style>
</head>
<body class="bg-brand-yellow text-brand-dark overflow-x-hidden">
<!-- block:start cta -->
<section id="cta" class="py-20 px-6">
<div class="max-w-7xl mx-auto bg-brand-accent rounded-[60px] p-12 md:p-24 text-white relative overflow-hidden">
<div class="absolute top-0 right-0 w-96 h-96 bg-white/5 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"></div>
<div class="flex flex-col md:flex-row items-center justify-between gap-12 relative z-10">
<div class="md:w-1/2 text-center md:text-left">
<h2 class="text-5xl md:text-7xl font-black font-fredoka mb-8">Ready to Start<br>The Journey?</h2>
<p class="text-gray-400 font-medium mb-10 text-lg">Join a community of forward-thinkers. Our innovative learning systems are designed to bridge the gap between knowledge and real-world excellence.</p>
<button class="bg-brand-yellow text-brand-dark px-10 py-5 rounded-full font-black text-lg hover:scale-105 transition shadow-2xl shadow-yellow-400/20">Enroll Now <i class="fa-solid fa-arrow-right ml-2"></i></button>
</div>
<div class="md:w-1/3 flex justify-center">
<div class="relative">
<div class="absolute -top-10 -right-10 w-24 h-24 bg-brand-yellow rounded-full flex items-center justify-center text-brand-dark text-4xl rotate-12 shadow-xl">
<i class="fa-solid fa-star"></i>
</div>
<img class="w-64 h-64 rounded-[40px] object-cover border-8 border-white/10" src="https://storage.googleapis.com/uxpilot-auth.appspot.com/gen_9eabe538e2_32a81ac8500cedcd.png" alt="diverse group of happy children laughing together in a classroom, vibrant educational setting" />
</div>
</div>
</div>
</div>
</section>
<!-- block:end cta -->
<script>
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
const menuBars = {
top: mobileMenuButton.querySelector('[data-menu-bar="top"]'),
middle: mobileMenuButton.querySelector('[data-menu-bar="middle"]'),
bottom: mobileMenuButton.querySelector('[data-menu-bar="bottom"]')
};
const setMobileMenuOpen = (isOpen) => {
mobileMenuButton.setAttribute('aria-expanded', String(isOpen));
mobileMenuButton.setAttribute('aria-label', isOpen ? 'Close navigation menu' : 'Open navigation menu');
mobileMenu.classList.toggle('hidden', !isOpen);
mobileMenu.classList.toggle('flex', isOpen);
menuBars.top.classList.toggle('translate-y-2', isOpen);
menuBars.top.classList.toggle('rotate-45', isOpen);
menuBars.middle.classList.toggle('opacity-0', isOpen);
menuBars.bottom.classList.toggle('-translate-y-2', isOpen);
menuBars.bottom.classList.toggle('-rotate-45', isOpen);
};
mobileMenuButton.addEventListener('click', () => {
setMobileMenuOpen(mobileMenuButton.getAttribute('aria-expanded') !== 'true');
});
mobileMenu.addEventListener('click', (event) => {
if (event.target.closest('a')) setMobileMenuOpen(false);
});
document.addEventListener('click', (event) => {
if (!mobileMenuButton.contains(event.target) && !mobileMenu.contains(event.target)) {
setMobileMenuOpen(false);
}
});
document.addEventListener('keydown', (event) => {
if (event.key === 'Escape' && mobileMenuButton.getAttribute('aria-expanded') === 'true') {
setMobileMenuOpen(false);
mobileMenuButton.focus();
}
});
</script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.