Skip to content

Commit

Permalink
rm template text
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlarson committed Aug 19, 2024
1 parent c609e23 commit 94fa2ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
14 changes: 1 addition & 13 deletions src/app/(pages)/projects/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,7 @@ export default async function Project({ params: { slug } }) {
type: 'p',
children: [
{
text: 'The projects displayed here are individually selected for this page. Admins can select any number of related projects to display here and the layout will adjust accordingly. Alternatively, you could swap this out for the "Archive" block to automatically populate projects by category complete with pagination. To manage related projects, ',
},
{
type: 'link',
url: `/admin/collections/projects/${project.id}`,
children: [
{
text: 'navigate to the admin dashboard',
},
],
},
{
text: '.',
text: 'The projects displayed here share a common problem space and/or an inheritance structure.',
},
],
},
Expand Down
10 changes: 1 addition & 9 deletions src/app/_heros/ProjectHero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,7 @@ export const ProjectHero: React.FC<{
</div>
</div>
<h1 className={classes.title}>{title}</h1>
<div>
<p className={classes.description}>
{`${description ? `${description} ` : ''}To edit this project, `}
<Link href={`${process.env.NEXT_PUBLIC_SERVER_URL}/admin/collections/projects/${id}`}>
navigate to the admin dashboard
</Link>
{'.'}
</p>
</div>
{description && <p className={classes.description}>{description}</p>}
</div>
<div className={classes.media}>
<div className={classes.mediaWrapper}>
Expand Down

0 comments on commit 94fa2ae

Please sign in to comment.