mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-02 22:02:39 +02:00
Add noindex pages
This commit is contained in:
@@ -6,7 +6,7 @@ export interface Props extends BaseLayoutProps {}
|
|||||||
const props = Astro.props;
|
const props = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout {...props}>
|
<BaseLayout {...props} noIndex={true}>
|
||||||
<slot />
|
<slot />
|
||||||
<div slot='page-footer'></div>
|
<div slot='page-footer'></div>
|
||||||
</BaseLayout>
|
</BaseLayout>
|
||||||
|
@@ -7,7 +7,7 @@ const roadmapIds = await getRoadmapIds();
|
|||||||
const legacyRoadmapUrls = [...roadmapIds.map((id) => `/${id}/`), '/roadmaps/'];
|
const legacyRoadmapUrls = [...roadmapIds.map((id) => `/${id}/`), '/roadmaps/'];
|
||||||
---
|
---
|
||||||
|
|
||||||
<BaseLayout title='Page not found' permalink={'/404'}>
|
<BaseLayout title='Page not found' permalink={'/404'} noIndex={true}>
|
||||||
<!-- Legacy roadmp pages handling -->
|
<!-- Legacy roadmp pages handling -->
|
||||||
<script slot='after-header' define:vars={{ legacyRoadmapUrls }}>
|
<script slot='after-header' define:vars={{ legacyRoadmapUrls }}>
|
||||||
// If it's a roadmap page and it ends with a slash
|
// If it's a roadmap page and it ends with a slash
|
||||||
|
@@ -3,7 +3,7 @@ import { ForgotPasswordForm } from '../components/AuthenticationFlow/ForgotPassw
|
|||||||
import SettingLayout from '../layouts/SettingLayout.astro';
|
import SettingLayout from '../layouts/SettingLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<SettingLayout title='Forgot Password'>
|
<SettingLayout title='Forgot Password' noIndex={true}>
|
||||||
<div class='container'>
|
<div class='container'>
|
||||||
<div
|
<div
|
||||||
class='mx-auto flex flex-col items-start justify-start pb-28 pt-10 sm:max-w-[400px] sm:items-center sm:justify-center sm:pt-20'
|
class='mx-auto flex flex-col items-start justify-start pb-28 pt-10 sm:max-w-[400px] sm:items-center sm:justify-center sm:pt-20'
|
||||||
|
@@ -3,7 +3,7 @@ import ResetPasswordForm from '../components/AuthenticationFlow/ResetPasswordFor
|
|||||||
import SettingLayout from '../layouts/SettingLayout.astro';
|
import SettingLayout from '../layouts/SettingLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<SettingLayout title='Reset Password'>
|
<SettingLayout title='Reset Password' noIndex={true}>
|
||||||
<div class='container'>
|
<div class='container'>
|
||||||
<div
|
<div
|
||||||
class='mx-auto flex flex-col items-start justify-start pb-28 pt-10 sm:max-w-[400px] sm:items-center sm:justify-center sm:pt-20'
|
class='mx-auto flex flex-col items-start justify-start pb-28 pt-10 sm:max-w-[400px] sm:items-center sm:justify-center sm:pt-20'
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
import UpdatePasswordForm from '../../components/Setting/UpdatePasswordForm';
|
|
||||||
import SettingSidebar from '../../components/Setting/SettingSidebar.astro';
|
import SettingSidebar from '../../components/Setting/SettingSidebar.astro';
|
||||||
|
import UpdatePasswordForm from '../../components/Setting/UpdatePasswordForm';
|
||||||
import SettingLayout from '../../layouts/SettingLayout.astro';
|
import SettingLayout from '../../layouts/SettingLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<SettingLayout title='Change Password' description=''>
|
<SettingLayout title='Change Password' description='' noIndex={true}>
|
||||||
<SettingSidebar pageUrl='change-password' name='Change Password'>
|
<SettingSidebar pageUrl='change-password' name='Change Password'>
|
||||||
<UpdatePasswordForm client:load />
|
<UpdatePasswordForm client:load />
|
||||||
</SettingSidebar>
|
</SettingSidebar>
|
||||||
|
@@ -4,7 +4,7 @@ import { UpdateProfileForm } from '../../components/Setting/UpdateProfileForm';
|
|||||||
import SettingLayout from '../../layouts/SettingLayout.astro';
|
import SettingLayout from '../../layouts/SettingLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<SettingLayout title='Update Profile'>
|
<SettingLayout title='Update Profile' noIndex={true}>
|
||||||
<SettingSidebar pageUrl='profile' name='Profile'>
|
<SettingSidebar pageUrl='profile' name='Profile'>
|
||||||
<UpdateProfileForm client:load />
|
<UpdateProfileForm client:load />
|
||||||
</SettingSidebar>
|
</SettingSidebar>
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
import SettingLayout from '../layouts/SettingLayout.astro';
|
|
||||||
import { VerificationEmailMessage } from '../components/AuthenticationFlow/VerificationEmailMessage';
|
import { VerificationEmailMessage } from '../components/AuthenticationFlow/VerificationEmailMessage';
|
||||||
|
import SettingLayout from '../layouts/SettingLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<SettingLayout title='Verify Email'>
|
<SettingLayout title='Verify Email' noIndex={true}>
|
||||||
<section class='container py-8 sm:py-20'>
|
<section class='container py-8 sm:py-20'>
|
||||||
<VerificationEmailMessage client:load />
|
<VerificationEmailMessage client:load />
|
||||||
</section>
|
</section>
|
||||||
|
@@ -3,7 +3,7 @@ import { TriggerVerifyAccount } from '../components/AuthenticationFlow/TriggerVe
|
|||||||
import SettingLayout from '../layouts/SettingLayout.astro';
|
import SettingLayout from '../layouts/SettingLayout.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<SettingLayout title='Verify account'>
|
<SettingLayout title='Verify account' noIndex={true}>
|
||||||
<div class='container py-16'>
|
<div class='container py-16'>
|
||||||
<TriggerVerifyAccount client:load />
|
<TriggerVerifyAccount client:load />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user