Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sdream-ai-fe
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
侯明涛
sdream-ai-fe
Commits
ca14fee6
Commit
ca14fee6
authored
Jan 08, 2025
by
HoMeTown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复bug
parent
613c282d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
3 deletions
+47
-3
src/components/JoyrideStep/BeaconComponent.module.less
+19
-0
src/components/JoyrideStep/BeaconComponent.module.less.d.ts
+8
-0
src/components/JoyrideStep/BeaconComponent.tsx
+17
-0
src/components/MarkdownDetail/index.tsx
+1
-1
src/components/TypewriterEffect/index.tsx
+1
-1
src/config/theme.ts
+1
-1
No files found.
src/components/JoyrideStep/BeaconComponent.module.less
0 → 100644
View file @
ca14fee6
.beaconComponent {
animation: pulse 1s ease-in-out infinite;
background: linear-gradient(to right, #18CCFC, #6344F5, #AE48FF);
border-radius: 50%;
display: inline-block;
height: 0.8rem;
width: 0.8rem;
}
@keyframes pulse {
0% {
transform: scale(1);
}
55% {
background: linear-gradient(to right, #18CCFC, #6344F5, #AE48FF);
transform: scale(1.2);
}
}
src/components/JoyrideStep/BeaconComponent.module.less.d.ts
0 → 100644
View file @
ca14fee6
// This file is automatically generated.
// Please do not change this file!
interface
CssExports
{
beaconComponent
:
string
pulse
:
string
}
declare
const
cssExports
:
CssExports
export
default
cssExports
src/components/JoyrideStep/BeaconComponent.tsx
0 → 100644
View file @
ca14fee6
import
{
motion
}
from
'framer-motion'
import
{
forwardRef
}
from
'react'
import
type
{
BeaconRenderProps
}
from
'react-joyride'
import
style
from
'./BeaconComponent.module.less'
const
BeaconComponent
=
forwardRef
<
HTMLButtonElement
,
BeaconRenderProps
>
((
props
,
ref
:
any
)
=>
{
return
(
<
motion
.
div
className=
{
style
.
beaconComponent
}
ref=
{
ref
}
{
...
props
}
>
</
motion
.
div
>
)
})
export
default
BeaconComponent
src/components/MarkdownDetail/index.tsx
View file @
ca14fee6
...
...
@@ -14,7 +14,7 @@ export const MarkdownDetail: React.FC<MarkdownDetailProps> = ({ children }) => {
<
ReactMarkdown
rehypePlugins=
{
[
rehypeRaw
,
rehypeSanitize
]
}
remarkPlugins=
{
[
remarkGfm
]
}
className=
"markdown-body flex flex-col gap-[12px] text-[#27353C] text-[15px]"
className=
"markdown-body
!bg-[#fff]
flex flex-col gap-[12px] text-[#27353C] text-[15px]"
components=
{
{
img
:
({
...
data
}):
JSX
.
Element
=>
(
<
PhotoProvider
maskOpacity=
{
0.1
}
bannerVisible=
{
false
}
>
...
...
src/components/TypewriterEffect/index.tsx
View file @
ca14fee6
...
...
@@ -57,7 +57,7 @@ export default function TypewriterEffect({
initial=
{
{}
}
key=
{
`char-${index}`
}
className=
{
cn
(
`
dark:text-white
text-black opacity-0 hidden`
,
`text-black opacity-0 hidden`
,
className
,
word
.
className
,
)
}
...
...
src/config/theme.ts
View file @
ca14fee6
...
...
@@ -13,7 +13,7 @@ export const theme: NextUIPluginConfig = {
},
dark
:
{
colors
:
{
background
:
'#
000000
'
,
// or DEFAULT
background
:
'#
E6F6FE
'
,
// or DEFAULT
primary
:
{
DEFAULT
:
'#29B6FD'
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment