Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
feat: rename universalprofile to universaleverything (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzbo authored Nov 13, 2024
1 parent 379f88d commit 18b7a62
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 27 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 🆙 universalprofile.cloud
# 🆙 universaleverything.io

[![Lint, Test, Build](https://github.com/lukso-network/universalprofile.cloud/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/lukso-network/universalprofile.cloud/actions/workflows/ci.yml)
[![Lint, Test, Build](https://github.com/universal-everything/universaleverything.io/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/universal-everything/universaleverything.io/actions/workflows/ci.yml)

This dApp runs on [LUKSO](https://lukso.network/) network. It allows to:

Expand All @@ -22,7 +22,7 @@ When you create a PR, a preview URL will be appended to the PR discussion.

Branch: `main`

- <https://universalprofile.cloud/>
- <https://universaleverything.io/>

## Fetch data mode

Expand Down
17 changes: 17 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ const swHasUpgrade = ref<boolean>(false)
// any view can use inject('swHasUpgrade') to access this value
provide('swHasUpgrade', swHasUpgrade)
/**
* Setup redirect from old domain to new domain
*/
const setupDomainRedirect = () => {
const currentDomain = window.location.hostname
const newDomain = 'universaleverything.io'
const oldDomain = 'universalprofile.cloud'
if (currentDomain === oldDomain) {
window.location.href = `https://${newDomain}${window.location.pathname}${window.location.search}`
}
}
/**
* Setup translations
*/
const setupTranslations = () => {
useIntl().setupIntl(defaultConfig)
}
Expand Down Expand Up @@ -196,6 +212,7 @@ const resetDataProvider = () => {
onMounted(async () => {
try {
setupDomainRedirect()
setupTranslations()
setupNetwork()
await setupWeb3Instances()
Expand Down
2 changes: 1 addition & 1 deletion composables/web3-provider/useWalletConnectProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const initProvider = async () => {
description:
'Explore Universal Profiles and view all your assets in one place as well as send and receive tokens to other Universal Profile users.',
url: BASE_DAPP_URL,
icons: ['https://universalprofile.cloud/favicon.png'],
icons: ['https://universaleverything.io/favicon.png'],
},
showQrModal: false,
optionalChains: [numberChainId],
Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default defineNuxtConfig({
],
...({
plausible: {
domain: 'universalprofile.cloud',
hashMode: true,
},
} as any),
device: {
Expand Down Expand Up @@ -93,7 +93,7 @@ export default defineNuxtConfig({
authToken: process.env.NUXT_PUBLIC_SENTRY_AUTH_TOKEN,
debug: true,
org: 'lukso',
project: 'universalprofile-cloud',
project: 'universaleverything-io',
sourcemaps: {
assets: ['./.nuxt/dist/client/**'],
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "universalprofile.cloud",
"name": "universaleverything.io",
"packageManager": "[email protected]",
"private": true,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion shared/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const SEARCH_RESULTS_LIMIT = 100

// base urls
export const BASE_MY_UP_CLOUD_URL = 'https://my.universalprofile.cloud'
export const BASE_DAPP_URL = 'https://universalprofile.cloud'
export const BASE_DAPP_URL = 'https://universaleverything.io'
export const BASE_PROFILE_LINK_URL = 'https://profile.link'
export const BASE_L14_UP_CLOUD_URL = 'https://l14.universalprofile.cloud/'
export const TXS_APP_LUKSO_PAGE_URL = 'https://txs.app/lukso'
Expand Down
6 changes: 3 additions & 3 deletions site.meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
{
"property": "og:url",
"content": "https://universalprofile.cloud"
"content": "https://universaleverything.io"
},
{
"property": "og:type",
Expand All @@ -44,15 +44,15 @@
},
{
"property": "og:image",
"content": "https://universalprofile.cloud/images/social-share.jpg"
"content": "https://universaleverything.io/images/social-share.jpg"
},
{
"name": "twitter:card",
"content": "summary_large_image"
},
{
"name": "twitter:domain",
"content": "universalprofile.cloud"
"content": "universaleverything.io"
},
{
"name": "twitter:title",
Expand Down
32 changes: 16 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24218,23 +24218,9 @@ __metadata:
languageName: node
linkType: hard

"universalify@npm:^0.1.0":
version: 0.1.2
resolution: "universalify@npm:0.1.2"
checksum: 40cdc60f6e61070fe658ca36016a8f4ec216b29bf04a55dce14e3710cc84c7448538ef4dad3728d0bfe29975ccd7bfb5f414c45e7b78883567fb31b246f02dff
languageName: node
linkType: hard

"universalify@npm:^2.0.0":
version: 2.0.1
resolution: "universalify@npm:2.0.1"
checksum: ecd8469fe0db28e7de9e5289d32bd1b6ba8f7183db34f3bfc4ca53c49891c2d6aa05f3fb3936a81285a905cc509fb641a0c3fc131ec786167eff41236ae32e60
languageName: node
linkType: hard

"universalprofile.cloud@workspace:.":
"universaleverything.io@workspace:.":
version: 0.0.0-use.local
resolution: "universalprofile.cloud@workspace:."
resolution: "universaleverything.io@workspace:."
dependencies:
"@biomejs/biome": "npm:^1.9.4"
"@erc725/erc725.js": "npm:^0.25.0"
Expand Down Expand Up @@ -24356,6 +24342,20 @@ __metadata:
languageName: unknown
linkType: soft

"universalify@npm:^0.1.0":
version: 0.1.2
resolution: "universalify@npm:0.1.2"
checksum: 40cdc60f6e61070fe658ca36016a8f4ec216b29bf04a55dce14e3710cc84c7448538ef4dad3728d0bfe29975ccd7bfb5f414c45e7b78883567fb31b246f02dff
languageName: node
linkType: hard

"universalify@npm:^2.0.0":
version: 2.0.1
resolution: "universalify@npm:2.0.1"
checksum: ecd8469fe0db28e7de9e5289d32bd1b6ba8f7183db34f3bfc4ca53c49891c2d6aa05f3fb3936a81285a905cc509fb641a0c3fc131ec786167eff41236ae32e60
languageName: node
linkType: hard

"unixify@npm:^1.0.0":
version: 1.0.0
resolution: "unixify@npm:1.0.0"
Expand Down

0 comments on commit 18b7a62

Please sign in to comment.