Skip to content

Commit

Permalink
Add favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
warioddly committed May 6, 2024
1 parent 63ea00e commit af01b89
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .idea/heritage.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a project that shows the family tree of the [Kyrgyz](https://ru.wikipedia.org/wiki/%D0%9A%D0%B8%D1%80%D0%B3%D0%B8%D0%B7%D1%8B) people. And you can see yourself and search for yourself (if you are Kyrgyz, of course) in the tree.

![logo.jpg](public/logo.jpg)
![logo.jpg](public/images/logo/logo.jpg)

## How to contribute

Expand Down
Binary file added public/images/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/icons/favicon.ico
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 0 additions & 1 deletion public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/vercel.svg

This file was deleted.

Binary file removed src/app/favicon.ico
Binary file not shown.
16 changes: 15 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,26 @@ import { Inter } from "next/font/google";
import "./globals.css";
import {Header} from "@/components/layouts/Header";
import {ReactNode} from "react";
import {authors} from "@/core/data/authors";

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
applicationName: "Heritage",
title: "Heritage Tree",
description: "Hello Everyone!",
description: "The family tree of the Kyrgyz people (Генеалогическое древо кыргызов)🌳",
authors: authors,
keywords: ["Heritage Tree", "Heritage", "Tree", "Kyrgyzstan", "Kyrgyz", "Kyrgyz Heritage", "Kyrgyz Family Tree", "Kyrgyzstan Heritage", "Kyrgyzstan Tree"],
icons: [
{
rel: "icon",
url: "/images/icons/favicon.ico",
},
{
rel: "apple-touch-icon",
url: "/images/icons/apple-touch-icon.png",
},
],
};

export default function RootLayout({
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function Header() {
href="/"
rel="noreferrer"
>
<Image src="/logo-rounded.jpg" alt="logo" width={35} height={35} />
<Image src="/images/logo/logo-rounded.jpg" alt="logo" width={35} height={35} />
<span className="ml-2 hidden md:block">Heritage</span>
</a>
</h1>
Expand Down
12 changes: 12 additions & 0 deletions src/core/data/authors.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import {Author} from "next/dist/lib/metadata/types/metadata-types";

export const authors: Author[] = [
{
"name": "Imankadyr Bekeev",
"url": "https://linkedin.com/in/warioddly",
},
{
"name": "warioddly",
"url": "https://github.com/warioddly",
}
];

0 comments on commit af01b89

Please sign in to comment.