Skip to content

Commit

Permalink
chore: to avoid confusion, links in navbar and footer redirect to sig…
Browse files Browse the repository at this point in the history
…n up page
  • Loading branch information
ixartz committed Jun 6, 2024
1 parent 8ac3c08 commit a758bce
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 23 deletions.
12 changes: 1 addition & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,7 @@
"lucide-react"
],
"typescript.preferences.preferTypeOnlyAutoImports": true, // Prefer type-only imports
"jest.runMode": {
"type": "on-save",
"testFileOnly": true,
"coverage": true
}, // Configure Jest extension
"jest.outputConfig": {
"revealOn": "error",
"revealWithFocus": "test-results",
"clearOnRun": "none"
}, // Switch to test-results view when test fails
"testing.openTesting": "neverOpen", // For a consistent Jest output experience, the simplest solution is to set to "neverOpen"
"testing.openTesting": "neverOpen", // Don't open the testing view automatically when running tests
// Multiple language settings for json and jsonc files
"[json][jsonc][yaml]": {
"editor.formatOnSave": true,
Expand Down
14 changes: 7 additions & 7 deletions src/templates/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,32 +77,32 @@ const Footer = () => {
legalLinks={
<>
<li>
<Link href="/">{t('terms_of_service')}</Link>
<Link href="/sign-up">{t('terms_of_service')}</Link>
</li>
<li>
<Link href="/">{t('privacy_policy')}</Link>
<Link href="/sign-up">{t('privacy_policy')}</Link>
</li>
</>
}
>
<li>
<Link href="/">{t('product')}</Link>
<Link href="/sign-up">{t('product')}</Link>
</li>

<li>
<Link href="/">{t('docs')}</Link>
<Link href="/sign-up">{t('docs')}</Link>
</li>

<li>
<Link href="/">{t('blog')}</Link>
<Link href="/sign-up">{t('blog')}</Link>
</li>

<li>
<Link href="/">{t('community')}</Link>
<Link href="/sign-up">{t('community')}</Link>
</li>

<li>
<Link href="/">{t('company')}</Link>
<Link href="/sign-up">{t('company')}</Link>
</li>
</CenteredFooter>
</Section>
Expand Down
10 changes: 5 additions & 5 deletions src/templates/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ const Navbar = () => {
}
>
<li>
<Link href="/">{t('product')}</Link>
<Link href="/sign-up">{t('product')}</Link>
</li>

<li>
<Link href="/">{t('docs')}</Link>
<Link href="/sign-up">{t('docs')}</Link>
</li>

<li>
<Link href="/">{t('blog')}</Link>
<Link href="/sign-up">{t('blog')}</Link>
</li>

<li>
<Link href="/">{t('community')}</Link>
<Link href="/sign-up">{t('community')}</Link>
</li>

<li>
<Link href="/">{t('company')}</Link>
<Link href="/sign-up">{t('company')}</Link>
</li>
</CenteredMenu>
</Section>
Expand Down

0 comments on commit a758bce

Please sign in to comment.