Skip to content

Commit

Permalink
add backed by
Browse files Browse the repository at this point in the history
  • Loading branch information
Zain-ul-din committed Oct 4, 2024
1 parent 715a2b3 commit 656b10b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
26 changes: 18 additions & 8 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,27 @@ export default function Footer({ fixedBottom }: { fixedBottom: boolean }): JSX.E
<Container
as={Stack}
maxW={'6xl'}
py={2}
padding={0}
py={4}
px={0.1}
direction={{ base: 'column', md: 'row' }}
spacing={4}
justify={{ base: 'center', md: 'space-between' }}
align={{ base: 'center', md: 'center' }}>
<Flex flexDirection={'row'}>
<Text>© OPEN SOURCE MADE WITH </Text>
<Box color={'red'} pt={'5px'} px={'3px'}>
{' '}
<BsSuitHeartFill />
</Box>
</Flex>
<Link href={'https://www.orbisdev.co/'}>
<Flex
color={'orange.400'}
fontWeight={'medium'}
flexDirection={'row'}
align={'center'}
fontSize={'md'}
gap={1}>
{/* <Text>© OPEN SOURCE MADE WITH </Text> */}
<Text>Backed By - OrbisDev</Text>
<ExternalLinkIcon />
<Box> {/* <BsSuitHeartFill /> */}</Box>
</Flex>
</Link>

<Stack direction={'row'} spacing={4}>
<SocialButton label={'GitHub Front-End'} href={LINKS.GIT_HUB_REPO_LINK}>
Expand Down Expand Up @@ -174,6 +183,7 @@ const githubApiResponseSample = {
type GithubApiResponse = typeof githubApiResponseSample;

import Link from 'next/link';
import { ExternalLinkIcon } from '@chakra-ui/icons';

const GithubContributors = ({ urls }: { urls: string[] }) => {
const [contributors, setContributors] = useState<Array<GithubApiResponse>>([]);
Expand Down
12 changes: 7 additions & 5 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Header from '~/components/Header';
import Footer from '~/components/Footer';
import NextNProgress from 'nextjs-progressbar';
import DarkTheme from '~/components/design/DarkTheme';
import BgGlow from '~/components/BgGlow';
// import BgGlow from '~/components/BgGlow';
import { AppStyleProvider, appTheme } from '~/styles/Style';

import OneTap from '~/components/OneTap';
Expand All @@ -24,11 +24,12 @@ import { useReferrer } from '~/hooks/useReferrer';
import PalestineSupportBanner from '~/components/announcements/PalestineSupportBanner';
import NewFeature from '~/components/design/NewFeature';
import PastPaperToast from '~/components/pastpaper/PastPapersToast';
import React from 'react';

// import NewFeature from '~/components/design/NewFeature';
// import UpComingEvent from '~/components/design/UpCommingEvent';
import { Flex, Text } from '@chakra-ui/react';
import Link from 'next/link';
// import { Flex, Text } from '@chakra-ui/react';
// import Link from 'next/link';

const footerPages = ['/', '/contribute', '/developer', '/freeclassrooms'];
const excludeHeadPages = ['/contribute'];
Expand Down Expand Up @@ -59,7 +60,7 @@ export default function App({ Component, pageProps }: AppProps) {
<DarkTheme />
<OneTap />

<Flex justify={'center'} bg={'blue.300'} alignItems={'center'} py={4}>
{/* <Flex justify={'center'} bg={'blue.300'} alignItems={'center'} py={4}>
<Text fontSize={'xl'}>
To know current status of this project check
<Link
Expand All @@ -69,7 +70,8 @@ export default function App({ Component, pageProps }: AppProps) {
this link
</Link>
</Text>
</Flex>
</Flex> */}

<PalestineSupportBanner hideMessage={!footerPages.includes(router.pathname)} />
<PastPaperToast />

Expand Down

0 comments on commit 656b10b

Please sign in to comment.