Skip to content

Commit

Permalink
docs: update footer and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Mar 5, 2021
1 parent 03da41a commit 39c53bb
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 7 deletions.
9 changes: 5 additions & 4 deletions website/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ A performant, easy to use hold to open context menu for React Native powered by

## Features

- Powered with Reanimated v2 馃殌
- Easy to use 馃槉
- Dark/Light Mode 馃寶
- Device orientation change
- Powered with Reanimated v2. 馃殌
- Smooth interactions & animations.
- Supports dark/light Mode. 馃寶 馃対
- Supports device orientation change.
- Compatible with Expo.
- Written in `TypeScript`.

## Installation
Expand Down
1 change: 0 additions & 1 deletion website/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Before using Hold Menu in your application, you need to wrap your app with `Hold
```tsx
import React from 'react';

// Hold Menu
import { HoldMenuProvider } from 'react-native-hold-menu';

const App = () => {
Expand Down
2 changes: 0 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ module.exports = {
},
footer: {
style: 'dark',
links: [],
copyright: `Copyright 漏 ${new Date().getFullYear()} React Native Hold Menu. Built with Docusaurus.`,
},
},
presets: [
Expand Down
24 changes: 24 additions & 0 deletions website/src/theme/Footer/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from 'react';
import styles from './styles.module.css';

function Footer() {
return (
<footer className={styles.footerContainer}>
<div className={styles.footerLeft}>
Copyright 漏 {new Date().getFullYear()}{' '}
<a rel="author" href="https://twitter.com/enesozt_" target="_blank">
Enes 脰zt眉rk
</a>
</div>
<div className={styles.footerRight}>
Built with{' '}
<a rel="nofollow" href="https://v2.docusaurus.io/" target="_blank">
Docusaurus
</a>{' '}
鉂わ笍
</div>
</footer>
);
}

export default Footer;
17 changes: 17 additions & 0 deletions website/src/theme/Footer/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.footerContainer {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
height: var(--ifm-navbar-height);
padding: var(--ifm-navbar-padding-vertical)
var(--ifm-navbar-padding-horizontal);
background: var(--ifm-navbar-background-color);
}

.footerRight {
float: right;
}
.footerLeft {
float: left;
}

0 comments on commit 39c53bb

Please sign in to comment.