mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 09:17:54 +00:00
First pass prettier/eslint and headwind
This commit is contained in:
@@ -5,16 +5,16 @@ This card is used on the landing page
|
||||
import { FiStar } from 'react-icons/fi';
|
||||
|
||||
type KeyFeatureProps = {
|
||||
children: JSX.Element;
|
||||
children: JSX.Element;
|
||||
};
|
||||
|
||||
const KeyFeature = ({ children }: KeyFeatureProps): JSX.Element => (
|
||||
<div className="shadow-sm p-5 mb-5 bg-base-100 flex italic">
|
||||
<div className="p-2 bg-accent-focus w-12 h-12 text-white rounded-sm my-auto flex">
|
||||
<FiStar className="text-2xl m-auto" />
|
||||
</div>
|
||||
<div className="m-auto ml-3">{children}</div>
|
||||
</div>
|
||||
<div className="flex p-5 mb-5 italic shadow-sm bg-base-100">
|
||||
<div className="flex w-12 h-12 p-2 my-auto text-white rounded-sm bg-accent-focus">
|
||||
<FiStar className="m-auto text-2xl" />
|
||||
</div>
|
||||
<div className="m-auto ml-3">{children}</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default KeyFeature;
|
||||
|
||||
Reference in New Issue
Block a user