rolled back btn
This commit is contained in:
parent
0540dd89a0
commit
15ce70b404
|
@ -3,8 +3,9 @@ import baseStyle from "./styles/footer.scss"
|
|||
import { useEffect, useState } from "preact/hooks"
|
||||
|
||||
// Import the JSON data
|
||||
import buttonsData from "./buttons.json"
|
||||
import buttonsData from "../buttons.json"
|
||||
|
||||
export default (() => {
|
||||
// Define the component
|
||||
const Btn8831: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
|
||||
// Since the data is static, you can directly use buttonsData
|
||||
|
@ -35,8 +36,6 @@ const customStyle = `
|
|||
flex-wrap: wrap;
|
||||
max-width: 60%;
|
||||
margin: 0 auto;
|
||||
opacity: 1;
|
||||
justify-content: center;
|
||||
}
|
||||
.btn8831-container a {
|
||||
margin: 5px;
|
||||
|
@ -48,7 +47,7 @@ const customStyle = `
|
|||
`
|
||||
|
||||
// Combine base styles with custom styles
|
||||
Btn8831.css = customStyle
|
||||
Btn8831.css = baseStyle + customStyle
|
||||
|
||||
|
||||
export default (() => Btn8831) satisfies QuartzComponentConstructor
|
||||
return Btn8831
|
||||
})() satisfies QuartzComponentConstructor
|
||||
|
|
Loading…
Reference in a new issue