Skip to content

Commit 9f0caa5

Browse files
committed
update site name
1 parent 7b3b022 commit 9f0caa5

File tree

15 files changed

+27
-78
lines changed

15 files changed

+27
-78
lines changed

public/logo-hb.png

6.45 KB
Loading

public/logo-hw.png

6.45 KB
Loading

public/og.jpg

133 KB
Loading

public/website-template-OG.webp

-99.1 KB
Binary file not shown.

src/app/(frontend)/[slug]/page.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import configPromise from '@payload-config'
55
import { getPayload, type RequiredDataFromCollectionSlug } from 'payload'
66
import { draftMode } from 'next/headers'
77
import React, { cache } from 'react'
8-
import { homeStatic } from '@/endpoints/seed/home-static'
98

109
import { RenderBlocks } from '@/blocks/RenderBlocks'
1110
import { RenderHero } from '@/heros/RenderHero'
@@ -55,11 +54,6 @@ export default async function Page({ params: paramsPromise }: Args) {
5554
slug: decodedSlug,
5655
})
5756

58-
// Remove this code once your website is seeded
59-
if (!page && slug === 'home') {
60-
page = homeStatic
61-
}
62-
6357
if (!page) {
6458
return <PayloadRedirects url={url} />
6559
}

src/app/(frontend)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ export const metadata: Metadata = {
5454
openGraph: mergeOpenGraph(),
5555
twitter: {
5656
card: 'summary_large_image',
57-
creator: '@payloadcms',
57+
creator: '@elonmusk',
5858
},
5959
}

src/app/(frontend)/posts/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ export default async function Page() {
5858

5959
export function generateMetadata(): Metadata {
6060
return {
61-
title: `Payload Website Template Posts`,
61+
title: `Posts`,
6262
}
6363
}

src/app/(frontend)/posts/page/[pageNumber]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default async function Page({ params: paramsPromise }: Args) {
6565
export async function generateMetadata({ params: paramsPromise }: Args): Promise<Metadata> {
6666
const { pageNumber } = await paramsPromise
6767
return {
68-
title: `Payload Website Template Posts Page ${pageNumber || ''}`,
68+
title: `Posts Page ${pageNumber || ''}`,
6969
}
7070
}
7171

src/app/(frontend)/search/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ export default async function Page({ searchParams: searchParamsPromise }: Args)
8383

8484
export function generateMetadata(): Metadata {
8585
return {
86-
title: `Payload Website Template Search`,
86+
title: `Search`,
8787
}
8888
}

src/components/BeforeDashboard/index.scss

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
@import '~@payloadcms/ui/scss';
22

33
.dashboard .before-dashboard {
4-
margin-bottom: base(1.5);
4+
margin-bottom: base(1);
55

66
&__banner {
7+
margin-bottom: base(0.5);
78
& h4 {
89
margin: 0;
910
}
1011
}
1112

12-
&__instructions {
13-
list-style: decimal;
14-
margin-bottom: base(0.5);
15-
16-
& li {
17-
width: 100%;
18-
}
13+
& .row {
14+
display: flex;
15+
gap: 8px;
1916
}
2017

2118
& a:hover {

0 commit comments

Comments
 (0)