refactor: update project homepage and baseUrl

This commit is contained in:
Prad Nukala 2024-12-06 14:54:17 -05:00
parent 89dc8b386b
commit 9960335793
2 changed files with 8 additions and 9 deletions

View File

@ -28,7 +28,7 @@ module.exports = function (eleventyConfig) {
// //
// Global data // Global data
// //
eleventyConfig.addGlobalData('baseUrl', 'https://ui.onsonr.dev/'); // the production URL eleventyConfig.addGlobalData('baseUrl', 'https://nebulaui.org'); // the production URL
eleventyConfig.addGlobalData('layout', 'default'); // make 'default' the default layout eleventyConfig.addGlobalData('layout', 'default'); // make 'default' the default layout
eleventyConfig.addGlobalData('toc', true); // enable the table of contents eleventyConfig.addGlobalData('toc', true); // enable the table of contents
eleventyConfig.addGlobalData('meta', { eleventyConfig.addGlobalData('meta', {
@ -74,7 +74,7 @@ module.exports = function (eleventyConfig) {
if (!component) { if (!component) {
throw new Error( throw new Error(
`Unable to find a component called "${tagName}". Make sure the file name is the same as the component's tag ` + `Unable to find a component called "${tagName}". Make sure the file name is the same as the component's tag ` +
`name (minus the sl- prefix).` `name (minus the sl- prefix).`
); );
} }
return component; return component;

View File

@ -2,7 +2,7 @@
"name": "@onsonr/nebula", "name": "@onsonr/nebula",
"description": "A specialized fork of Shoelace customized for the Sonr Network, focusing on cryptocurrency and blockchain interfaces.", "description": "A specialized fork of Shoelace customized for the Sonr Network, focusing on cryptocurrency and blockchain interfaces.",
"version": "0.0.10", "version": "0.0.10",
"homepage": "https://github.com/onsonr/nebula", "homepage": "https://nebulaui.org",
"author": "Prad <prad@sonr.io>", "author": "Prad <prad@sonr.io>",
"license": "MIT", "license": "MIT",
"customElements": "dist/custom-elements.json", "customElements": "dist/custom-elements.json",
@ -30,20 +30,19 @@
"cdn" "cdn"
], ],
"keywords": [ "keywords": [
"sonr network",
"cosmos kit",
"nebula",
"web components", "web components",
"custom elements", "custom elements",
"components" "components"
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/onsonr/styles.git" "url": "git+https://github.com/onsonr/nebula.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/onsonr/styles/issues" "url": "https://github.com/onsonr/nebula/issues"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/claviska"
}, },
"scripts": { "scripts": {
"minify": "svgo --config=svgo.config.mjs -rf ./assets/sonr-icons/ -o ./assets/sonr-icons/", "minify": "svgo --config=svgo.config.mjs -rf ./assets/sonr-icons/ -o ./assets/sonr-icons/",