Poprawki w stylach oraz zmienne środowiskowe dla smtp
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useState } from "preact/hooks";
|
||||
import "../styles/cookie.css";
|
||||
// import "../styles/cookie.css";
|
||||
|
||||
export default function Cookie({ config }) {
|
||||
const [visible, setVisible] = useState(false);
|
||||
@@ -27,20 +27,20 @@ export default function Cookie({ config }) {
|
||||
transform: visible ? "translateY(0)" : "translateY(100%)",
|
||||
}}
|
||||
>
|
||||
<div class="cookie-panel-inner max-w-4xl mx-auto flex flex-col md:flex-row items-start md:items-center justify-between gap-4">
|
||||
<div class="f-cookie-panel-inner">
|
||||
|
||||
<p class="text-sm leading-snug">
|
||||
<p class="f-cookie-text">
|
||||
{config.text.message}
|
||||
<a href={config.links.privacy} class="cookie-privacy-link ml-1">
|
||||
<a href={config.links.privacy} class="f-cookie-privacy-link" rel="noopener noreferrer">
|
||||
{config.text.more}
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<div class="flex gap-3 shrink-0">
|
||||
<button onClick={() => handle("accepted")} class="cookie-accept">
|
||||
<button onClick={() => handle("accepted")} class="f-cookie-accept">
|
||||
{config.text.accept}
|
||||
</button>
|
||||
<button onClick={() => handle("rejected")} class="cookie-reject">
|
||||
<button onClick={() => handle("rejected")} class="f-cookie-reject">
|
||||
{config.text.reject}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user