Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Changes #18

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
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
28 changes: 16 additions & 12 deletions frontend/components/Features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,13 @@ const Card = ({ heading, description, icon, href }: CardProps) => {
</Text>
</Box>
<Link href={href}>
<Button variant={"link"} colorScheme={"blue"} size={"sm"}>
Learn more
</Button>
{href !== "" ? (
<Button variant={"link"} colorScheme={"orange"}>
Learn more
</Button>
) : (
<Text textColor={"a4borange"}>Coming Soon</Text>
)}
</Link>
</Stack>
</Box>
Expand Down Expand Up @@ -97,7 +101,7 @@ export default function Features() {
icon={
<Image
src={`${imagePrefix}/assets/icons/nmt.png`}
alt="LLM"
alt="NMT"
width={100}
height={100}
/>
Expand All @@ -112,7 +116,7 @@ export default function Features() {
icon={
<Image
src={`${imagePrefix}/assets/icons/xlit.png`}
alt="LLM"
alt="XLIT"
width={100}
height={100}
/>
Expand All @@ -127,7 +131,7 @@ export default function Features() {
icon={
<Image
src={`${imagePrefix}/assets/icons/asr.png`}
alt="LLM"
alt="ASR"
width={100}
height={100}
/>
Expand All @@ -142,7 +146,7 @@ export default function Features() {
icon={
<Image
src={`${imagePrefix}/assets/icons/tts.png`}
alt="LLM"
alt="TTS"
width={100}
height={100}
/>
Expand All @@ -152,21 +156,21 @@ export default function Features() {
}
href={`${imagePrefix}/areas/tts`}
/>
{/* <Card
<Card
heading={"OCR"}
icon={
<Image
src="/assets/icons/ocr.png"
alt="LLM"
alt="OCR"
width={100}
height={100}
/>
}
description={
"AI4Bharat has pioneered the development of multilingual LLMs tailored for Indian languages, such as IndicBERT, IndicBART, and Airavata trained on extensive, diverse datasets like IndicCorpora and Sangraha."
"We are in the early stages of developing models and datasets for advancing Document Layout Parsing and OCR technologies to support the wide range of Indian scripts."
}
href={"#"}
/> */}
href={""}
/>
</Flex>
</Container>
</Box>
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/app/people/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ import {
VStack,
useBreakpointValue,
Flex,
ResponsiveValue,
} from "@chakra-ui/react";
import { useQuery } from "react-query";
import { API_URL } from "../config";
import { Property } from "csstype";

const fetchMembers = async () => {
try {
Expand Down Expand Up @@ -108,7 +110,7 @@ export default function People() {
p={5}
justifyContent={"center"}
gap={2}
direction={direction}
direction={direction as ResponsiveValue<Property.FlexDirection>}
mt={10}
>
<Button
Expand Down
Loading