Add apple favicon, load favicons for each web app page from assets folder

This commit is contained in:
Debanjum Singh Solanky
2024-08-10 15:53:51 +05:30
parent a7623e64fa
commit fc411091c8
9 changed files with 15 additions and 8 deletions

View File

@@ -8,7 +8,8 @@ export const metadata: Metadata = {
title: "Khoj AI - Agents", title: "Khoj AI - Agents",
description: "Find a specialized agent that can help you address more specific needs.", description: "Find a specialized agent that can help you address more specific needs.",
icons: { icons: {
icon: "/static/favicon.ico", icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
}, },
}; };

View File

@@ -7,7 +7,8 @@ export const metadata: Metadata = {
title: "Khoj AI - Automations", title: "Khoj AI - Automations",
description: "Use Autoomations with Khoj to simplify the process of running repetitive tasks.", description: "Use Autoomations with Khoj to simplify the process of running repetitive tasks.",
icons: { icons: {
icon: "/static/favicon.ico", icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
}, },
}; };

View File

@@ -9,7 +9,8 @@ export const metadata: Metadata = {
description: description:
"Ask anything. Khoj will use the internet and your docs to answer, paint and even automate stuff for you.", "Ask anything. Khoj will use the internet and your docs to answer, paint and even automate stuff for you.",
icons: { icons: {
icon: "/static/favicon.ico", icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
}, },
}; };

View File

@@ -5,7 +5,8 @@ export const metadata: Metadata = {
description: description:
"Use the Fact Checker with Khoj AI for verifying statements. It can research the internet for you, either refuting or confirming the statement using fresh data.", "Use the Fact Checker with Khoj AI for verifying statements. It can research the internet for you, either refuting or confirming the statement using fresh data.",
icons: { icons: {
icon: "/static/favicon.ico", icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
}, },
}; };

View File

@@ -8,7 +8,8 @@ export const metadata: Metadata = {
title: "Khoj AI - Home", title: "Khoj AI - Home",
description: "Your Second Brain.", description: "Your Second Brain.",
icons: { icons: {
icon: "/static/favicon.ico", icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
}, },
manifest: "/static/khoj.webmanifest", manifest: "/static/khoj.webmanifest",
}; };

View File

@@ -6,7 +6,7 @@ import "katex/dist/katex.min.css";
import React, { useEffect, useState } from "react"; import React, { useEffect, useState } from "react";
import useSWR from "swr"; import useSWR from "swr";
import Image from "next/image"; import Image from "next/image";
import { ArrowCounterClockwise, ClockCounterClockwise } from "@phosphor-icons/react"; import { ArrowCounterClockwise } from "@phosphor-icons/react";
import { Card, CardTitle } from "@/components/ui/card"; import { Card, CardTitle } from "@/components/ui/card";
import SuggestionCard from "@/app/components/suggestions/suggestionCard"; import SuggestionCard from "@/app/components/suggestions/suggestionCard";

View File

@@ -7,7 +7,8 @@ export const metadata: Metadata = {
description: description:
"Find anything in documents you've shared with Khoj using natural language queries.", "Find anything in documents you've shared with Khoj using natural language queries.",
icons: { icons: {
icon: "/static/favicon.ico", icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
}, },
}; };

View File

@@ -9,7 +9,8 @@ export const metadata: Metadata = {
title: "Khoj AI - Settings", title: "Khoj AI - Settings",
description: "Configure Khoj to get personalized, deeper assistance.", description: "Configure Khoj to get personalized, deeper assistance.",
icons: { icons: {
icon: "/static/favicon.ico", icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
}, },
}; };

View File

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 170 KiB