Skip to content

Conversation

@christian-byrne
Copy link
Contributor

Summary

Base Astro project with pages, components, and layouts for the template site.

Added

  • Astro project setup with sitemap
  • /templates/ listing page
  • /templates/[slug] detail page
  • Components: TemplateCard, TryOnCloudButton, SEOHead
  • BaseLayout with responsive styling
  • Mock template data (replaced by sync script)

Template Site PRs (merge in order)

  • PR 1 of 5 ← this one
  • PR 2: sync-script
  • PR 3: ai-generation
  • PR 4: preview-gen
  • PR 5: cicd

Integration tested locally on template-site/integration branch.

- Initialize Astro project with @astrojs/sitemap and TypeScript
- Configure site URL for https://templates.comfy.org
- Create content collection schema for template data
- Add 5 mock template JSON files for development
- Build pages:
  - Homepage with redirect to /templates/
  - Template listing page with grid of cards
  - Template detail pages with full content
- Create components:
  - SEOHead: Meta tags, Open Graph, structured data
  - TemplateCard: Card component for listings
  - TryOnCloudButton: CTA linking to Comfy Cloud
- Add BaseLayout with header, footer, and global styles
- Include FAQ and SoftwareApplication structured data
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​astrojs/​sitemap@​3.7.01001008295100
Addednpm/​astro@​5.16.11971008898100
Addednpm/​typescript@​5.9.31001009010090

View full report

@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: site/package-lock.jsonnpm/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: site/package-lock.jsonnpm/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm vite is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: site/package-lock.jsonnpm/[email protected]npm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants