From 7db2eda76cf51fd631d385c12a7b411339406067 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 23 Jul 2023 00:27:41 +0000
Subject: [PATCH] run prettier
---
quartz/components/Search.tsx | 50 ++++++++++++++++++++++++++++++++------------------
1 files changed, 32 insertions(+), 18 deletions(-)
diff --git a/quartz/components/Search.tsx b/quartz/components/Search.tsx
index f8dd804..bd9aa69 100644
--- a/quartz/components/Search.tsx
+++ b/quartz/components/Search.tsx
@@ -5,27 +5,41 @@
export default (() => {
function Search() {
- return <div class="search">
- <div id="search-icon">
- <p>Search</p>
- <div></div>
- <svg tabIndex={0} aria-labelledby="title desc" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.9 19.7">
- <title id="title">Search</title>
- <desc id="desc">Search</desc>
- <g class="search-path" fill="none">
- <path stroke-linecap="square" d="M18.5 18.3l-5.4-5.4" />
- <circle cx="8" cy="8" r="7" />
- </g>
- </svg>
- </div>
- <div id="search-container">
- <div id="search-space">
- <input autocomplete="off" id="search-bar" name="search" type="text" aria-label="Search for something" placeholder="Search for something" />
- <div id="results-container">
+ return (
+ <div class="search">
+ <div id="search-icon">
+ <p>Search</p>
+ <div></div>
+ <svg
+ tabIndex={0}
+ aria-labelledby="title desc"
+ role="img"
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 19.9 19.7"
+ >
+ <title id="title">Search</title>
+ <desc id="desc">Search</desc>
+ <g class="search-path" fill="none">
+ <path stroke-linecap="square" d="M18.5 18.3l-5.4-5.4" />
+ <circle cx="8" cy="8" r="7" />
+ </g>
+ </svg>
+ </div>
+ <div id="search-container">
+ <div id="search-space">
+ <input
+ autocomplete="off"
+ id="search-bar"
+ name="search"
+ type="text"
+ aria-label="Search for something"
+ placeholder="Search for something"
+ />
+ <div id="results-container"></div>
</div>
</div>
</div>
- </div>
+ )
}
Search.afterDOMLoaded = script
--
Gitblit v1.10.0