%PDF- %PDF-
| Direktori : /home2/rezakur1/www/portfolio/portfolio-rezakurnia/agenceX-1.0.0/src/components/cards/ |
| Current File : //home2/rezakur1/www/portfolio/portfolio-rezakurnia/agenceX-1.0.0/src/components/cards/Info.astro |
---
import Paragraph from '../shared/Paragraph.astro';
export interface Props{
title:string,
description:string
}
const { title, description } = Astro.props
---
<div class="p-5 sm:p-6 lg:p-8 rounded-3xl border border-box-border bg-box-bg shadow-lg shadow-box-shadow relative overflow-hidden">
<div class="rounded-xl bg-gray-300 dark:bg-gray-950 p-3 text-heading-1 w-max relative">
<slot name="icon"/>
</div>
<h2 class="md:text-xl font-semibold text-heading-2 mt-6 mb-4"> {title} </h2>
<Paragraph>
{description}
</Paragraph>
</div>