feat: add knowledge base page

This commit is contained in:
Junyan Qin
2025-06-27 22:18:48 +08:00
parent 0733f8878f
commit 22ef1a399e
3 changed files with 52 additions and 20 deletions
@@ -0,0 +1,15 @@
.configPageContainer {
width: 100%;
height: 100%;
}
.knowledgeListContainer {
width: 100%;
padding-left: 0.8rem;
padding-right: 0.8rem;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
gap: 2rem;
justify-items: stretch;
align-items: start;
}
+18 -1
View File
@@ -1,5 +1,22 @@
'use client';
import CreateCardComponent from '@/app/infra/basic-component/create-card-component/CreateCardComponent';
import styles from './knowledgeBase.module.css';
export default function KnowledgePage() {
return <div>KnowledgePage</div>;
return (
<div>
<div className={styles.knowledgeListContainer}>
<CreateCardComponent
width={'100%'}
height={'10rem'}
plusSize={'90px'}
onClick={() => {
// setIsEditForm(false);
// setModalOpen(true);
}}
/>
</div>
</div>
);
}