Skip to content

Commit

Permalink
Update Domain Localization
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Feb 19, 2024
1 parent 6c410f8 commit a040103
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Welcome to ENS docs contributing guide

Thank you for investing your time in contributing to our documentation! Any contribution you make will be reflected on [alpha-docs.ens.domains](https://alpha-docs.ens.domains) :sparkles:.
Thank you for investing your time in contributing to our documentation! Any contribution you make will be reflected on [docs.ens.domains](https://docs.ens.domains) :sparkles:.

In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.

Expand Down Expand Up @@ -51,4 +51,4 @@ Once you submit your PR, a Docs team member will review your proposal. We may as

Congratulations :tada::tada: The ENS team thanks you :sparkles:.

Once your PR is merged, your contributions will be publicly visible on the [ENS docs](https://alpha-docs.ens.domains).
Once your PR is merged, your contributions will be publicly visible on the [ENS Docs](https://docs.ens.domains).
7 changes: 6 additions & 1 deletion app/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,19 @@ export default function RootLayout(properties) {
<Theme>{children}</Theme>
<script
defer
data-domain="alpha-docs.ens.domains"
data-domain="docs.ens.domains"
src="https://plausible.io/js/script.js"
></script>
<script
defer
data-domain="docs.ens.domains"
src="https://ens.v3x.report/js/script.js"
></script>
<script
defer
data-domain="docs.ens.domains"
src="https://ens.v3x.report/js/script.js"
></script>
</body>
</html>
);
Expand Down
2 changes: 1 addition & 1 deletion app/app/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
}

return {
url: 'https://alpha-docs.ens.domains/' + processSlugs(slug),
url: 'https://docs.ens.domains/' + processSlugs(slug),
lastModified: lastUpdated,
};
})
Expand Down
2 changes: 1 addition & 1 deletion app/public/robots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
User-agent: *
Allow: /
Sitemap: https://alpha-docs.ens.domains/sitemap.xml
Sitemap: https://docs.ens.domains/sitemap.xml
2 changes: 1 addition & 1 deletion app/src/layout/footer/feedback/FeedbackSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function FeedbackButton(properties) {
body: JSON.stringify({
name: response,
url: window.location.href,
domain: 'alpha-docs.ens.domains',
domain: 'docs.ens.domains',
}),
});
}}
Expand Down
2 changes: 1 addition & 1 deletion app/src/lib/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const createMetadata = (
// For some reason Next.js is returning a very weird object for `metadataBase`
// from the parentMetadata, so we need to always set it here even if it is
// already set in app/layout.tsx
metadataBase: new URL('https://alpha-docs.ens.domains'),
metadataBase: new URL('https://docs.ens.domains'),
title,
description,
alternates: {
Expand Down

0 comments on commit a040103

Please sign in to comment.