Files
open-gsio/packages/client/src/components/toolbar/Toolbar.tsx
geoffsee bd71bfcad3 - Remove unused BevyScene and related dependencies.
- Refactor `InstallButton` and relocate it to `install/`.
- Update `Toolbar` imports to reflect the new `InstallButton` structure.
- Introduce `handleInstall` functionality for PWA installation prompt handling.
2025-07-17 14:04:47 -04:00

30 lines
674 B
TypeScript

import { Flex } from '@chakra-ui/react';
import React from 'react';
import BuiltWithButton from '../BuiltWithButton';
import InstallButton from '../install/InstallButton.tsx';
import GithubButton from './GithubButton';
import SupportThisSiteButton from './SupportThisSiteButton';
const toolbarButtonZIndex = 901;
export { toolbarButtonZIndex };
function ToolBar({ isMobile }) {
return (
<Flex
direction={isMobile ? 'row' : 'column'}
alignItems={isMobile ? 'flex-start' : 'flex-end'}
pb={4}
>
<InstallButton />
<SupportThisSiteButton />
<GithubButton />
<BuiltWithButton />
</Flex>
);
}
export default ToolBar;