import { mySite } from '@/libs/site/site'; import { MQ } from '@/libs/themes'; import { CSSObject } from '@emotion/react'; export const AppbarWrapper = ({ children }: { children: React.ReactNode }) => { return (
{children}
); }; const flex_style: CSSObject = { display: 'flex', alignItems: 'center', justifyContent: 'center' }; const position_style: CSSObject = { position: 'fixed', top: 0, left: 0, right: 0 }; const size_style: CSSObject = { width: '100%', height: 80, minHeight: 80, maxHeight: 80, transition: 'all 0.2s ease-in-out', [MQ[2]]: { height: 60, minHeight: 60, maxHeight: 60, }, }; const padding_style: CSSObject = { paddingTop: 'env(safe-area-inset-top)', paddingRight: 'env(safe-area-inset-right)', paddingLeft: 'env(safe-area-inset-left)', }; const noShow_style: CSSObject = { width: '0px', height: '0px', clip: 'rect(0 0 0 0)', clipPath: 'inset(50%)', position: 'absolute', overflow: 'hidden', whiteSpace: 'nowrap', };