File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ <h3 class="translateProject2"></h3>
167167 </ div >
168168 </ div >
169169
170- < div class ="projekt ">
170+ < div class ="projekt " id =" nvsProject " hidden >
171171 < h3 class ="translateProject3 "> </ h3 >
172172 < img width ="100% " src ="./img/nvs.webp " />
173173 < p > < span > React</ span > < span > TailwindCSS</ span > </ p >
Original file line number Diff line number Diff line change @@ -44,6 +44,19 @@ async function setLanguage(language) {
4444 } ) ;
4545 } ) ;
4646}
47+ const parameters = new URL ( window . location . href ) . searchParams ;
48+ const entries = new URLSearchParams ( parameters ) . entries ( ) ;
49+ const entriesArray = Array . from ( entries ) ;
50+
51+ entriesArray . forEach ( ( entry ) => {
52+ let key = entry [ 0 ] ;
53+
54+ if ( key == "nvs" ) {
55+ document . getElementById ( "nvsProject" ) . removeAttribute ( "hidden" ) ;
56+ }
57+ } ) ;
58+
59+ //HA-Modal
4760
4861// const ha = document.getElementById("ha");
4962// if (localStorage.getItem("openHA") == null) {
You can’t perform that action at this time.
0 commit comments