-
-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #818 from creativetimofficial/@material-tailwind/h…
…tml-cards-seo @Material tailwind/html cards seo
- Loading branch information
Showing
6 changed files
with
193 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export function CardWithFooter() { | ||
return ( | ||
<div className="relative flex flex-col mt-6 bg-white shadow-sm border border-slate-200 rounded-lg w-96"> | ||
<div className="p-4"> | ||
<h5 className="mb-2 text-slate-800 text-xl font-semibold"> | ||
The key is to enjoy life | ||
</h5> | ||
<p className="text-slate-600 leading-normal font-light"> | ||
Surround yourself with angels. Life is what you make it, so let’s make it. To be successful you’ve got to work hard, to make history, simple, you’ve got to make it. | ||
</p> | ||
</div> | ||
<div className="mx-3 border-t border-slate-200 pb-3 pt-2 px-1"> | ||
<span className="text-sm text-slate-500"> | ||
Last updated: 4 hours ago | ||
</span> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export function CardWithHeader() { | ||
return ( | ||
<div className="relative flex flex-col mt-6 bg-white shadow-sm border border-slate-200 rounded-lg w-96"> | ||
<div className="mx-3 mb-0 border-b border-slate-200 pt-3 pb-2 px-1"> | ||
<span className="text-sm text-slate-500"> | ||
Header for the card | ||
</span> | ||
</div> | ||
<div className="p-4"> | ||
<h5 className="mb-2 text-slate-800 text-xl font-semibold"> | ||
Website Review Check Text | ||
</h5> | ||
<p className="text-slate-600 leading-normal font-light"> | ||
Surround yourself with angels. Life is what you make it, so let’s make it. To be successful you’ve got to work hard, to make history, simple, you’ve got to make it. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export function CardWithHover() { | ||
return ( | ||
<div className="relative flex flex-col mt-6 bg-white shadow-sm border border-slate-200 rounded-lg w-96 hover:border-slate-300 hover:shadow-md rounded-lg transition-all cursor-pointer"> | ||
<div className="p-4"> | ||
<h5 className="mb-2 text-slate-800 text-xl font-semibold"> | ||
It’s important to shape up | ||
</h5> | ||
<p className="text-slate-600 leading-normal font-light"> | ||
Surround yourself with angels. Life is what you make it, so let’s make it. To be successful you’ve got to work hard, to make history, simple, you’ve got to make it. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
export * from "./card"; | ||
export * from "./simple-card"; | ||
export * from "./card-with-link"; | ||
export * from "./card-with-header"; | ||
export * from "./card-with-footer"; | ||
export * from "./background-blog-card"; | ||
export * from "./blog-card"; | ||
export * from "./booking-card"; | ||
export * from "./card-with-link"; | ||
export * from "./ecommerce-card"; | ||
export * from "./horizontal-card"; | ||
export * from "./login-card"; | ||
export * from "./pricing-card"; | ||
export * from "./profile-card"; | ||
export * from "./simple-card"; | ||
export * from "./testimonial-card"; | ||
export * from "./card-with-list"; | ||
export * from "./text-only-card"; | ||
export * from "./card-with-hover"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export function TextOnlyCard() { | ||
return ( | ||
<div className="relative flex flex-col mt-6 bg-white shadow-sm border border-slate-200 rounded-lg w-96"> | ||
<div className="p-4"> | ||
<h5 className="mb-2 text-slate-800 text-xl font-semibold"> | ||
Website Review Check Text | ||
</h5> | ||
<p className="text-slate-600 leading-normal font-light"> | ||
Surround yourself with angels. Life is what you make it, so let’s make it. To be successful you’ve got to work hard, to make history, simple, you’ve got to make it. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters