backstage-plugin-quote-page
v0.1.4
Published
A Backstage plugin that displays random inspirational quotes using the Quotable API.
Readme
backstage-plugin-quote-page
A Backstage plugin that displays random inspirational quotes using the Quotable API.
Features
- Display random quotes with authors
- Refresh to get new quotes
- Beautiful Material-UI design
- Fast and lightweight
Installation
- Install the plugin in your Backstage app:
yarn add backstage-plugin-quote-page- Add the plugin to your app's
App.tsx:
import { QuotePagePage } from 'backstage-plugin-quote-page';
// In your routes:
<Route path="/quote-page" element={<QuotePagePage />} />- (Optional) Add a sidebar item in
Root.tsx:
import FormatQuoteIcon from '@material-ui/icons/FormatQuote';
// In your sidebar:
<SidebarItem icon={FormatQuoteIcon} to="quote-page" text="Random Quotes" />Development
To run the plugin in isolation for development:
yarn install
yarn startAPI
This plugin uses the Quotable API to fetch random quotes.
