mirror of https://github.com/usememos/memos
chore: update learn more link (#1455)
parent
836e496ee0
commit
9ede3da882
@ -0,0 +1,19 @@
|
||||
import Icon from "./Icon";
|
||||
|
||||
interface Props {
|
||||
url: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const LearnMore = (props: Props) => {
|
||||
const { url, className } = props;
|
||||
|
||||
return (
|
||||
<a className={`${className || ""} text-sm text-blue-600 hover:opacity-80 hover:underline`} href={url} target="_blank">
|
||||
Learn more
|
||||
<Icon.ExternalLink className="inline -mt-1 ml-1 w-4 h-auto opacity-80" />
|
||||
</a>
|
||||
);
|
||||
};
|
||||
|
||||
export default LearnMore;
|
Loading…
Reference in New Issue