Skip to content

Commit e7fe0a2

Browse files
committed
feat: add by iterative to logo
1 parent f849815 commit e7fe0a2

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

packages/gatsby-theme-iterative/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dvcorg/gatsby-theme-iterative",
3-
"version": "0.3.21",
3+
"version": "0.3.22",
44
"description": "",
55
"main": "index.js",
66
"types": "src/typings.d.ts",

packages/gatsby-theme-iterative/src/components/HamburgerMenu/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export const HamburgerMenu: React.FC<
7676
>
7777
<LogoSVG />
7878
</Link>
79-
<LogoGradient className="mr-auto" href="https://dvc.ai/">
80-
by <span className="font-extrabold">dvc.ai</span>
79+
<LogoGradient className="mr-auto">
80+
by <span className="font-extrabold">Iterative</span>
8181
</LogoGradient>
8282
</div>
8383
<ul className={styles.sections}>

packages/gatsby-theme-iterative/src/components/LayoutFooter/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const LayoutFooter: React.FC = () => (
190190
<p className={styles.companyLabel}>
191191
By{' '}
192192
<LogoGradient className="font-extrabold mr-1" href="https://dvc.ai">
193-
dvc.ai
193+
Iterative
194194
</LogoGradient>
195195
<span className={styles.companyDescription}>
196196
<ShowOnly as="span" on="desktop">

packages/gatsby-theme-iterative/src/components/LayoutHeader/HeaderBranding/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const HeaderBranding = () => (
99
<LogoSVG className={styles.logo} />
1010
</Link>
1111
<LogoGradient className="mr-auto text-sm" href="https://dvc.ai/">
12-
by <span className="font-extrabold">dvc.ai</span>
12+
by <span className="font-extrabold">Iterative</span>
1313
</LogoGradient>
1414
</>
1515
)

packages/gatsby-theme-iterative/src/components/LogoGradient/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ const LogoGradient = ({
99
className,
1010
children
1111
}: {
12-
href: string
12+
href?: string
1313
className?: string
1414
children: React.ReactNode
1515
}) => {
16-
return (
16+
return href ? (
1717
<Link
1818
href={href}
1919
className={cn(
@@ -24,6 +24,8 @@ const LogoGradient = ({
2424
>
2525
{children}
2626
</Link>
27+
) : (
28+
<span className={cn(styles.logoGradient, className)}>{children}</span>
2729
)
2830
}
2931

0 commit comments

Comments
 (0)