Skip to content

Commit

Permalink
Merge branch 'main' into migration-to-app-router-ZPHR
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Feb 3, 2024
2 parents e234db0 + c7358bb commit 3ac83b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layout/JsonCrackLogo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import Link from "next/link";
import styled from "styled-components";
import { monaSans } from "src/constants/fonts";
import { isIframe } from "src/lib/utils/widget";

const StyledTitle = styled.div<{ fontSize: string }>`
font-weight: 800;
Expand All @@ -21,7 +22,7 @@ interface LogoProps extends React.ComponentPropsWithoutRef<"a"> {
export const JSONCrackLogo: React.FC<LogoProps> = ({ fontSize = "1.2rem", ...props }) => {
return (
<StyledTitle as={Link} fontSize={fontSize} href="/" prefetch={false} {...props}>
JSON CRACK
{isIframe() ? "JC" : "JSON CRACK"}
</StyledTitle>
);
};

0 comments on commit 3ac83b1

Please sign in to comment.