Cooki - korekta mail
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useState } from "preact/hooks";
|
||||
// import "../styles/cookie.css";
|
||||
import Markdown from "./Markdown.jsx";
|
||||
|
||||
export default function Cookie({ config }) {
|
||||
const [visible, setVisible] = useState(false);
|
||||
@@ -29,13 +29,7 @@ export default function Cookie({ config }) {
|
||||
>
|
||||
<div class="f-cookie-panel-inner">
|
||||
|
||||
<p class="f-cookie-text">
|
||||
{config.text.message}
|
||||
<a href={config.links.privacy} rel="noopener noreferrer">
|
||||
{config.text.more}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<Markdown text={config.text.message} />
|
||||
<div class="flex gap-3 shrink-0">
|
||||
<button onClick={() => handle("accepted")} class="f-cookie-accept">
|
||||
{config.text.accept}
|
||||
|
||||
Reference in New Issue
Block a user