Skip to content

Commit

Permalink
chore: update site name and add meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
satnaing committed Feb 8, 2024
1 parent 72810dd commit 68df7a9
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 9 deletions.
40 changes: 38 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,45 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<link rel="icon" type="image/png" href="/images/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>

<!-- Primary Meta Tags -->
<title>Shadcn Admin</title>
<meta name="title" content="Shadcn Admin" />
<meta
name="description"
content="Admin Dashboard UI built with Shadcn and Vite."
/>

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://shadcn-admin.netlify.app" />
<meta property="og:title" content="Shadcn Admin" />
<meta
property="og:description"
content="Admin Dashboard UI built with Shadcn and Vite."
/>
<meta
property="og:image"
content="https://shadcn-admin.netlify.app/images/shadcn-admin.png"
/>

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://shadcn-admin.netlify.app" />
<meta property="twitter:title" content="Shadcn Admin" />
<meta
property="twitter:description"
content="Admin Dashboard UI built with Shadcn and Vite."
/>
<meta
property="twitter:image"
content="https://shadcn-admin.netlify.app/images/shadcn-admin.png"
/>

<meta name="theme-color" content="#fff" />
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "admin-dashboard",
"name": "shadcn-admin",
"private": true,
"version": "0.0.0",
"type": "module",
Expand Down
Binary file added public/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/images/favicon.svg
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/shadcn-admin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function Sidebar2({
<div
className={`flex flex-col justify-end truncate ${isCollapsed ? 'invisible w-0' : 'visible w-auto'}`}
>
<span className='font-medium'>Shadcn Dashboard</span>
<span className='font-medium'>Shadcn Admin</span>
<span className='text-xs'>Vite + ShadcnUI</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/auth/forgot-password.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function ForgotPassword() {
>
<path d='M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3' />
</svg>
<h1 className='text-xl font-medium'>Admin Dashboard</h1>
<h1 className='text-xl font-medium'>Shadcn Admin</h1>
</div>
<Card className='p-6'>
<div className='mb-2 flex flex-col space-y-2 text-left'>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/auth/sign-in-2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function SignIn2() {
>
<path d='M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3' />
</svg>
<h1 className='text-xl font-medium'>Admin Dashboard</h1>
<h1 className='text-xl font-medium'>Shadcn Admin</h1>
</div>
<Card className='p-6'>
<div className='flex flex-col space-y-2 text-left'>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/auth/sign-in.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ export default function SignIn() {
>
<path d='M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3' />
</svg>
Admin Dashboard
Shadcn Admin
</div>

<img
src={ViteLogo}
className='relative m-auto'
width={301}
height={60}
alt='Fary'
alt='Vite'
/>

<div className='relative z-20 mt-auto'>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/auth/sign-up.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function SignUp() {
>
<path d='M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3' />
</svg>
<h1 className='text-xl font-medium'>Admin Dashboard</h1>
<h1 className='text-xl font-medium'>Shadcn Admin</h1>
</div>
<Card className='p-6'>
<div className='mb-2 flex flex-col space-y-2 text-left'>
Expand Down

0 comments on commit 68df7a9

Please sign in to comment.