Skip to content

HappyHackingSpace/banner

 
 

@happyhackingspace/banner

React component for adding a Happy Hacking Space banner to your club site

npm Build Status

Install

Use npm or yarn as follows:

npm install --save @happyhackingspace/banner
yarn add @happyhackingspace/banner

Usage

Place <Banner /> anywhere on your site homepage.

import React from 'react'
import Banner from '@happyhackingspace/banner'

export default () => (
  <main>
    <Banner />
    <h1>Hacking High School Happy Hacking Space</h1>
  </main>
)

Custom props

<Banner year={2020} style={{ width: '256px' }} />
Prop Effect
year Number, one of 2016 to 2024. Default: current year
style Object, for custom styles

License

MIT © Hack Club

About

⛳ React component for adding a Happy Hacking Space banner to your site

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%