Skip to content

Commit

Permalink
disable buy me a coffee and link form
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeSG committed Sep 1, 2023
1 parent fb295d9 commit 6fafdcc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/components/core/page-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function PageHeader({ withBackground = false }: { withBackground?: boolea
</Menu.Item>
<Menu.Divider />
<Menu.Label>External links</Menu.Label>
<Menu.Item
{/* <Menu.Item
closeMenuOnClick
component={Link}
href="https://www.buymeacoffee.com/subrehab"
Expand All @@ -151,7 +151,7 @@ export function PageHeader({ withBackground = false }: { withBackground?: boolea
icon="☕"
>
Buy me a coffee
</Menu.Item>
</Menu.Item> */}
<Menu.Item
closeMenuOnClick
component="a"
Expand Down Expand Up @@ -198,7 +198,7 @@ export function PageHeader({ withBackground = false }: { withBackground?: boolea
>
FAQ
</Button>
<Button
{/* <Button
component={Link}
href="https://www.buymeacoffee.com/subrehab"
target="_blank"
Expand All @@ -207,7 +207,7 @@ export function PageHeader({ withBackground = false }: { withBackground?: boolea
leftIcon="☕"
>
Buy me a coffee
</Button>
</Button> */}
<Button
component={Link}
href="https://forms.gle/JyGMtzet2Y3Kj2i8A"
Expand Down
4 changes: 2 additions & 2 deletions src/components/index/index-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export function IndexHeader() {
</div>
<Flex gap="xs" className={classes.buttonRow}>
<Group>
<GradientButton<typeof Link> component={Link} href="/submit-link" leftIcon={<IoAdd />}>
{/* <GradientButton<typeof Link> component={Link} href="/submit-link" leftIcon={<IoAdd />}>
Suggest link
</GradientButton>
</GradientButton> */}

<Tooltip label="Report a broken, miscategorized, or inaccurate link" withArrow>
<div>
Expand Down
5 changes: 3 additions & 2 deletions src/pages/submit-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ export default function SubmitLink() {
return (
<>
<PageHeader withBackground />
<Section>
<Section>Suggesting links is currently disabled.</Section>
{/* <Section>
<Title order={2} sx={{ fontFamily: "var(--font-accent)" }}>
Link approval criteria
</Title>
Expand Down Expand Up @@ -269,7 +270,7 @@ export default function SubmitLink() {
</Group>
</form>
</Box>
</Section>
</Section> */}
</>
);
}

0 comments on commit 6fafdcc

Please sign in to comment.