配置站点图标
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/png" href="/src/data/icon/ittoico.png" />
|
||||||
|
<link rel="apple-touch-icon" href="/src/data/icon/ittoico.png" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>ITTOView - PMP项目管理ITTO可视化学习平台</title>
|
<title>ITTOView - PMP项目管理ITTO可视化学习平台</title>
|
||||||
<meta name="description" content="PMP认证考试ITTO可视化学习平台,帮助您高效掌握49个项目管理过程" />
|
<meta name="description" content="PMP认证考试ITTO可视化学习平台,帮助您高效掌握49个项目管理过程" />
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { Link, useLocation } from 'react-router-dom'
|
import { Link, useLocation } from 'react-router-dom'
|
||||||
import { clsx } from 'clsx'
|
import { clsx } from 'clsx'
|
||||||
import { useAppStore } from '@/stores/useAppStore'
|
import { useAppStore } from '@/stores/useAppStore'
|
||||||
|
import ittoIcon from '@/data/icon/ittoico.png'
|
||||||
import {
|
import {
|
||||||
Home,
|
Home,
|
||||||
BookOpen,
|
BookOpen,
|
||||||
@@ -56,8 +57,8 @@ export function Sidebar() {
|
|||||||
{/* Logo */}
|
{/* Logo */}
|
||||||
<div className="flex h-16 items-center justify-between px-4 border-b border-gray-200 dark:border-gray-700">
|
<div className="flex h-16 items-center justify-between px-4 border-b border-gray-200 dark:border-gray-700">
|
||||||
<Link to="/" className="flex items-center gap-3">
|
<Link to="/" className="flex items-center gap-3">
|
||||||
<div className="flex h-10 w-10 items-center justify-center rounded-lg bg-gradient-to-br from-indigo-500 to-purple-600 text-white font-bold text-lg">
|
<div className="flex h-10 w-10 items-center justify-center overflow-hidden rounded-lg bg-white shadow-sm ring-1 ring-gray-200 dark:bg-gray-900 dark:ring-gray-700">
|
||||||
IT
|
<img src={ittoIcon} alt="" className="h-full w-full object-cover" aria-hidden="true" />
|
||||||
</div>
|
</div>
|
||||||
{sidebarOpen && (
|
{sidebarOpen && (
|
||||||
<span className="text-lg font-semibold text-gray-900 dark:text-white">
|
<span className="text-lg font-semibold text-gray-900 dark:text-white">
|
||||||
|
|||||||
BIN
src/data/icon/ittoico.png
Normal file
BIN
src/data/icon/ittoico.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
src/data/icon/ittologo.png
Normal file
BIN
src/data/icon/ittologo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
1
src/vite-env.d.ts
vendored
Normal file
1
src/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/// <reference types="vite/client" />
|
||||||
Reference in New Issue
Block a user