226 packages
@agderposten/environment-functions
Easy access to AGM environment functions.
@agderposten/environment-provider
HOC that provides the `environment` object to its children if given either an `environmentId` or a `hostname`. Attempts to use `Next.js` `getInitialProps`.
@agderposten/fonts
Easily use `agm` fonts by composing them with CSS.
@agderposten/header
## Installation
@agderposten/loading-spinner
Simple loading spinner component.
@agderposten/logo
Component with black or white logo for the provided `organization` with an `alt` attribute set as the `organization.name`. Attempts to use `Next.js` `getInitialProps`.
@agderposten/next
Minimalistic framework for server-rendered React applications
@agderposten/organization-functions
Easy access to agm organization functions. You probably need `@babel/polyfill` for this to work.
@agderposten/organization-provider
HOC that provides the `organization` object to its children if given either an `environmentId` or a `hostname`. Attempts to use `Next.js` `getInitialProps`. You probably need `@babel/polyfill` for this to work.
@agderposten/user-button
Simple user button showing the users' first name if logged in. Customizable text and visibility if logged out. Takes `onClick` or `href`, and `className`.