fixed onboarding (#2233)

This commit is contained in:
Peer Richelsen
2022-03-21 23:14:00 +00:00
committed by GitHub
parent 6ed945943a
commit ab2542501a
3 changed files with 7 additions and 5 deletions

View File

@@ -4,10 +4,7 @@ import React from "react";
import { TextProps } from "../Text";
const Largetitle: React.FunctionComponent<TextProps> = (props: TextProps) => {
const classes = classnames(
"font-cal tracking-wider text-3xl text-gray-900 dark:text-white mb-2",
props?.className
);
const classes = classnames("font-cal tracking-wider text-3xl mb-2", props?.className);
return <p className={classes}>{props?.text || props.children}</p>;
};

View File

@@ -1,3 +1,6 @@
/**
* @deprecated create new a new set of components, waiting for designs
*/
import React from "react";
import Body from "./Body";

View File

@@ -74,7 +74,9 @@ function TeamPage({ team }: TeamPageProps) {
imageSrc={getPlaceholderAvatar(team.logo, team.name)}
className="mx-auto mb-4 h-20 w-20 rounded-full"
/>
<Text variant="largetitle">{teamName}</Text>
<Text variant="largetitle" className="text-gray-900 dark:text-white">
{teamName}
</Text>
<Text variant="subtitle" className="mt-2">
{team.bio}
</Text>