Skip to content

Commit 481bf86

Browse files
committed
feat: delete draggle list
1 parent 17fbc22 commit 481bf86

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/pages/demo/index.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import XuePng from '@assets/images/xue.png'
1717

1818
import { Command, Cannabis, Beer, Mail } from 'lucide-react'
1919
import ScriptView from '@stateless/ScriptView'
20-
// import AnimatedList from '@stateless/AnimatedList'
20+
import AnimatedList from '@stateless/AnimatedList'
2121
import { DraggableList, DraggableItem } from '@stateless/DraggableList'
2222

2323
import styles from './index.module.less'
@@ -118,9 +118,9 @@ const ProDemo = () => {
118118

119119
return (
120120
<FixTabPanel>
121-
<OrbitingCirclesDemo />
121+
{/* <OrbitingCirclesDemo /> */}
122122
<ScriptView showMultiplePackageOptions={true} codeLanguage="shell" commandMap={customCommandMap} />
123-
{/* <section style={{ height: 240, overflow: 'hidden', margin: 20 }}>
123+
<section style={{ height: 240, overflow: 'hidden', margin: 20 }}>
124124
<AnimatedList>
125125
{Array.from({ length: 10 }, () => ({
126126
id: Math.random(),
@@ -134,10 +134,10 @@ const ProDemo = () => {
134134
</div>
135135
))}
136136
</AnimatedList>
137-
</section> */}
138-
<section className="flex items-center justify-center gap-5">
139-
<DraggableList items={items} onChange={handleReorder} className="w-[600px] max-w-md cursor-move" />
140137
</section>
138+
{/* <section className="flex items-center justify-center gap-5">
139+
<DraggableList items={items} onChange={handleReorder} className="w-[600px] max-w-md cursor-move" />
140+
</section> */}
141141
<StarBack />
142142
<StickyCard cards={[...Array.from({ length: 4 }, () => ({ id: Math.random() }))]} />
143143
<div className="relative w-full overflow-hidden bg-[#0a192f]">

src/pages/layout/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const ProLayout = () => {
1414
const layoutRef = useRef(null)
1515
return (
1616
<Layout className={styles.layout} ref={layoutRef}>
17-
{/* <PointerMove /> */}
17+
<PointerMove />
1818
<MagicTrail
1919
containerRef={layoutRef}
2020
colors={['#f59e0b', '#ec4899', '#8b5cf6', '#38bdf8', '#4ade80']}

0 commit comments

Comments
 (0)