forked from tajo/ladle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Chrome re-opening for pnp (tajo#172)
* Fix Chrome re-opening for pnp * Fix tsc * Add hiring link
- Loading branch information
Showing
6 changed files
with
3,577 additions
and
298 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@ladle/react": patch | ||
--- | ||
|
||
Fix Chrome (tab) re-opening for pnp environments.. |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
import React from "react"; | ||
import { useThemeConfig } from "@docusaurus/theme-common"; | ||
import FooterLinks from "@theme/Footer/Links"; | ||
import FooterLogo from "@theme/Footer/Logo"; | ||
import FooterCopyright from "@theme/Footer/Copyright"; | ||
import FooterLayout from "@theme/Footer/Layout"; | ||
|
||
function Footer() { | ||
const { footer } = useThemeConfig(); | ||
|
||
if (!footer) { | ||
return null; | ||
} | ||
|
||
const { copyright, links, logo, style } = footer; | ||
return ( | ||
<> | ||
<p | ||
style={{ | ||
backgroundColor: "rgb(239, 243, 254)", | ||
padding: "16px", | ||
margin: "32px auto", | ||
maxWidth: "630px", | ||
textAlign: "center", | ||
borderRadius: "16px", | ||
}} | ||
> | ||
Do you want to work on Ladle and other web tooling? Our team at Uber is{" "} | ||
<a href="https://www.uber.com/global/en/careers/list/108900/">hiring</a> | ||
! | ||
</p> | ||
<FooterLayout | ||
style={style} | ||
links={links && links.length > 0 && <FooterLinks links={links} />} | ||
logo={logo && <FooterLogo logo={logo} />} | ||
copyright={copyright && <FooterCopyright copyright={copyright} />} | ||
/> | ||
</> | ||
); | ||
} | ||
|
||
export default React.memo(Footer); |
Oops, something went wrong.