From 5c6bc37019954b2c0fedda488856d018c61f2b20 Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Mon, 23 Sep 2024 09:26:04 +0200 Subject: [PATCH] upd --- jtl_patch_1 | 37 +++++++++++++++++++++++++++++++++++++ src/index.js | 20 -------------------- 2 files changed, 37 insertions(+), 20 deletions(-) create mode 100644 jtl_patch_1 diff --git a/jtl_patch_1 b/jtl_patch_1 new file mode 100644 index 0000000..e52a4ab --- /dev/null +++ b/jtl_patch_1 @@ -0,0 +1,37 @@ +--- header_nav_search.tpl 2024-09-05 21:21:55.613968192 +0200 ++++ header_nav_search.tpl_ 2024-09-23 08:20:50.345457355 +0200 +@@ -1,32 +1,18 @@ + {block name='layout-header-nav-search'} + {block name='layout-header-nav-search-search'} + <{$tag|default:'div'} class="nav-item" id="search"> +-
+-
+-
+- {inputgroup} +- {input id="search-header" name="qs" type="text" class="ac_input" placeholder="{lang key='search'}" autocomplete="off" aria=["label"=>"{lang key='search'}"]} +- {inputgroupaddon append=true} +- {button type="submit" variant="secondary" aria=["label"=>{lang key='search'}]}{/button} +- {/inputgroupaddon} +- +- {/inputgroup} +-
+-
+-
+ + {/block} + {block name='layout-header-nav-search-search-dropdown'} ++ + {if $Einstellungen.template.header.mobile_search_type === 'dropdown'} + {navitemdropdown tag='div' class='search-wrapper-dropdown d-block d-lg-none' + text='' + right=true + no-caret=true + router-aria=['label'=>{lang key='findProduct'}]} +- + {/navitemdropdown} + {/if} + {/block} diff --git a/src/index.js b/src/index.js index e0cecb4..5f0b76d 100644 --- a/src/index.js +++ b/src/index.js @@ -1,8 +1,4 @@ import * as ReactDOM from "react-dom/client"; -import "@fontsource/source-sans-pro/300.css"; -import "@fontsource/source-sans-pro/400.css"; -import "@fontsource/source-sans-pro/600.css"; -import "@fontsource/source-sans-pro/700.css"; import CssBaseline from "@mui/material/CssBaseline"; import { ThemeProvider, createTheme } from "@mui/material/styles"; @@ -15,18 +11,6 @@ function App() { } const theme = createTheme({ -/* palette: { - background: { - default: "#c5cbe3;" - } - },*/ - typography: { - fontFamily: "Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif", - fontWeightBold: 700, - fontWeightMedium: 600, - fontWeightRegular: 400, - fontWeightLight: 300 - }, components: { MuiTableCell: { styleOverrides: { @@ -64,12 +48,8 @@ function waitForElm(selector) { } waitForElm('#react_insert').then((elm) => { - console.log('Element is ready'); const root = ReactDOM.createRoot(elm); root.render( - //var appDiv = document.createElement("div"); - //document.body.appendChild(appDiv); - //ReactDOM.createRoot(appDiv).render(