Skip to content

Commit

Permalink
feat: add redirections to privacy policy and terms of service
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Dec 11, 2023
1 parent b35d43d commit ab5399c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
5 changes: 2 additions & 3 deletions components/layout/app-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ import React from 'react';

import { AppContent } from './app-content';

// @TODO: replace with real links: SUPA-27
const FOOTER_SERVICE_LINKS = [
{
href: 'https://experiment.st',
href: '/privacy-policy',
label: 'Privacy policy',
},
{
href: 'https://experiment.st',
href: '/terms-of-service',
label: 'Terms of service',
},
] as const;
Expand Down
17 changes: 16 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
import './env.mjs';

/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
redirects: async () => [
{
destination:
'https://experiment-station.notion.site/Privacy-Policy-for-Beecast-c69c47d343694b8884eede01f8a61341?pvs=4',
permanent: false,
source: '/privacy-policy',
},
{
destination:
'https://experiment-station.notion.site/Terms-of-Service-for-Beecast-85524ec372614383b4d86156e47e5df7?pvs=4',
permanent: false,
source: '/terms-of-service',
},
],
};

export default nextConfig;

0 comments on commit ab5399c

Please sign in to comment.