Skip to content

More Astro work#133

Merged
kashike merged 6 commits into
PaperMC:feat/astrofrom
jacobsandersen:feat/astro@simple
May 26, 2025
Merged

More Astro work#133
kashike merged 6 commits into
PaperMC:feat/astrofrom
jacobsandersen:feat/astro@simple

Conversation

@jacobsandersen
Copy link
Copy Markdown
Contributor

@jacobsandersen jacobsandersen commented Apr 3, 2025

Good evening folks.

This PR does some more stuff to further the Astro agenda.

  • Allow indexing in robots.txt
  • Update domain in astro.config.mjs
  • Use web component in SoftwarePreview to bring web requests clientside
  • Use web component in Terminal to bring web request clientside

The use of web components both

  1. Avoids importing a bulky UI framework
  2. Massively speeds up the following pages:
  • /downloads
  • /javadocs
  • /

So far...

Once again, you can merge or leave it here. Either way, more to come later.

…eeded.

For a Javadoc SoftwarePreview, this makes a request to the API first before changing the URL. No UI framework required here.
…ide.

Rather than a UI framework, this can run using a standard HTML custom element.
…ntside fetch for data. Waiting to resolve Hangar CORs issue to complete page implementation.
@kashike kashike self-assigned this May 26, 2025
@kashike kashike merged commit e374ddc into PaperMC:feat/astro May 26, 2025
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