add basic contact info layout

This commit is contained in:
Brandon Egger
2023-04-19 00:33:49 -05:00
parent fd4fb3365b
commit 3727bae414
3 changed files with 62 additions and 3 deletions

13
src/components/Labels.tsx Normal file
View File

@ -0,0 +1,13 @@
/**
* Styled black background gradient label used to label a widget.
* Widget refers to one of the isolated rounded containers (such as search form or table).
*/
const TopLabel = ({ children }: { children: JSX.Element | JSX.Element[] }) => {
return (
<div className="mx-auto overflow-hidden bg-gradient-to-t from-neutral-900 to-neutral-700 px-4 py-2">
{children}
</div>
);
};
export { TopLabel };