Skip to content

Commit

Permalink
Merge pull request #24 from AI4Bharat/react-django
Browse files Browse the repository at this point in the history
Colab Icon Change
  • Loading branch information
Shanks0465 authored Sep 3, 2024
2 parents 0da394d + f4bc207 commit fd967d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
9 changes: 2 additions & 7 deletions frontend/components/AreaTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
AccordionIcon,
AccordionItem,
} from "@chakra-ui/react";
import { FaPaperclip, FaGithub, FaArrowDown } from "react-icons/fa";
import { FaPaperclip, FaGithub, FaCode } from "react-icons/fa";
import { useState } from "react";
import { imagePrefix } from "@/app/config";
import Link from "next/link";
Expand Down Expand Up @@ -236,12 +236,7 @@ const Card = ({
)}
{colab_link ? (
<Link target="_blank" href={colab_link}>
<Image
alt="colab"
width={25}
height={25}
src={`${imagePrefix}/assets/icons/colab.png`}
/>
<FaCode size={50} />
</Link>
) : (
<></>
Expand Down
9 changes: 2 additions & 7 deletions frontend/components/Models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import NMT from "./TryOut/NMT";
import ASR from "./TryOut/ASR";
import XLIT from "./TryOut/XLIT";
import TTS from "./TryOut/TTS";
import { FaPaperclip, FaGithub } from "react-icons/fa";
import { FaPaperclip, FaGithub, FaCode } from "react-icons/fa";
import ToolInstructions from "./ToolInstructionComponent";
import Image from "next/image";

Expand Down Expand Up @@ -219,12 +219,7 @@ export default function ModelView({
>
<Link target="_blank" href={model.colab_link}>
<HStack>
<Image
alt="colab"
width={25}
height={25}
src={`${imagePrefix}/assets/icons/colab.png`}
/>
<FaCode size={50} />
<Text>Colab</Text>
</HStack>
</Link>
Expand Down
9 changes: 2 additions & 7 deletions frontend/src/app/publications/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
Divider,
SimpleGrid,
} from "@chakra-ui/react";
import { FaPaperclip, FaGithub } from "react-icons/fa";
import { FaPaperclip, FaGithub, FaCode } from "react-icons/fa";
import { useQuery } from "react-query";
import axios from "axios";
import { API_URL } from "../config";
Expand Down Expand Up @@ -310,12 +310,7 @@ const Card = ({
)}
{colab_link ? (
<Link target="_blank" href={colab_link}>
<Image
alt="colab"
width={50}
height={50}
src={`${imagePrefix}/assets/icons/colab.png`}
/>
<FaCode size={50} />
</Link>
) : (
<></>
Expand Down

0 comments on commit fd967d8

Please sign in to comment.