mirror of
https://github.com/owncast/owncast.git
synced 2024-12-19 15:56:47 +03:00
c2a0295a0c
* - set vars for player container height and status bar height - use them to calculate mobile top spacing to adjust for tab content positioning * give main content section a min height, place footer absolutely at bottom; rm all the fixed footer styling * cleanup; restructure tabbed display logic and css a bit * Prettified Code! * cleanup * fix(story): footer story needs to be wrapped in RecoilRoot if it is to use Recoil * revert adding footer to mobile about section * prevent double scrolling --------- Co-authored-by: gingervitis <gingervitis@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
22 lines
555 B
TypeScript
22 lines
555 B
TypeScript
import React from 'react';
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
import { RecoilRoot } from 'recoil';
|
|
import { Footer } from './Footer';
|
|
|
|
export default {
|
|
title: 'owncast/Layout/Footer',
|
|
component: Footer,
|
|
parameters: {},
|
|
} as ComponentMeta<typeof Footer>;
|
|
|
|
const Template: ComponentStory<typeof Footer> = args => (
|
|
<RecoilRoot>
|
|
<Footer {...args} />
|
|
</RecoilRoot>
|
|
);
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
export const Example = Template.bind({});
|
|
Example.args = {
|
|
version: 'v1.2.3',
|
|
};
|