Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Sep 26, 2024
1 parent 47a007c commit 5d3744a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/slider/MainContent.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { title, textColor, description, buttonLabel } = Astro.props as MainConten
<p class="text-[#0d0c22] text-lg font-medium font-['Mulish'] tracking-tight mb-10 lg:text-2xl">
Harness the power of social data with
</p>
<h1 class={`text-[${textColor}] text-5xl font-extrabold font-['Urbanist'] tracking-[2.6px] mb-8 lg:text-[130px]`}>
<h1 class={`${textColor} text-5xl font-extrabold font-['Urbanist'] tracking-[2.6px] mb-8 lg:text-[130px]`}>
{title}
</h1>
<p class="text-[#9e9ea7] text-base font-normal font-['Mulish'] tracking-wide mb-14 lg:text-lg">
Expand Down
9 changes: 4 additions & 5 deletions src/components/slider/Swiper.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Circle from "./Circle.astro";
const slides = [
{
title: 'ION Explore',
textColor: '#ed707e',
textColor: 'text-[#ed707e]',
description: 'Driving business growth with data through influencer marketing',
buttonLabel: 'Book a Demo',
circleBackgroundColor: 'bg-[#feeff1]',
Expand All @@ -29,7 +29,7 @@ const slides = [
},
{
title: 'ION Discover',
textColor: '#FFD572',
textColor: 'text-[#FFD572]',
description: 'Driving business growth with data through influencer marketing',
buttonLabel: 'Book a Demo',
circleBackgroundColor: 'bg-[#FEF5F0]',
Expand All @@ -56,7 +56,7 @@ const slides = [
{
title: 'ION Analyze',
textColor: '#F9679A',
textColor: 'text-[#F9679A]',
description: 'Driving business growth with data through influencer marketing',
buttonLabel: 'Book a Demo',
circleBackgroundColor: 'bg-[#FFE9EF]',
Expand All @@ -73,10 +73,9 @@ const slides = [
`
),
},
// New slide 2: ION Connect
{
title: 'ION Connect',
textColor: '#BB6DCF',
textColor: 'text-[#BB6DCF]',
description: 'Driving business growth with data through influencer marketing',
buttonLabel: 'Book a Demo',
circleBackgroundColor: 'bg-[#FFE9EF]',
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const { title } = Astro.props;
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<body class="overflow-x-hidden">
<slot />
</body>
</html>
8 changes: 4 additions & 4 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ const whyIonkol = [
el: ".swiper-pagination",
},
loop: true,
// autoplay: {
// delay: 6000,
// disableOnInteraction: false,
// },
autoplay: {
delay: 6000,
disableOnInteraction: false,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
Expand Down

0 comments on commit 5d3744a

Please sign in to comment.