Closed ghost closed 1 month ago
@AfzalAli231 is attempting to deploy a commit to the Holdex Accelerator Team on Vercel.
A member of the Team first needs to authorize it.
@AfzalAli231 Please follow our developer guidelines here and update the status properly.
Title: Fix Portfolio Article Tags Alignment #585
Description:
This pull request addresses the issue where portfolio article tags are not aligned with cards on the Portfolio page. When clicking on a tag, such as
#polygon
, the user is taken to an empty page. To fix this, I've updated the+page.svelte
andtemplate.pug
files in the portfolio directory to programmatically pull tags from the article page.Changes:
In
+page.svelte
, I've added a new variable parsedEdges that maps over the edges array and parses each message using theparseMessage
function. This allows us to access the parsed messages in the template. Intemplate.pug
, I've updated the template to use theparsedEdges
variable and display the parsed messages. I've also replaced the hardcodedPortfolioItem
components with a dynamic each loop that iterates over theparsedEdges
array.Files Changed:
+page.svelte
template.pug
Diff:
// +page.svelte
// template.pug
Testing:
To test this fix, navigate to the Portfolio page and click on a tag. The page should now display the correct articles associated with that tag.