diff --git a/src/app/content/views/Header/index.tsx b/src/app/content/views/Header/index.tsx
index efc877d..54970f4 100644
--- a/src/app/content/views/Header/index.tsx
+++ b/src/app/content/views/Header/index.tsx
@@ -3,15 +3,15 @@ import { Globe2Icon } from 'lucide-react'
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/Avatar'
import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/components/ui/HoverCard'
import { Button } from '@/components/ui/Button'
-import { getWebSiteInfo } from '@/utils'
+import { getSiteInfo } from '@/utils'
const Header: FC = () => {
- const websiteInfo = getWebSiteInfo()
+ const siteInfo = getSiteInfo()
return (
-
+
@@ -20,22 +20,22 @@ const Header: FC = () => {
-
+
-
{websiteInfo.title}
- {websiteInfo.description && (
-
{websiteInfo.description}
+
{siteInfo.title}
+ {siteInfo.description && (
+
{siteInfo.description}
)}
diff --git a/src/utils/getWebSiteInfo.ts b/src/utils/getSiteInfo.ts
similarity index 91%
rename from src/utils/getWebSiteInfo.ts
rename to src/utils/getSiteInfo.ts
index 0d0d5c3..baa6c68 100644
--- a/src/utils/getWebSiteInfo.ts
+++ b/src/utils/getSiteInfo.ts
@@ -1,4 +1,4 @@
-export interface WebSiteInfo {
+export interface SiteInfo {
host: string
hostname: string
href: string
@@ -8,7 +8,7 @@ export interface WebSiteInfo {
description: string
}
-const getWebSiteInfo = (): WebSiteInfo => {
+const getSiteInfo = (): SiteInfo => {
return {
host: document.location.host,
hostname: document.location.hostname,
@@ -31,4 +31,4 @@ const getWebSiteInfo = (): WebSiteInfo => {
}
}
-export default getWebSiteInfo
+export default getSiteInfo
diff --git a/src/utils/index.ts b/src/utils/index.ts
index d5562a6..d9f9ded 100644
--- a/src/utils/index.ts
+++ b/src/utils/index.ts
@@ -2,6 +2,6 @@ export { default as cn } from './cn'
export { default as isInRange } from './isInRange'
export { default as clamp } from './clamp'
export { default as createElement } from './createElement'
-export { default as getWebSiteInfo } from './getWebSiteInfo'
+export { default as getSiteInfo } from './getSiteInfo'
export { default as chunk } from './chunk'
export { default as compressImage } from './compressImage'