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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

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

View file

@ -74,7 +74,9 @@ function TeamPage({ team }: TeamPageProps) {
imageSrc={getPlaceholderAvatar(team.logo, team.name)} imageSrc={getPlaceholderAvatar(team.logo, team.name)}
className="mx-auto mb-4 h-20 w-20 rounded-full" 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"> <Text variant="subtitle" className="mt-2">
{team.bio} {team.bio}
</Text> </Text>