Skip to content

Commit

Permalink
Remove Search Icon and Date on index page
Browse files Browse the repository at this point in the history
  • Loading branch information
VVoruganti committed Dec 14, 2023
1 parent e7b1cec commit 8601d17
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion quartz/components/ContentMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import readingTime from "reading-time"
export default (() => {
function ContentMetadata({ cfg, fileData, displayClass }: QuartzComponentProps) {
const text = fileData.text
if (text) {
if (text && fileData.frontmatter.title != "Home") {
const segments: string[] = []
const { text: timeTaken, words: _words } = readingTime(text)

Expand Down
28 changes: 14 additions & 14 deletions quartz/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ export default (() => {
<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>
{/* <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">
Expand Down

0 comments on commit 8601d17

Please sign in to comment.