Skip to content

Commit

Permalink
fix: some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeRahbari committed Oct 31, 2023
1 parent 8e0ae8c commit e9ed77a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 3 additions & 1 deletion src/AboutUs/ContactInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/** @jsxImportSource @emotion/react */
import { useTheme } from "@mui/material";
import PunchlineParagraph from "./PunchlineParagraph";
import { contactInfosCSS } from "./styles";
import type { ReactNode } from "react";
Expand All @@ -11,8 +12,9 @@ export default function ContactInfo({
contactEmail,
children,
}: ContactInfoProps) {
const theme = useTheme();
return (
<div css={contactInfosCSS}>
<div css={contactInfosCSS(theme)}>
<PunchlineParagraph>
<a href={`mailto:${contactEmail}`}>{children}</a>
</PunchlineParagraph>
Expand Down
2 changes: 0 additions & 2 deletions src/SEO/SEO.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,5 @@ export const FullMeta: Story = {
langCode: "en",
useRobotoFont: true,
siteName: "Reveality",
favicon: "https://reveality.com/favicon.ico",
titleTemplate: "%s | Reveality",
},
};
2 changes: 0 additions & 2 deletions src/SEO/SEO.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ export default function SEO({
article,
langCode = "fr",
useRobotoFont = false,
favicon = "",
siteName,
titleTemplate,
}: SEOProps) {
return (
<>
Expand Down
3 changes: 1 addition & 2 deletions src/styles/styles.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Theme } from "@mui/material";
import { CSSObject } from "@emotion/react";
import { Theme, CSSObject } from "@mui/material";

export const DEFAULT_MAIN_COLOR = "#1b1b1b";

Expand Down

0 comments on commit e9ed77a

Please sign in to comment.