Remove View component from regular pages
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 2m40s

This commit is contained in:
Ryan Freeman 2024-09-28 19:09:50 +01:00
parent cf437a4c99
commit 9bd9188921
6 changed files with 0 additions and 10 deletions

View File

@ -7,7 +7,6 @@ import {GitHubIcon, LinkedInIcon} from '@/components/icons/SocialIcons'
import clsx from 'clsx'
import me from '@/public/images/me.jpg'
import awsCCPBadge from '@/public/images/aws-certified-cloud-practitioner-badge.png'
import {Views} from '@/components/ui/Views';
export const metadata = {
title: 'About - Ryan Freeman',
@ -130,7 +129,6 @@ export default async function About() {
</Link>
</div>
</div>
<Views slug="/about" shouldUpdateViews={true} shouldRender={false}/>
</Container>
)
}

View File

@ -62,7 +62,6 @@ export default async function Home() {
/>
</div>
</div>
<Views slug="/home" shouldUpdateViews={true} shouldRender={false}/>
</Container>
<Container className="mt-24 md:mt-28">
<div className="mx-auto grid max-w-xl grid-cols-1 gap-y-20 lg:max-w-none lg:grid-cols-2">

View File

@ -4,7 +4,6 @@ import {SimpleLayout} from '@/components/layouts/SimpleLayout'
import {Card} from '@/components/ui/Card'
import {getPinnedRepos} from '@/lib/github'
import {numberFormat} from '@/lib/numberFormat'
import {Views} from '@/components/ui/Views';
import React from 'react';
export const metadata = {
@ -56,7 +55,6 @@ export default async function Projects() {
</Card>
))}
</ul>
<Views slug="/projects" shouldUpdateViews={true} shouldRender={false}/>
</SimpleLayout>
)
}

View File

@ -1,6 +1,5 @@
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
import {Card} from '@/components/ui/Card'
import {Views} from '@/components/ui/Views';
import React from 'react';
export const metadata = {
@ -86,7 +85,6 @@ export default async function Reading() {
</Card>
))}
</ul>
<Views slug="/reading" shouldUpdateViews={true} shouldRender={false}/>
</SimpleLayout>
)
}

View File

@ -2,7 +2,6 @@ import React, {ReactNode} from 'react'
import {SimpleLayout} from '@/components/layouts/SimpleLayout'
import {Card} from '@/components/ui/Card'
import {Section} from '@/components/ui/Section'
import {Views} from '@/components/ui/Views';
export const metadata = {
title: 'Uses - Ryan Freeman',
@ -117,7 +116,6 @@ export default function Uses() {
</Tool>
</ToolsSection>
</div>
<Views slug="/uses" shouldUpdateViews={true} shouldRender={false}/>
</SimpleLayout>
)
}

View File

@ -49,7 +49,6 @@ export default async function Writing() {
))}
</div>
</div>
<Views slug="/writing" shouldUpdateViews={true} shouldRender={false}/>
</SimpleLayout>
)
}