Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
fix: seo + assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ko22009 committed Oct 24, 2023
1 parent fcd3b28 commit 2d27e61
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
13 changes: 10 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
<!doctype html>
<html lang="en">
<html lang="ru">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<meta name="theme-color" content="#F5F5F5" />
<meta name="description" content="Сервис для поиска IT-проектов" />
<meta
name="keywords"
content="IT-проекты, поиск проектов, найти проект, начинающий специалист"
/>
<meta name="author" content="Sapphire" />
<meta name="robots" content="index, follow" />
<title>Найди IT-проект | Sapphire</title>
</head>
<body>
<body background="#F5F5F5">
<div id="root"></div>
<script type="module" src="/src/app/index.tsx"></script>
</body>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
8 changes: 4 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ export default defineConfig({
globPatterns: ['**/*.{js,css,html,woff,woff2,svg}'],
navigateFallbackDenylist: [/^\/backend/],
},
includeAssets: ['favicon.svg'],
includeAssets: ['/assets/favicon.svg'],
manifest: {
theme_color: '#f5f5f5',
background_color: '#f5f5f5',
icons: [
{
src: './favicon-base.svg',
src: '/assets/favicon-base.svg',
sizes: '64x64 32x32 24x24 16x16 192x192',
type: 'image/svg+xml',
},
{
purpose: 'maskable',
sizes: '512x512',
src: './icon512_maskable.png',
src: '/assets/icon512_maskable.png',
type: 'image/png',
},
{
purpose: 'any',
sizes: '512x512',
src: './icon512_rounded.png',
src: '/assets/icon512_rounded.png',
type: 'image/png',
},
],
Expand Down

0 comments on commit 2d27e61

Please sign in to comment.