* Separate object for featured and community themes
I've split up the two so there's the featured one at the top at the page and community ones below the official themes
* Add community themes and change featured themes
* Add comma after featured object
This is only a suggestion to get the word out about accessibility BUT, if you guys just want to show one featured theme then I understand and Ink would be better suited 😄 If that's the case just decline the request 🙂
* Adds the `astro check` command.
This adds `astro check`, which runs type checking (and general error
checking) on Astro projects.
* print the number of errors found
* Adds a changeset
* Add cli docs
* Upgrade the language server version
* Prevent linting the console.logs
* Updated comparison to reflect Gatsby SSR Support
Updated comparison to show that Gatsby now supports SSR in version 4, as show by https://v4.gatsbyjs.com/docs/how-to/rendering-options/using-server-side-rendering/
* Clarified support in future versions
Small change just because it clarifies it better and I didn't add it in the original commit
* Removed Gatsby SSG paragraph
* Added information to Gatsby comparison
* Added quick-start.md in spanish and link into sidebar in config.ts
* Change accepted
* Fixed typos errors
Co-authored-by: Felipe Gutiérrez <pipo@pop-os.localdomain>
* add getting started in russian
* add russian in the lang selector
* add russian in blog post
* minor changes
* translation for the comments in the code
Co-authored-by: Alex <bespoyasov@me.com>
* changes from @nlopin
Co-authored-by: Nikolai Lopin <lopinopulos@gmail.com>
* sync with original docs #1464
* accept changes from @nlopin with slight changes
Co-authored-by: Alex <bespoyasov@me.com>
Co-authored-by: Nikolai Lopin <lopinopulos@gmail.com>
* show how to pass props
In the current documentation it is only shown how to receive props but not how to pass a component said props.
This adds a bit of code which shows how to pass props to a component.
* Update docs/src/pages/core-concepts/astro-components.md
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
* Expose slots to components via Astro.slots
* test: Add Astro.slots API tests
* docs: Document Astro.slots API
* docs: Duplicate Astro.slots documentation to other api-reference markdown
* Update proposal to use booleans, based upon RFC feedback
* update implementation & tests based on request
* changeset
* new publish docs
* Minor cleanup
- Removed trailing whitespaces.
- Fixed a typo where `components` was misspelled.
- Moved all links to references at the bottom of the file.
- On line 162, I added bash for the file tree example as it was used for the previous example on line 29.
- Added a new line between examples that had a DO and DO NOT.
- The code snippet from line 85 is a good example. Having that li'l space made it much nicer to read.
* cleanup publish docs
* add note on experimental nature of npm package support
Co-authored-by: Devin W. Leaman <git@4lch4.email>
with import { Debug } from 'astro/debug' :
Debug = undefined
Error: Unable to render Debug because it is undefined! Did you forget to import the component or is it possible there is a typo?
* Remove reference/link to Collections
Remove line that refers to 'Core Concepts - Collections' given this is now deprecated.
* Added reference to routing
Tested link as working in local build.
* Implementation of hoisted scripts
* Use the facade id
* Adds docs on hoisted scripts
* Don't try to run rollup if there are no hoisted scripts
* Handle scripts possibly being undefined (client:only)
* Get rid of changes to the portfolio example
* Adds a changeset
* Remove a todo
* Fix lint errors
* Rename TransformResult property to hoistedScripts
* Move Hoisted Scripts docs to astro-components page
* Fixes lint errors
* Fix path join for windows
* Testing out adding a `titleClosure` to the `HeadSEO.astro` component
I think the api needs a bit of improvement, but the basic idea is you can pass this in to a published astro component for specifying how you want it to format your title!
* Refactor to make it pretty
* Rename the `titleClosure()` prop to `formatTitle()` to be more clear
* Use title, with site title as the fallback (#1143)
See og:title guidance (https://developers.facebook.com/docs/sharing/webmasters/)
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
* wip
* Add support for `client:only` hydrator (#935)
* Adding support for client:only hydration
* Adding documentation for client:only
* Adding changeset
* Updating the test to use a browser-only API
* Adding a browser-specific import script, this reproduces the issue where client:only imports must be removed
* typo fix
* removing mispelled test component
* WIP: delaying inclusion of component imports until the hydration method is known
* WIP: tweaking the test to use window instead of document
* When only one renderer is included, use that for client:only hydration
* temporary test script snuck into the last commit
* WIP: adding check for a client:only renderer hint
* refactor: Remove client:only components instead of delaying all component import statements
* Updating the changeset and docs for the renderer hint
* refactor: pull client:only render matching out to it's own function
* Updating renderer hinting to match full name, with shorthand for internal renderers
Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
* [ci] yarn format
* Update CONTRIBUTING.md (#1131)
* [ci] yarn format
* docs: fix select language in Safari (#1127) (#1128)
* docs: fix select language in Safari (#1127)
* docs: fix select language top position
* docs: fix select language position
* Make congratsbot not run in forks (#1145)
* add back dark-mode aware favicons
* make example favicons prefer non-dark mode
* Version Packages (next) (#1129)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* code review comments
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>
Co-authored-by: matthewp <matthewp@users.noreply.github.com>
Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
Co-authored-by: Oleg <64708593+olejech@users.noreply.github.com>
Co-authored-by: Marcus Otterström <35617441+MarcusOtter@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Adding support for client:only hydration
* Adding documentation for client:only
* Adding changeset
* Updating the test to use a browser-only API
* Adding a browser-specific import script, this reproduces the issue where client:only imports must be removed
* typo fix
* removing mispelled test component
* WIP: delaying inclusion of component imports until the hydration method is known
* WIP: tweaking the test to use window instead of document
* When only one renderer is included, use that for client:only hydration
* temporary test script snuck into the last commit
* WIP: adding check for a client:only renderer hint
* refactor: Remove client:only components instead of delaying all component import statements
* Updating the changeset and docs for the renderer hint
* refactor: pull client:only render matching out to it's own function
* Updating renderer hinting to match full name, with shorthand for internal renderers
Co-authored-by: Tony Sullivan <tony.f.sullivan@gmail.com>