@tikpage/reactjs-popup
Version:
React Popup Component - Modals,Tooltips and Menus — All in one
129 lines (120 loc) • 4.14 kB
JavaScript
import React from 'react';
import {Link} from 'gatsby';
import Layout from '../components/Layout';
import img from '../../static/logo.png';
export default () => (
<Layout>
<div className="index-hero">
<div className="index-hero-inner">
<h1 className="index-hero-project-tagline">
<img role="img" className="index-hero-logo" src={img} />A React
Component to Create{' '}
<span className="index-hero-project-keywords">Modals,Tooltips</span>{' '}
and <span className="index-hero-project-keywords">Menus</span>
<br />
— All in one —
</h1>
<div className="index-ctas">
<Link className="index-ctas-get-started-button" to="/home/">
Get Started
</Link>
<span className="index-ctas-github-button">
<iframe
src="https://ghbtns.com/github-btn.html?user=yjose&repo=reactjs-popup&type=star&count=true&size=large"
frameBorder="0"
scrolling="0"
width="160"
height="30"
title="GitHub Stars"
/>
</span>
<a
href="https://www.npmjs.com/package/reactjs-popup"
className="index-ctas-github-button">
<img
src="https://img.shields.io/npm/v/reactjs-popup.svg?style=for-the-badge"
alt="npm"
/>
</a>
<a
href="http://www.npmtrends.com/reactjs-popup"
className="index-ctas-github-button">
<img
src="https://img.shields.io/npm/dt/reactjs-popup.svg?style=for-the-badge"
alt="npm trends"
/>
</a>
<a
className="index-ctas-github-button"
href="https://twitter.com/intent/tweet?text=Check%20out%20reactjs-popup%20by%20%40ElaziziYoussouf%20https%3A%2F%2Fgithub.com%2Fyjose%2Freactjs-popup%20%F0%9F%91%8D">
<img
src="https://img.shields.io/twitter/url/https/github.com/yjose/reactjs-popup.svg?style=social"
alt="tweet"
/>
</a>
</div>
</div>
</div>
<div className="announcement">
<div className="announcement-inner">
We're happy to see the{' '}
<a href="https://npmjs.com/package/reactjs-popup"> reactjs-popup </a>{' '}
package hits{' '}
<a href="https://npmjs.com/package/reactjs-popup">
8 millions downloads{' '}
</a>{' '}
on NPM
</div>
</div>
<div className="section">
<div className="container text--center margin-bottom--xl">
<div className="row">
<div className="col">
<span
alt="Ready for Translations"
className="featureImage"
style={{
fontSize: '100px',
}}>
🏋️
</span>
<h3>All in one</h3>
<p className="padding-horiz--md">
Create Modals,Tooltips and Menus with the same component API and
Full style customization
</p>
</div>
<div className="col">
<span
alt="Ready for Translations"
className="featureImage"
style={{
fontSize: '100px',
}}>
💪
</span>
<h3>Full Control</h3>
<p className="padding-horiz--md">
Function as children pattern to take control over your popup
anywhere in your code.
</p>
</div>
<div className="col">
<span
alt="Ready for Translations"
className="featureImage"
style={{
fontSize: '100px',
}}>
⚡️
</span>
<h3>Supper Small</h3>
<p className="padding-horiz--md">
All these clocks in at around 3 kB zipped.
</p>
</div>
</div>
</div>
</div>
</Layout>
);