layouts and components, oh my!
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import classnames from 'classnames';
|
||||
|
||||
interface DashboardHeaderProps {
|
||||
userDisplayName: string;
|
||||
}
|
||||
|
||||
const DashboardHeader: React.FC<DashboardHeaderProps> = ({ userDisplayName }) => {
|
||||
|
||||
return (
|
||||
<div className="w-full flex flex-col justify-start">
|
||||
<div className={classnames(
|
||||
"-mb-[34px] text-4xl text-left z-2 text-bluemana font-semibold text-shadow-[1px_1px_0,-1px_1px_0,-1px_-1px_0,1px_-1px_0] text-shadow-deepcove"
|
||||
)}>
|
||||
{userDisplayName}
|
||||
</div>
|
||||
<div className="flex items-center">
|
||||
<div className={classnames(
|
||||
"w-full h-[6px] rounded-s bg-atmosphere z-1 -mr-[26px] 2xl:-mr-[16px]"
|
||||
)}>
|
||||
</div>
|
||||
<div className="w-[60px] h-full flex justify-end">
|
||||
<div className="w-full flex flex-col mr-[27px] justify-start z-1 bg-deepcove">
|
||||
<div className={classnames(
|
||||
"h-9 w-full -mb-[3px] relative border-b-6 border-r-6 rounded-br-4xl rounded-out-bl-4xl bg-copper border-atmosphere"
|
||||
)} />
|
||||
<div className={classnames(
|
||||
"h-9 w-full -mt-[3px] relative border-t-6 border-r-6 rounded-tr-4xl rounded-out-tl-4xl bg-copper border-atmosphere"
|
||||
)} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default DashboardHeader;
|
||||
Reference in New Issue
Block a user