12345678910111213141516171819202122232425262728293031323334353637383940 |
- import { ModelSvg } from '@/components/icons';
- import Icon, {
- AppstoreOutlined,
- BuildOutlined,
- ConsoleSqlOutlined,
- ForkOutlined,
- MessageOutlined,
- PartitionOutlined,
- } from '@ant-design/icons';
- import { ConfigProvider } from 'antd';
- import { t } from 'i18next';
- import { useRouter } from 'next/router';
- import React from 'react';
- import './style.css';
- function ConstructLayout({ children }: { children: React.ReactNode }) {
-
- return (
- <div className='flex flex-col h-full w-full dark:bg-gradient-dark bg-gradient-light bg-cover bg-center'>
- <div></div>
- <ConfigProvider
- theme={{
- components: {
- Button: {
- // defaultBorderColor: 'white',
- },
- Segmented: {
- itemSelectedBg: '#2867f5',
- itemSelectedColor: 'white',
- },
- },
- }}
- >
- {children}
- </ConfigProvider>
- </div>
- );
- }
- export default ConstructLayout;
|