-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into LA-198-put-dataset-test-results-behind-secur…
…ity-flag
- Loading branch information
Showing
67 changed files
with
3,991 additions
and
3,699 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
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
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
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 |
---|---|---|
@@ -1,16 +1,32 @@ | ||
import { EthycaLogo, Link, LinkProps } from "fidesui"; | ||
|
||
const BrandLink = (props: LinkProps) => ( | ||
<Link | ||
fontSize="8px" | ||
color="gray.400" | ||
isExternal | ||
textDecoration="none" | ||
_hover={{ textDecoration: "none" }} | ||
{...props} | ||
> | ||
Powered by <EthycaLogo color="minos.500" h="20px" w="31px" /> | ||
</Link> | ||
); | ||
import { useSettings } from "~/features/common/settings.slice"; | ||
|
||
const BrandLink = ({ | ||
position = "absolute", | ||
right = 6, | ||
...props | ||
}: LinkProps) => { | ||
const { SHOW_BRAND_LINK } = useSettings(); | ||
|
||
if (!SHOW_BRAND_LINK) { | ||
return null; | ||
} | ||
|
||
return ( | ||
<Link | ||
fontSize="8px" | ||
color="gray.400" | ||
isExternal | ||
position={position} | ||
right={right} | ||
textDecoration="none" | ||
_hover={{ textDecoration: "none" }} | ||
{...props} | ||
> | ||
Powered by <EthycaLogo color="minos.500" h="20px" w="31px" /> | ||
</Link> | ||
); | ||
}; | ||
|
||
export default BrandLink; |
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
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
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
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
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
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
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
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
Oops, something went wrong.