mirror of
https://github.com/mertJF/tailblocks.git
synced 2025-12-09 09:23:23 +00:00
first commit
This commit is contained in:
141
src/blocks/feature/light/f.js
Normal file
141
src/blocks/feature/light/f.js
Normal file
@@ -0,0 +1,141 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
function LightFeatureF(props) {
|
||||
return (
|
||||
<section className="text-gray-700 body-font">
|
||||
<div className="container px-5 py-24 mx-auto">
|
||||
<div className="flex items-center lg:w-3/5 mx-auto border-b pb-10 mb-10 border-gray-200 sm:flex-row flex-col">
|
||||
<div className={`sm:w-32 sm:h-32 h-20 w-20 sm:mr-10 inline-flex items-center justify-center rounded-full bg-${props.theme}-100 text-${props.theme}-500 flex-shrink-0`}>
|
||||
<svg
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
strokeWidth="2"
|
||||
className="sm:w-16 sm:h-16 w-10 h-10"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path d="M22 12h-4l-3 9L9 3l-3 9H2" />
|
||||
</svg>
|
||||
</div>
|
||||
<div className="flex-grow sm:text-left text-center mt-6 sm:mt-0">
|
||||
<h2 className="text-gray-900 text-lg title-font font-medium mb-2">
|
||||
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}-500 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 items-center lg:w-3/5 mx-auto border-b pb-10 mb-10 border-gray-200 sm:flex-row flex-col">
|
||||
<div className="flex-grow sm:text-left text-center mt-6 sm:mt-0">
|
||||
<h2 className="text-gray-900 text-lg title-font font-medium mb-2">
|
||||
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}-500 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 className={`sm:w-32 sm:order-none order-first sm:h-32 h-20 w-20 sm:ml-10 inline-flex items-center justify-center rounded-full bg-${props.theme}-100 text-${props.theme}-500 flex-shrink-0`}>
|
||||
<svg
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
strokeWidth="2"
|
||||
className="sm:w-16 sm:h-16 w-10 h-10"
|
||||
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>
|
||||
<div className="flex items-center lg:w-3/5 mx-auto sm:flex-row flex-col">
|
||||
<div className={`sm:w-32 sm:h-32 h-20 w-20 sm:mr-10 inline-flex items-center justify-center rounded-full bg-${props.theme}-100 text-${props.theme}-500 flex-shrink-0`}>
|
||||
<svg
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
strokeWidth="2"
|
||||
className="sm:w-16 sm:h-16 w-10 h-10"
|
||||
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 sm:text-left text-center mt-6 sm:mt-0">
|
||||
<h2 className="text-gray-900 text-lg title-font font-medium mb-2">
|
||||
The 400 Blows
|
||||
</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}-500 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>
|
||||
<button className={`flex mx-auto mt-20 text-white bg-${props.theme}-500 border-0 py-2 px-8 focus:outline-none hover:bg-${props.theme}-600 rounded text-lg`}>
|
||||
Button
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
LightFeatureF.defaultProps = {
|
||||
theme: 'indigo'
|
||||
};
|
||||
|
||||
LightFeatureF.propTypes = {
|
||||
theme: PropTypes.string.isRequired
|
||||
};
|
||||
|
||||
export default LightFeatureF;
|
||||
Reference in New Issue
Block a user