functions | ||
layouts | ||
sections | ||
.gitignore | ||
Banner.astro | ||
Button.astro | ||
Card.astro | ||
Feature.astro | ||
Footer.astro | ||
Head.astro | ||
Header.astro | ||
Heading.astro | ||
Hero.astro | ||
image.astro | ||
index.ts | ||
LICENSE | ||
PageHeader.astro | ||
README.md |
Pandora
An Astro component library for SudoVanilla related websites and projects.
Using Pandora
Pandora is built for SudoVanilla only, so some services like using Umami and Directus are hardcoded in. For example, when you use the <Image/>
component, you must use the UUID
that the image is tied to on your Directus instance and that only. As of now, the SudoVanilla Directus instance is also hardcoded into Pandora, so it not changable yet.
Installation
In favor of submodules, you can add it to your project with the git cli tool, for the sake of Astro we'll put it in src/components/
:
cd src/components/
git submodule add https://ark.sudovanilla.org/Korbs/Pandora
To update the submodule, use the update command:
git submodule update --remote src/components/Pandora/
Warning
Package format has been dropped in favor of submodules.
To comply with the SudoVanilla Umbrella Policy, this components library is available only on the SudoVanilla JS Registry. You can install it using the --registry
parameter with your package manager.
Example with Bun:
bun install @sudovanilla/pandora --registry https://js.registry.sudovanilla.org
License
MIT License
Copyright 2024 - 2025 SudoVanilla
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
In addition, the following restrictions apply:
1. The Software and any modifications made to it may not be used for the purpose of training or improving machine learning algorithms,
including but not limited to artificial intelligence, natural language processing, or data mining. This condition applies to any derivatives,
modifications, or updates based on the Software code. Any usage of the Software in an AI-training dataset is considered a breach of this License.
2. The Software may not be included in any dataset used for training or improving machine learning algorithms,
including but not limited to artificial intelligence, natural language processing, or data mining.
3. Any person or organization found to be in violation of these restrictions will be subject to legal action and may be held liable
for any damages resulting from such use.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.