fixed onboarding (#2233)
This commit is contained in:
parent
6ed945943a
commit
ab2542501a
3 changed files with 7 additions and 5 deletions
|
@ -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>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue