Skip to content

Commit

Permalink
feat: update academy howto links to library
Browse files Browse the repository at this point in the history
  • Loading branch information
benfurber committed Dec 18, 2024
1 parent f77ebfc commit dd0ff39
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ describe('Create howto moderation emails', () => {
)
// Check that the email contains the correct howto guidelines link
expect(html).toContain(
'https://community.preciousplastic.com/academy/create/howto',
'https://community.preciousplastic.com/academy/create/library',
)
expect(html).toContain(MOCK_HOW_TO_MODERATION_COMMENT)
// Check that the email contains the correct PP signoff
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<p>
Check the
<a href="https://community.preciousplastic.com/academy/create/howto">
<a href="https://community.preciousplastic.com/academy/create/library">
guidelines</a
>
to review our requirements. Until you update your information, your project
Expand Down
2 changes: 1 addition & 1 deletion packages/cypress/src/integration/howto/read.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('[How To]', () => {

cy.step('All basic info displayed on each card')
const howtoSlug = 'make-glass-like-beams'
const howtoUrl = `/how-to/${howtoSlug}`
const howtoUrl = `/library/${howtoSlug}`
const coverFileRegex = /howto-beams-glass-0-3.jpg/

cy.get('[data-cy=card]').within(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Howto/Content/Common/HowtoPostingGuidelines.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const HowtoPostingGuidelines = () => (
</>,
<>
Read{' '}
<ExternalLink sx={{ color: 'blue' }} href="/academy/create/howto">
<ExternalLink sx={{ color: 'blue' }} href="/academy/create/library">
our guidelines{' '}
<span role="img" aria-label="nerd-face">
🤓
Expand Down

0 comments on commit dd0ff39

Please sign in to comment.