Skip to content

Commit

Permalink
Merge pull request #266 from appwrite/feat-new-redirects
Browse files Browse the repository at this point in the history
feat: new redirects
  • Loading branch information
TorstenDittmann committed Oct 19, 2023
2 parents f798263 + 1031516 commit 538c26f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/hooks/redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@
},
{
"link": "/careers",
"redirect": "https://careers.appwrite.io/"
"redirect": "https://www.appwrite.careers"
},
{
"link": "/policy/terms",
Expand Down
6 changes: 3 additions & 3 deletions src/lib/components/FooterNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
{
label: 'Status',
href: 'https://status.appwrite.io',
href: 'https://www.appwrite.online',
target: '_blank',
rel: 'noopener noreferrer'
}
Expand All @@ -56,14 +56,14 @@
{ label: 'Company', href: '/company' },
{
label: 'Careers',
href: 'https://careers.appwrite.io/',
href: 'https://www.appwrite.careers',
target: '_blank',
rel: 'noopener noreferrer'
},
{ label: 'Heroes', href: '/heroes' },
{
label: 'Store',
href: 'https://store.appwrite.io',
href: 'https://appwrite.store',
target: '_blank',
rel: 'noopener noreferrer'
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/MainFooter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<a href="/discord" target="_blank" rel="noopener noreferrer">Support</a>
</li>
<li>
<a href="https://status.appwrite.io" target="_blank" rel="noopener noreferrer"
<a href="https://www.appwrite.online" target="_blank" rel="noopener noreferrer"
>Status</a
>
</li>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/company/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
<div class="u-flex-vertical u-gap-32">
<h2 class="aw-display aw-u-color-text-primary">Designed for and by developers</h2>
<a
href="https://careers.appwrite.io/"
href="https://www.appwrite.careers"
class="aw-button u-cross-child-start aw-u-inline-width-100-percent-mobile-break1"
target="_blank"
rel="noopener noreferrer"
Expand Down Expand Up @@ -725,7 +725,7 @@
Find your next career at Appwrite and join a team of remote workers.
</p>
<a
href="https://careers.appwrite.io/"
href="https://www.appwrite.careers"
target="_blank"
rel="noopener noreferrer"
class="aw-button is-transparent u-cross-child-center u-margin-block-start-16"
Expand Down
2 changes: 1 addition & 1 deletion src/routes/company/careers/+page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { redirect } from '@sveltejs/kit';

export const load = async () => {
throw redirect(301, 'https://careers.appwrite.io/');
throw redirect(301, 'https://www.appwrite.careers');
};

0 comments on commit 538c26f

Please sign in to comment.