This commit is contained in:
Luis Alvarez
2020-09-30 11:44:38 -05:00
commit eb44455cde
67 changed files with 19268 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
.root {
@apply py-4 px-6 bg-black text-white flex flex-row justify-center items-center;
}
.title {
@apply text-white font-medium;
}
.separator {
@apply mx-3 bg-white;
width: 1px;
height: 20px;
}
.separator:before {
content: "";
}
.description {
@apply text-white font-medium;
}

View File

@@ -0,0 +1,26 @@
import cn from "classnames";
import { FunctionComponent } from "react";
import s from "./Featurebar.module.css";
interface Props {
className?: string;
title: string;
description: string;
}
const Featurebar: FunctionComponent<Props> = ({
title,
description,
className,
}) => {
const rootClassName = cn(s.root, className);
return (
<div className={rootClassName}>
<span className={s.title}>{title}</span>
<span className={s.separator} />
<span className={s.description}>{description}</span>
</div>
);
};
export default Featurebar;

View File

@@ -0,0 +1 @@
export { default } from "./Featurebar";