Skip to content

Commit

Permalink
chore: update backers
Browse files Browse the repository at this point in the history
  • Loading branch information
anubra266 committed Apr 5, 2024
1 parent 9afc260 commit d61397a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 130 deletions.
109 changes: 0 additions & 109 deletions components/landing/sponsor-pack.tsx

This file was deleted.

14 changes: 10 additions & 4 deletions components/landing/sponsors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import Icon from "@chakra-ui/icon";
import { Box, Link, Text, VStack } from "@chakra-ui/layout";
import React from "react";
import { FiExternalLink } from "react-icons/fi";
import { SponsorPack } from "./sponsor-pack";
import { chakra } from "@chakra-ui/react";

const Sponsors = ({ sponsors }) => {
const Sponsors = () => {
return (
<Box px={6} mx="auto" textAlign="center" maxW="7xl">
<VStack spacing={{ base: 7, xl: 10 }}>
Expand Down Expand Up @@ -49,8 +49,14 @@ const Sponsors = ({ sponsors }) => {
</div>
</VStack>

<Box mx="auto" maxW={{ xl: "2xl" }}>
<SponsorPack sponsors={sponsors} />
<Box mx="auto">
<chakra.img
w="full"
mx="auto"
mt="20"
alt="sponsors"
src="https://raw.githubusercontent.com/anubra266/static/main/sponsors.svg"
/>
</Box>
</Box>
);
Expand Down
5 changes: 2 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Home: NextPage = (props: any) => {
<ComponentSample />
<Feature2 />
<OpenSource contributors={props.contributors} />
<Sponsors sponsors={props.sponsors} />
<Sponsors />
<Splitbee />
<Credits />
</Box>
Expand All @@ -35,9 +35,8 @@ export async function getStaticProps() {
const { contributors } = JSON.parse(
fs.readFileSync(contributorsRaw, "utf-8")
);
const sponsors = require("sponsors.json");
return {
props: { contributors, sponsors },
props: { contributors },
};
}
export default Home;
14 changes: 0 additions & 14 deletions sponsors.json

This file was deleted.

0 comments on commit d61397a

Please sign in to comment.