Fix missing space + hide page from sidebar
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -12,7 +12,6 @@
|
|||||||
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
// PERFORMANCE OF THIS SOFTWARE.
|
// PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
import { CookieIcon } from "@phosphor-icons/react";
|
|
||||||
import { useTranslate } from "@probo/i18n";
|
import { useTranslate } from "@probo/i18n";
|
||||||
import {
|
import {
|
||||||
IconBank,
|
IconBank,
|
||||||
@@ -220,13 +219,13 @@ export function Sidebar(props: { fKey: SidebarFragment$key }) {
|
|||||||
to={`${prefix}/compliance-page`}
|
to={`${prefix}/compliance-page`}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{organization.canListCookieBanners && (
|
{/* {organization.canListCookieBanners && (
|
||||||
<SidebarItem
|
<SidebarItem
|
||||||
label={__("Cookie Banners")}
|
label={__("Cookie Banners")}
|
||||||
icon={CookieIcon}
|
icon={CookieIcon}
|
||||||
to={`${prefix}/cookie-banners`}
|
to={`${prefix}/cookie-banners`}
|
||||||
/>
|
/>
|
||||||
)}
|
)} */}
|
||||||
{organization.canUpdateOrganization && (
|
{organization.canUpdateOrganization && (
|
||||||
<SidebarItem
|
<SidebarItem
|
||||||
label={__("Settings")}
|
label={__("Settings")}
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ export default function CookieBannerSnippetPage() {
|
|||||||
|
|
||||||
<p className="text-sm text-txt-secondary">
|
<p className="text-sm text-txt-secondary">
|
||||||
{__("The same approach works for iframes, images, stylesheets, and other elements.")}
|
{__("The same approach works for iframes, images, stylesheets, and other elements.")}
|
||||||
|
{" "}
|
||||||
<a
|
<a
|
||||||
href="https://docs.getprobo.com/docs/product/cookie-banner/blocking-resources.html"
|
href="https://docs.getprobo.com/docs/product/cookie-banner/blocking-resources.html"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
Reference in New Issue
Block a user