Skip to content

Commit

Permalink
fix: Improved font size for the answers in the FAQ section of the lan…
Browse files Browse the repository at this point in the history
…ding page (#106)

* style: Improved font size of the answers in the FAQ section of the landing page

* fix: Improve the font size for the answers in the FAQ section
  • Loading branch information
Chifez authored Dec 14, 2023
1 parent 5f20371 commit cdd8eb4
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions apps/classroomio-com/src/lib/Faq/Faq.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,27 @@

<div class="mt-[5%] mb-[15%]">
<header class="text-center mb-[5%] px-[8%]">
<h1
class="mt-2 text-4xl lg:text-4xl font-medium tracking-tight text-gray-900"
>
<h1 class="mt-2 text-4xl lg:text-4xl font-medium tracking-tight text-gray-900">
Questions & Answers
</h1>
<h3
class="lg:px-[20%] mt-4 text-lg lg:text-xl text-gray-500 inter font-normal tracking-normal lg:tracking-wide"
>
Can’t find the answer you’re looking for?
<a
class="text-[#1D4EE2]"
href="mailto:help@classroomio.com"
target="_blank">Shoot us an email</a
<a class="text-[#1D4EE2]" href="mailto:help@classroomio.com" target="_blank"
>Shoot us an email</a
> and we’ll get back to you ASAP.
</h3>
</header>

<div
class="grid grid-cols-1 lg:grid-cols-3 gap-10 lg:gap-20 lg:px-[13%] mt-[20%] lg:m-0"
>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-10 lg:gap-20 lg:px-[13%] mt-[20%] lg:m-0">
{#each faqs as faq}
<div class="max-w-[100%] px-6 lg:p-0">
<h1
class="text:md lg:text-md font-semibold leading-8 text-gray-800 inter"
>
<h1 class="text:md lg:text-md font-semibold leading-8 text-gray-800 inter">
{faq.question}
</h1>
<p
class="mt-2 text:md lg:text-md font-thin leading-7 lg:leading-9 text-gray-600 inter tracking-wide"
class="mt-2 text:md lg:text-md font-light leading-7 lg:leading-9 text-gray-600 inter tracking-wide"
>
{faq.answer}
</p>
Expand All @@ -43,9 +35,7 @@
<div
class="floating relative mt-[10%] grad w-[100%] h-[61vh] lg:h-[54vh] flex items-center flex-col justify-center lg:w-[70%] mx-auto py-[12%] px-[6%] text-center shadow-2xl lg:rounded-3xl"
>
<h1
class="mt-3 lg:mt-2 text-3xl lg:text-4xl font-bold font-display tracking-tight text-white"
>
<h1 class="mt-3 lg:mt-2 text-3xl lg:text-4xl font-bold font-display tracking-tight text-white">
Supercharge your Classroom Today
</h1>
<p class="mt-6 text-xl lg:text-lg text-gray-300 inter">
Expand All @@ -64,11 +54,7 @@
<style>
.grad {
background: rgb(51, 16, 71);
background: radial-gradient(
circle at 50% 100%,
rgba(51, 16, 71, 1) 1%,
rgba(2, 0, 36, 1) 100%
);
background: radial-gradient(circle at 50% 100%, rgba(51, 16, 71, 1) 1%, rgba(2, 0, 36, 1) 100%);
background-size: cover;
}
</style>

2 comments on commit cdd8eb4

@vercel
Copy link

@vercel vercel bot commented on cdd8eb4 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

landingpage – ./apps/classroomio-com

landingpage-git-main-rotimi-best.vercel.app
classroomio-com.vercel.app
landingpage-rotimi-best.vercel.app

@vercel
Copy link

@vercel vercel bot commented on cdd8eb4 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.