EnteLinkLogo.tsx 636 B

1234567891011121314151617181920212223
  1. import { ENTE_WEBSITE_LINK } from "@ente/shared/constants/urls";
  2. import { Box } from "@mui/material";
  3. import Link from "next/link";
  4. import Ente from "../../components/icons/ente";
  5. export function EnteLinkLogo() {
  6. return (
  7. <Link href={ENTE_WEBSITE_LINK}>
  8. <Box
  9. sx={(theme) => ({
  10. ":hover": {
  11. cursor: "pointer",
  12. svg: {
  13. fill: theme.colors.text.faint,
  14. },
  15. },
  16. })}
  17. >
  18. <Ente />
  19. </Box>
  20. </Link>
  21. );
  22. }