-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #608 from MTES-MCT/fix/broken-buttons-in-partners-…
…page fix(partners): fixed two buttons become partner
- Loading branch information
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ import { shuffle } from "lodash/collection"; | |
import { LoadingButton } from "common/components/LoadingButton"; | ||
import { usePageTitle } from "../common/UsePageTitle"; | ||
import { Main } from "../common/semantics/Main"; | ||
import { LinkButton } from "../common/LinkButton"; | ||
|
||
// This condition actually should detect if it's a Node environment | ||
if (typeof require.context === "undefined") { | ||
|
@@ -181,12 +182,13 @@ export function Partners() { | |
</LoadingButton> | ||
)} | ||
<div> | ||
<LoadingButton | ||
<LinkButton | ||
className={classes.cta} | ||
href="mailto:[email protected]" | ||
to="mailto:[email protected]" | ||
priority="primary" | ||
> | ||
Devenir partenaire | ||
</LoadingButton> | ||
</LinkButton> | ||
</div> | ||
</Grid> | ||
<Grid item xs={12} md={6} textAlign="center"> | ||
|
@@ -243,12 +245,13 @@ export function Partners() { | |
</Grid> | ||
))} | ||
</Grid> | ||
<LoadingButton | ||
<LinkButton | ||
className={classes.cta} | ||
href="mailto:[email protected]" | ||
to="mailto:[email protected]" | ||
priority="primary" | ||
> | ||
S'interfacer avec Mobilic | ||
</LoadingButton> | ||
</LinkButton> | ||
</Box> | ||
<Box> | ||
<Typography | ||
|