feat: banner placeholder

This commit is contained in:
Joel 2025-10-11 15:07:03 +08:00
parent 781a9a56cd
commit 9e66564526
2 changed files with 16 additions and 0 deletions

View File

@ -22,6 +22,7 @@ import {
} from '@/models/app'
import { useImportDSL } from '@/hooks/use-import-dsl'
import DSLConfirmModal from '@/app/components/app/create-from-dsl-modal/dsl-confirm-modal'
import Banner from '../banner'
type AppsProps = {
onSuccess?: () => void
@ -143,6 +144,9 @@ const Apps = ({
<div className={cn(
'flex h-full flex-col border-l-[0.5px] border-divider-regular',
)}>
<div className='mt-4 px-12'>
<Banner />
</div>
<div className={cn(
'mt-6 flex items-center justify-between px-12',
)}>

View File

@ -0,0 +1,12 @@
'use client'
import type { FC } from 'react'
import React from 'react'
const Banner: FC = () => {
return (
<div className='h-[184px] rounded-2xl bg-components-panel-on-panel-item-bg shadow-md'>
Banner placeholder
</div>
)
}
export default React.memo(Banner)