Skip to content

Commit

Permalink
Merge pull request #1676 from starknet-io/dev
Browse files Browse the repository at this point in the history
Merge dev into production
  • Loading branch information
rafaelcruzazevedo authored Nov 20, 2023
2 parents a5fe3d4 + ad588e5 commit d0f0707
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 3 deletions.
Binary file not shown.
9 changes: 8 additions & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
User-agent: *
Allow: /
Allow: /
Disallow: /ar/*
Disallow: /de/*
Disallow: /es/*
Disallow: /fr/*
Disallow: /ja/*
Disallow: /ko/*
Disallow: /pt/*
1 change: 1 addition & 0 deletions workspaces/website/src/blocks/MarkdownBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export function MarkdownBlock({ body }: Props): JSX.Element {
id={`toc-${slugify(props.children.join(" "))}`}
/> */}
<Heading
as={"h1"}
id={`toc-${slugify(props.children.join(" "))}`}
color="heading-navy-fg"
variant="h2"
Expand Down
1 change: 1 addition & 0 deletions workspaces/website/src/components/HeroImage/HeroImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ export const HeroImage = ({
</Box>

<Heading
as="h1"
color="heading-navy-fg"
variant="h2"
size={useBreakpointValue({ base: "md", md: "lg" })}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const SectionHeader = ({
<Stack spacing="3" pb={6}>
<Box>
<Heading
as="h1"
variant="h2"
color="heading-navy-fg"
fontWeight="extrabold"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/website/src/components/Typography/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export const Heading: React.FC<CustomHeadingProps> = ({
}) => {
const { ...rest } = props;
const Tag = variant || "h2";
return <ChakraHeading {...headingTheme[Tag as keyof typeof headingTheme]} as={variant as typeof as} {...rest} />;
return <ChakraHeading {...headingTheme[Tag as keyof typeof headingTheme]} as={as || variant} {...rest} />;
};
1 change: 1 addition & 0 deletions workspaces/website/src/pages/(components)/CMSPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default function CMSPage({
{data.show_title ? <>
<Box pb="6">
<Heading
as="h1"
variant="h2"
color="heading-navy-fg"
fontWeight="extrabold"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function RoadmapPage({

return (
<Box key={stage.value} mb="5rem">
<Heading variant="h4" display="flex" alignItems="center" mb="2rem" color="heading-navy-fg">
<Heading as="h1" variant="h4" display="flex" alignItems="center" mb="2rem" color="heading-navy-fg">
<Icon
boxSize="22px"
as={stage.icon}
Expand Down

0 comments on commit d0f0707

Please sign in to comment.