♻️ (display) change name

This commit is contained in:
Julien Calixte
2023-07-18 22:35:05 +02:00
parent c2db92042f
commit 64eaf8dfd8
2 changed files with 5 additions and 2 deletions

View File

@@ -15,6 +15,9 @@
<link rel="icon" href="people-improvement.svg" /> <link rel="icon" href="people-improvement.svg" />
<link rel="mask-icon" href="people-improvement.svg" color="#ffffff" /> <link rel="mask-icon" href="people-improvement.svg" color="#ffffff" />
</head> </head>
<!--
Why not adding some animation? And random problems to simulate and see what we are our options.
-->
<body> <body>
<main> <main>
<ul> <ul>

View File

@@ -1,12 +1,12 @@
type TPSSearchParams = { type TPSSearchParams = {
display?: "pure" | "full" display?: "house-only" | "full"
} }
const params = new URL(document.location.href).searchParams const params = new URL(document.location.href).searchParams
const display = params.get("display") const display = params.get("display")
if (display === "pure") { if (display === "house-only") {
document.querySelector("header")?.remove() document.querySelector("header")?.remove()
} }