Commit 58c84ea4 by PLN (Algolia)

chore: Finetune landing

parent e076471b
...@@ -38,7 +38,7 @@ export default function Home({ posts, talks }) { ...@@ -38,7 +38,7 @@ export default function Home({ posts, talks }) {
<h3> <h3>
code into <em>solutions to human problems</em> code into <em>solutions to human problems</em>
</h3><br /> </h3><br />
<p className="description"> <div className="description">
At <a href="https://algolia.com">Algolia</a>, I've crafted tools that help you{" "} At <a href="https://algolia.com">Algolia</a>, I've crafted tools that help you{" "}
<HoverTooltip <HoverTooltip
content={ content={
...@@ -99,7 +99,8 @@ export default function Home({ posts, talks }) { ...@@ -99,7 +99,8 @@ export default function Home({ posts, talks }) {
> >
show them your world show them your world
</HoverTooltip>.<br /> </HoverTooltip>.<br />
Nowadays, I create GenAI tools for{" "} <div className="divider" />
Nowadays, I create GenAI tools for builders of{" "}
<HoverTooltip <HoverTooltip
content="Blending state-of-the-art LLMs with a distributed search engine to create a new kind of content discovery experiences." content="Blending state-of-the-art LLMs with a distributed search engine to create a new kind of content discovery experiences."
links={[ links={[
...@@ -109,10 +110,10 @@ export default function Home({ posts, talks }) { ...@@ -109,10 +110,10 @@ export default function Home({ posts, talks }) {
} }
]} ]}
> >
builders of generative experiences generative experiences
</HoverTooltip><br />{" "} </HoverTooltip><br />{" "}
that blend the best of search and language understanding. blending search engines and language models together.
</p> </div>
</section> </section>
<section className={`${utilStyles.headingMd} ${utilStyles.padding1px}`}> <section className={`${utilStyles.headingMd} ${utilStyles.padding1px}`}>
<Link href="/parvagues/" className={utilStyles.sectionLink}> <Link href="/parvagues/" className={utilStyles.sectionLink}>
......
...@@ -39,9 +39,9 @@ export default function Poems({ poems }) { ...@@ -39,9 +39,9 @@ export default function Poems({ poems }) {
const search = searchTerm.toLowerCase(); const search = searchTerm.toLowerCase();
const titleMatch = p.title?.toLowerCase().includes(search); const titleMatch = p.title?.toLowerCase().includes(search);
const contentMatch = p.contentHtml?.toLowerCase().includes(search); const tagsMatch = p.tags?.some(tag => tag.toLowerCase().includes(search));
return titleMatch || contentMatch; return titleMatch || tagsMatch;
}); });
// Sort filtered poems // Sort filtered poems
...@@ -78,7 +78,7 @@ export default function Poems({ poems }) { ...@@ -78,7 +78,7 @@ export default function Poems({ poems }) {
<input <input
type="text" type="text"
className={utilStyles.searchBar} className={utilStyles.searchBar}
placeholder="Search poems by title or content..." placeholder="Title or tag(s) "
value={searchTerm} value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)} onChange={(e) => setSearchTerm(e.target.value)}
aria-label="Search poems" aria-label="Search poems"
......
...@@ -88,4 +88,10 @@ h1 a, h2 a, h3 a, h4 a, h5 a { ...@@ -88,4 +88,10 @@ h1 a, h2 a, h3 a, h4 a, h5 a {
.description { .description {
font-size: 1.2rem; font-size: 1.2rem;
line-height: 2.5; line-height: 2.5;
}
.divider {
margin: 1.5em 0 0.75em 0;
height: 1px;
background-color: #e0e0e0;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment