mirror of
https://github.com/RedGrox2013/AloeGames-Site.git
synced 2026-07-13 23:16:58 +00:00
Добавил perplexity
This commit is contained in:
+2
-3
@@ -28,7 +28,7 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section class="hero">
|
<section class="hero">
|
||||||
<img src="images/logo.png" height="400">
|
<img src="images/logo.png" height="300">
|
||||||
<h1 id="title">We Build Worlds</h1>
|
<h1 id="title">We Build Worlds</h1>
|
||||||
<p id="desc">AloeGames is a modern game development studio focused on creating immersive, next-generation
|
<p id="desc">AloeGames is a modern game development studio focused on creating immersive, next-generation
|
||||||
experiences.</p>
|
experiences.</p>
|
||||||
@@ -37,12 +37,11 @@
|
|||||||
<select id="searchEngine" class="search-engine" aria-label="Select search engine">
|
<select id="searchEngine" class="search-engine" aria-label="Select search engine">
|
||||||
<option value="google">Google</option>
|
<option value="google">Google</option>
|
||||||
<option value="duckduckgo">DuckDuckGo</option>
|
<option value="duckduckgo">DuckDuckGo</option>
|
||||||
|
<option value="perplexity">Perplexity</option>
|
||||||
</select>
|
</select>
|
||||||
<input id="searchInput" type="search" placeholder="Search the web..." aria-label="Search query">
|
<input id="searchInput" type="search" placeholder="Search the web..." aria-label="Search query">
|
||||||
<button class="btn search-btn" type="submit">Search</button>
|
<button class="btn search-btn" type="submit">Search</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<!-- <button class="btn" id="button">Explore</button> -->
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ function searchQuery(event) {
|
|||||||
|
|
||||||
if (engine === 'duckduckgo') {
|
if (engine === 'duckduckgo') {
|
||||||
url = 'https://duckduckgo.com/?q=' + encodedQuery;
|
url = 'https://duckduckgo.com/?q=' + encodedQuery;
|
||||||
|
} else if (engine === 'perplexity') {
|
||||||
|
url = 'https://www.perplexity.ai/search?q=' + encodedQuery;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.open(url, '_blank', 'noopener');
|
window.open(url, '_blank', 'noopener');
|
||||||
|
|||||||
Reference in New Issue
Block a user