Skip to content

Commit

Permalink
Rename head component file
Browse files Browse the repository at this point in the history
  • Loading branch information
muliswilliam committed Sep 25, 2023
1 parent 81504ae commit 3409b08
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
13 changes: 9 additions & 4 deletions src/components/Head.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
import React from 'react'
import Head from 'next/head'

export function AppHead () {
export function AppHead() {
return (
<Head>
<title>Share Secrets Quickly and Securely | SecureShare</title>

<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
<meta
name="description"
content="Experience the ultimate in online security with our top-rated encrypted messaging and chat room service. Enjoy robust password and file protection, complete with a self-destruct feature. Safeguard your sensitive data, utilize link tracking, and shield yourself from phishing attempts with our cutting-edge web app."
/>
<meta name="og:title" content="Share Secrets Quickly and Securely | SecureShare" />
<meta name="og:description" content="Experience the ultimate in online security with our top-rated encrypted messaging and chat room service. Enjoy robust password and file protection, complete with a self-destruct feature. Safeguard your sensitive data, utilize link tracking, and shield yourself from phishing attempts with our cutting-edge web app." />
<meta
name="og:title"
content="Share Secrets Quickly and Securely | SecureShare"
/>
<meta
name="og:description"
content="Experience the ultimate in online security with our top-rated encrypted messaging and chat room service. Enjoy robust password and file protection, complete with a self-destruct feature. Safeguard your sensitive data, utilize link tracking, and shield yourself from phishing attempts with our cutting-edge web app."
/>
<meta name="og:image" content="https://secureshare.sh/thumbnail.png" />
</Head>
)
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import { MainNav } from '@/components/nav'
import { AppHead } from '../components/Head'
import { AppHead } from '../components/head'
import { ContentWrapper } from './content-wrapper'

export default function MainLayout({
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getAuth } from '@clerk/nextjs/server'
import prisma from '../../lib/prisma'

// components
import { AppHead } from '../../components/Head'
import { AppHead } from '../../components/head'
import { MainNav } from '../../components/nav'
import { ContentWrapper } from '../../layouts/content-wrapper'
import { Button } from '../../components/ui/button'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/settings.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { AppHead } from "../../components/Head";
import { AppHead } from "../../components/head";
import { MainNav } from "../../components/nav";

export default function Settings() {
Expand Down

0 comments on commit 3409b08

Please sign in to comment.