Skip to content

Commit 48db697

Browse files
committedMar 2, 2025·
fix(header): update search link
1 parent 64c433e commit 48db697

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed
 

‎_includes/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3 class="project-tagline">{{ page.description | default: site.description | de
1414
{% include theme-icons.html %}
1515
</button>
1616

17-
<button id="searchHeader" class="icon-button" aria-label="Search" onclick="window.location.href='/chat-en'">
17+
<button id="searchHeader" class="icon-button" aria-label="Search" onclick="window.location.href='/search-en'">
1818
{% include search-icons.html %}
1919
</button>
2020

‎original/2025-01-14-search-en.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,16 @@ layout: post
66
title: Search
77
---
88

9-
You can use Google's Programmable Search Engine to search my blog.
9+
You can use Google's Agent Builder AI Search to search my blog.
1010

11-
<script async src="https://cse.google.com/cse.js?cx=e25f13ef1eb21450f">
12-
</script>
13-
<div class="gcse-search"></div>
11+
<!-- Widget JavaScript bundle -->
12+
<script src="https://cloud.google.com/ai/gen-app-builder/client?hl=en_US"></script>
1413

14+
<!-- Search widget element is not visible by default -->
15+
<gen-search-widget
16+
configId="e6c8dfcb-5174-4279-8250-e64cf0a4d032"
17+
triggerId="searchWidgetTrigger">
18+
</gen-search-widget>
19+
20+
<!-- Element that opens the widget on click. It does not have to be an input -->
21+
<input placeholder="Search here" id="searchWidgetTrigger" />

0 commit comments

Comments
 (0)
Please sign in to comment.