Skip to content

Commit

Permalink
Add Highlight component to display query results
Browse files Browse the repository at this point in the history
  • Loading branch information
codad5 committed Nov 29, 2023
1 parent d5cdb13 commit cd42f31
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Center, Heading, Image, Link, Text, Flex, IconButton } from '@chakra-ui/react';
import { Box, Center, Heading, Image, Link, Text, Flex, IconButton, Highlight } from '@chakra-ui/react';
import { useEffect } from 'react';
import { useRecoilState } from 'recoil';
import { FaGithub } from "react-icons/fa";
Expand Down Expand Up @@ -49,9 +49,15 @@ function App() {
</Center>
</Box>
<Box w="100%" p={0} >
<Center w='100%' h="100%">
<Text>
This is an Unofficial Google Task Desktop Client. It is not affiliated with Google. It is built with <Link href="https://tauri.app/" isExternal>Tauri</Link> and <Link href="https://reactjs.org/" isExternal>React</Link>.
<Center w='100%' h="100%" p={2}>
<Text textAlign="center">
<Highlight
query='Desktop Client'
styles={{ px: '2', py: '1', rounded: 'full', bg: 'red.100' }}
>
This is an Unofficial Google Task Desktop Client. It is not affiliated with Google. It is built with
</Highlight>
<Link href="https://tauri.app/" isExternal>Tauri</Link> and <Link href="https://reactjs.org/" isExternal>React</Link>.
</Text>
</Center>
</Box>
Expand Down

0 comments on commit cd42f31

Please sign in to comment.