-
Notifications
You must be signed in to change notification settings - Fork 735
Docs site redesign #3636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Docs site redesign #3636
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
054e01f
Site redesign
Inbal-Tish 35e89de
add custom footer
Inbal-Tish ee89a80
convert rem
Inbal-Tish e2b6480
Move incubator and infra outside
Inbal-Tish 85343bc
add menu dividers
Inbal-Tish f02371a
Merge branch 'master' into docs/site_redesign
ethanshar 41b2f0c
Update docuilib/src/css/custom.css
Inbal-Tish 0c6be8e
navbar search design
Inbal-Tish c46eb10
fix search icon color
Inbal-Tish b6df933
Merge branch 'docs/site_redesign' of github.com:wix/react-native-ui-l…
Inbal-Tish f2546c9
fix nav items alignment
Inbal-Tish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add custom footer
- Loading branch information
commit 35e89de71261e134809242b54cc39af268e79c4d
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,86 @@ | ||
import React from 'react'; | ||
import {useThemeConfig} from '@docusaurus/theme-common'; | ||
// import useBaseUrl from '@docusaurus/useBaseUrl'; | ||
|
||
function Footer() { | ||
const {footer} = useThemeConfig(); | ||
|
||
if (!footer) { | ||
return null; | ||
} | ||
|
||
return ( | ||
<footer className="footer"> | ||
<div className="footer__container"> | ||
<div className={'footer__links'}> | ||
<div className="footer__section"> | ||
<a href="/docs/getting-started/setup" target="_blank" rel="noreferrer noopener" aria-label="Go to docs"> | ||
<img | ||
src="https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/site/logo_rnui_footer.png" | ||
alt="rnui logo" | ||
width="139" | ||
height="38" | ||
/> | ||
</a> | ||
</div> | ||
|
||
<div className="footer__section"> | ||
<a | ||
href="https://github.com/wix/react-native-ui-lib" | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
aria-label="Open gitHub" | ||
className="text__link" | ||
> | ||
<span>GitHub</span> | ||
<img | ||
src="https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/site/externalSmall.png" | ||
alt="external link icon" | ||
width="17" | ||
height="16" | ||
/> | ||
</a> | ||
<a | ||
href="https://snack.expo.io/@ethanshar/rnuilib_snack?platform=ios&supportedPlatforms=ios,android" | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
aria-label="Open expo snack" | ||
> | ||
<span>Expo-Snack</span> | ||
<img | ||
src="https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/site/externalSmall.png" | ||
alt="external link icon" | ||
width="17" | ||
height="16" | ||
/> | ||
</a> | ||
</div> | ||
|
||
<div className="footer__section right__section"> | ||
<a href="https://discord.gg/2eW4g6Z" target="_blank" rel="noreferrer noopener" aria-label="Open discord" className="icon__link"> | ||
<img | ||
src="https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/site/discord.png" | ||
alt="Discord icon" | ||
width="28" | ||
height="28" | ||
/> | ||
</a> | ||
<a href="https://twitter.com/rnuilib" target="_blank" rel="noreferrer noopener" aria-label="Open x"> | ||
<img | ||
src="https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/site/xSocial.png" | ||
alt="x icon" | ||
width="28" | ||
height="28" | ||
/> | ||
</a> | ||
</div> | ||
</div> | ||
<div className="footer__bottom text--center"> | ||
<div className="footer__copyright">© 2006-{new Date().getFullYear()} Wix.com, Inc.</div> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
} | ||
|
||
export default Footer; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.