This Heading 2
Lorem ipsum dolor sit amet consectetur adipisicing elit. Deleniti, accusamus exercitationem ab a assumenda suscipit facere, aut quo velit alias quidem! Commodi, porro ad? Officia iusto cupiditate necessitatibus provident assumenda ducimus! Praesentium modi labore exercitationem accusamus debitis
Heading 3
assumenda distinctio! Eligendi possimus commodi deleniti eos voluptas eaque doloremque, quas dolorum in expedita dolores ratione quasi, aliquid reiciendis quis voluptate beatae nemo officiis omnis, alias nobis totam tenetur. Saepe nisi, deserunt labore esse eligendi veritatis. Repellendus neque tempore, ipsum voluptate impedit quibusdam fugit provident, voluptatum iste, culpa ut officia obcaecati! Consectetur dolore tempora doloremque est, illo ullam! Perspiciatis commodi autem sequi pariatur quisquam iusto minus est nam magnam rerum quidem libero, ab neque ullam quaerat ad earum, quos fugiat, cumque possimus eius esse iste! Impedit beatae minima numquam atque soluta dolorem distinctio, nisi porro blanditiis dolorum tempore explicabo voluptatem fugiat perspiciatis. Rerum sint, est ipsum autem, temporibus a aut aspernatur, maiores nesciunt possimus labore voluptate. Placeat mollitia dolores impedit perferendis fuga, voluptates at quia eligendi voluptatum incidunt recusandae similique, itaque aliquam officia deserunt, deleniti
Heading 2
assumenda distinctio! Eligendi possimus commodi deleniti eos voluptas eaque doloremque, quas dolorum in expedita dolores ratione quasi, aliquid reiciendis quis voluptate beatae nemo officiis omnis, alias nobis totam tenetur. Saepe nisi, deserunt labore esse eligendi veritatis. Repellendus neque tempore, ipsum voluptate impedit quibusdam fugit provident, voluptatum iste, culpa ut officia obcaecati! Consectetur dolore tempora doloremque est, illo ullam! Perspiciatis commodi autem sequi pariatur quisquam iusto minus est nam magnam rerum quidem libero, ab neque ullam quaerat ad earum, quos
const sum = (num1: number, num2: number): number => {
return num1 + num2
}
console.log(sum(4,8)) //12
Heading 3
assumenda distinctio! Eligendi possimus commodi deleniti eos voluptas eaque doloremque, quas dolorum in expedi
<figure className='grid grid-cols-5 rounded-lg overflow-hidden mt-10'>
<CloudinaryImage
publicId={data.banner}
height={350}
width={465}
className='col-span-2 '
alt={data.title}
scale
preview={false}
/>
<figcaption className='flex flex-col justify-between p-2 col-span-3 pl-16'>
<div className='space-y-2'>
<h3 className='text-5xl capitalize font-semibold'>{data.title}</h3>
<p className='text-lg'>{data.description}</p>
</div>
<div>
<h4 className='text-2xl pb-2'>Technology</h4>
<IconList icons={data.techs} variant='small' />
</div>
<div className='flex justify-between'>
<div className='flex gap-2 items-center'>
{[...Array(totalSlides)].map((_, index) => (
<button
onClick={() => setActiveSlide(index)}
key={index}
className={`h-3 w-3 rounded-full ${
index === activeSlide ? 'bg-blue-500' : 'bg-blue-100'
}`}
></button>
))}
</div>
<div className='flex gap-3'>
<button
onClick={handlePrev}
className='h-10 w-10 bg-slate-200 rounded-full flex items-center justify-center text-black'
aria-label='Previous Slide'
>
❮
</button>
<button
onClick={handleNext}
className='h-10 w-10 bg-slate-200 rounded-full flex items-center justify-center text-black'
aria-label='Next Slide'
>
❯
</button>
</div>
</div>
</figcaption>
</figure>
You can use Static Generation for many types of pages, including:
- Marketing pages
- Blog posts
- E-commerce product listings
- Help and documentation
You should ask yourself: "Can I pre-render this page ahead of a user's request?" If the answer is yes, then you should choose Static Generation.