Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions src/components/copy-page-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@ import copy from "copy-to-clipboard";
import htmlToMd from "html-to-md";
import type React from "react";
import { useEffect, useState } from "react";
import { FaCommentDots } from "react-icons/fa";
import {
MdArrowDropDown,
MdCheck,
MdContentCopy,
MdFilePresent,
} from "react-icons/md";
import { MdArrowDropDown, MdCheck, MdContentCopy } from "react-icons/md";
import { RiOpenaiFill } from "react-icons/ri";
import { SiClaude, SiMarkdown } from "react-icons/si";

interface CopyPageDropdownProps {
title?: string;
Expand Down Expand Up @@ -179,15 +174,15 @@ export const CopyPageDropdown: React.FC<CopyPageDropdownProps> = ({
},
{
icon: (
<MdFilePresent className="w-4 h-4 text-neutral-text-secondary" />
<SiMarkdown className="w-5 h-5 text-neutral-text-secondary" />
),
label: "View as Markdown",
description: "View this page as plain text",
onClick: handleViewMarkdown,
},
{
icon: (
<RiOpenaiFill className="w-4 h-4 text-neutral-text-secondary" />
<RiOpenaiFill className="w-5 h-5 text-neutral-text-secondary" />
),
label: "Open in ChatGPT",
description: "Ask questions about this page",
Expand All @@ -201,7 +196,7 @@ export const CopyPageDropdown: React.FC<CopyPageDropdownProps> = ({
},
{
icon: (
<FaCommentDots className="w-4 h-4 text-neutral-text-secondary" />
<SiClaude className="w-5 h-5 text-neutral-text-secondary" />
),
label: "Open in Claude",
description: "Ask questions about this page",
Expand Down
Loading