mirror of
https://github.com/mertJF/tailblocks.git
synced 2025-12-08 17:03:24 +00:00
148 lines
5.4 KiB
JavaScript
148 lines
5.4 KiB
JavaScript
import React from "react";
|
|
import PropTypes from "prop-types";
|
|
|
|
function DarkFeatureC(props) {
|
|
return (
|
|
<section className="text-gray-400 bg-gray-900 body-font">
|
|
<div className="container px-5 py-24 mx-auto flex flex-wrap">
|
|
<div className="lg:w-1/2 w-full mb-10 lg:mb-0 rounded-lg overflow-hidden">
|
|
<img
|
|
alt="feature"
|
|
className="object-cover object-center h-full w-full"
|
|
src="https://dummyimage.com/460x500"
|
|
/>
|
|
</div>
|
|
<div className="flex flex-col flex-wrap lg:py-6 -mb-10 lg:w-1/2 lg:pl-12 lg:text-left text-center">
|
|
<div className="flex flex-col mb-10 lg:items-start items-center">
|
|
<div className={`w-12 h-12 inline-flex items-center justify-center rounded-full bg-gray-800 text-${props.theme}-400 mb-5`}>
|
|
<svg
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
strokeWidth="2"
|
|
className="w-6 h-6"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path d="M22 12h-4l-3 9L9 3l-3 9H2" />
|
|
</svg>
|
|
</div>
|
|
<div className="flex-grow">
|
|
<h2 className="text-white text-lg title-font font-medium mb-3">
|
|
Shooting Stars
|
|
</h2>
|
|
<p className="leading-relaxed text-base">
|
|
Blue bottle crucifix vinyl post-ironic four dollar toast vegan
|
|
taxidermy. Gastropub indxgo juice poutine.
|
|
</p>
|
|
<a href className={`mt-3 text-${props.theme}-400 inline-flex items-center`}>
|
|
Learn More
|
|
<svg
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
strokeWidth="2"
|
|
className="w-4 h-4 ml-2"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path d="M5 12h14M12 5l7 7-7 7" />
|
|
</svg>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div className="flex flex-col mb-10 lg:items-start items-center">
|
|
<div className={`w-12 h-12 inline-flex items-center justify-center rounded-full bg-gray-800 text-${props.theme}-400 mb-5`}>
|
|
<svg
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
strokeWidth="2"
|
|
className="w-6 h-6"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<circle cx="6" cy="6" r="3" />
|
|
<circle cx="6" cy="18" r="3" />
|
|
<path d="M20 4L8.12 15.88M14.47 14.48L20 20M8.12 8.12L12 12" />
|
|
</svg>
|
|
</div>
|
|
<div className="flex-grow">
|
|
<h2 className="text-white text-lg title-font font-medium mb-3">
|
|
The Catalyzer
|
|
</h2>
|
|
<p className="leading-relaxed text-base">
|
|
Blue bottle crucifix vinyl post-ironic four dollar toast vegan
|
|
taxidermy. Gastropub indxgo juice poutine.
|
|
</p>
|
|
<a href className={`mt-3 text-${props.theme}-400 inline-flex items-center`}>
|
|
Learn More
|
|
<svg
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
strokeWidth="2"
|
|
className="w-4 h-4 ml-2"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path d="M5 12h14M12 5l7 7-7 7" />
|
|
</svg>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div className="flex flex-col mb-10 lg:items-start items-center">
|
|
<div className={`w-12 h-12 inline-flex items-center justify-center rounded-full bg-gray-800 text-${props.theme}-400 mb-5`}>
|
|
<svg
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
strokeWidth="2"
|
|
className="w-6 h-6"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path d="M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2" />
|
|
<circle cx="12" cy="7" r="4" />
|
|
</svg>
|
|
</div>
|
|
<div className="flex-grow">
|
|
<h2 className="text-white text-lg title-font font-medium mb-3">
|
|
Neptune
|
|
</h2>
|
|
<p className="leading-relaxed text-base">
|
|
Blue bottle crucifix vinyl post-ironic four dollar toast vegan
|
|
taxidermy. Gastropub indxgo juice poutine.
|
|
</p>
|
|
<a href className={`mt-3 text-${props.theme}-400 inline-flex items-center`}>
|
|
Learn More
|
|
<svg
|
|
fill="none"
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
strokeWidth="2"
|
|
className="w-4 h-4 ml-2"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path d="M5 12h14M12 5l7 7-7 7" />
|
|
</svg>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|
|
|
|
DarkFeatureC.defaultProps = {
|
|
theme: 'indigo'
|
|
};
|
|
|
|
DarkFeatureC.propTypes = {
|
|
theme: PropTypes.string.isRequired
|
|
};
|
|
|
|
export default DarkFeatureC;
|