Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/demo/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const ProDemo = () => {
return (
<FixTabPanel>
<OrbitingCirclesDemo />
<ScriptView showMultiplePackageOptions={true} codeLanguage="shell" commandMap={customCommandMap} />
<ScriptView showMultiplePackageOptions codeLanguage="shell" commandMap={customCommandMap} />
{/* <section style={{ height: 240, overflow: 'hidden', margin: 20 }}>
<AnimatedList>
{Array.from({ length: 10 }, () => ({
Expand Down
14 changes: 7 additions & 7 deletions src/pages/home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ const Home = () => {
className="text-gray-500"
waitTime={1500}
deleteSpeed={40}
cursorChar={'_'}
cursorChar="_"
/>
</section>
<section style={{ margin: '20px 0', fontSize: 20 }}>
Expand Down Expand Up @@ -521,16 +521,16 @@ const Home = () => {
dur="3s"
calcMode="linear"
repeatCount="indefinite"
></animate>
/>
</path>
</svg>
<div className={styles.itemCircleTail} />
</section>

<svg width="100%" height="100%" viewBox="0 0 620 445" fill="none" xmlns="http://www.w3.org/2000/svg">
<linearGradient id="paint0_linear" x1="277" y1="0" x2="277" y2="202" gradientUnits="userSpaceOnUse">
<stop stop-color="#FF7383"></stop>
<stop offset="1" stop-color="#2F48EA"></stop>
<stop stop-color="#FF7383" />
<stop offset="1" stop-color="#2F48EA" />
</linearGradient>
<rect
x="3"
Expand All @@ -542,14 +542,14 @@ const Home = () => {
stroke-linecap="round"
stroke-dasharray="31 31"
rx="25"
></rect>
/>
<animate
attributeName="stroke-dashoffset"
values="370;0"
dur="3s"
calcMode="linear"
repeatCount="indefinite"
></animate>
/>
</svg>
</section>
<section className={styles.line} />
Expand Down Expand Up @@ -677,7 +677,7 @@ const Home = () => {
<AnimateOnScreen.DiyAnimation
from={{ opacity: 0, transform: 'translate(-100%, 0)' }}
to={{ opacity: 1, transform: 'translate(0, 0)' }}
triggerOnce={true}
triggerOnce
>
<Zoom>
<img src={HePng} alt="" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/layout/proSecNav/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const ProSecNav = () => {
useEffect(() => {
const selectedPathKey = pathname
setSelectedKeys([selectedPathKey])
setOpenKeys(isOpenChange ? openKeys : (pathSubmenu[pathname] ?? openKeys))
setOpenKeys(isOpenChange ? openKeys : pathSubmenu[pathname] ?? openKeys)
}, [pathname, openKeys, isOpenChange])

const onOpenChange = (keys) => {
Expand Down
Loading