initial commit
This commit is contained in:
1
components/ui/button.tsx
Normal file
1
components/ui/button.tsx
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
17
components/ui/content-cards.tsx
Normal file
17
components/ui/content-cards.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
interface cardProps {
|
||||
src?: string
|
||||
button_link?: string
|
||||
button_text?: string
|
||||
}
|
||||
|
||||
export default function ContentCard(buttonProps: cardProps) {
|
||||
return (
|
||||
<>
|
||||
<img src={buttonProps.src}></img>
|
||||
<button className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full">
|
||||
{buttonProps.button_text}
|
||||
</button>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user