Skip to content

Commit b11ea8c

Browse files
Merge remote-tracking branch 'upstream/dev' into feat/color-stories-tailwind
2 parents fd0db90 + 61aa028 commit b11ea8c

File tree

86 files changed

+244
-810
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+244
-810
lines changed

src/components/ActionCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { StaticImageData } from "next/image"
22
import type { BaseHTMLAttributes, ElementType, ReactNode } from "react"
33

4-
import { TwImage } from "@/components/Image"
4+
import { Image } from "@/components/Image"
55
import InlineLink from "@/components/ui/Link"
66
import { LinkBox, LinkOverlay } from "@/components/ui/link-box"
77

@@ -53,7 +53,7 @@ const ActionCard = ({
5353
isRight ? "justify-end" : "justify-center"
5454
)}
5555
>
56-
<TwImage
56+
<Image
5757
src={image}
5858
alt={alt || ""}
5959
width={imageWidth}

src/components/AssetDownload/AssetDownloadImage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ImageProps } from "next/image"
22

3-
import { TwImage } from "../Image"
3+
import { Image } from "../Image"
44
import { Center } from "../ui/flex"
55

66
interface AssetDownloadImageProps {
@@ -10,7 +10,7 @@ interface AssetDownloadImageProps {
1010

1111
const AssetDownloadImage = ({ image, alt }: AssetDownloadImageProps) => (
1212
<Center className="w-full border p-8">
13-
<TwImage src={image} alt={alt} className="w-full self-center" />
13+
<Image src={image} alt={alt} className="w-full self-center" />
1414
</Center>
1515
)
1616

src/components/Avatar/index.tsx

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/components/Banners/ContributorsQuizBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { cn } from "@/lib/utils/cn"
22

3-
import { TwImage } from "../Image"
3+
import { Image } from "../Image"
44
import { ButtonLink } from "../ui/buttons/Button"
55
import { Flex, Stack } from "../ui/flex"
66

@@ -29,7 +29,7 @@ function ContributorsQuizBanner({
2929
"px-8 md:px-0"
3030
)}
3131
>
32-
<TwImage
32+
<Image
3333
className="absolute max-h-[120%] w-full object-contain"
3434
src={PeopleLearning}
3535
alt="People learning about Ethereum"

src/components/Buttons/Button.tsx

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/components/Buttons/ButtonLink.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/components/Buttons/IconButton.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/components/Buttons/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/components/Callout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useTranslation } from "next-i18next"
33
import type { TranslationKey } from "@/lib/types"
44

55
import Emoji from "@/components/Emoji"
6-
import { type ImageProps, TwImage } from "@/components/Image"
6+
import { Image, type ImageProps } from "@/components/Image"
77

88
import { cn } from "@/lib/utils/cn"
99

@@ -43,7 +43,7 @@ const Callout = ({
4343
>
4444
{image && (
4545
<div className="-mt-40 self-center">
46-
<TwImage
46+
<Image
4747
src={image}
4848
alt={alt || ""}
4949
className="max-h-[263px] min-h-[200px] max-w-[263px] object-contain"

src/components/CalloutBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { useTranslation } from "next-i18next"
22

33
import type { TranslationKey } from "@/lib/types"
44

5-
import { type ImageProps, TwImage } from "@/components/Image"
5+
import { Image, type ImageProps } from "@/components/Image"
66

77
import { cn } from "@/lib/utils/cn"
88

@@ -36,7 +36,7 @@ const CalloutBanner = ({
3636
{...props}
3737
>
3838
<div className="flex">
39-
<TwImage
39+
<Image
4040
src={image}
4141
alt={alt}
4242
width={imageWidth}

0 commit comments

Comments
 (0)