Skip to content

Commit

Permalink
feat: link doc support menu
Browse files Browse the repository at this point in the history
  • Loading branch information
roby2409 committed May 9, 2024
1 parent 62401b7 commit 1af0a57
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/modules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export { default as NavbarSection } from './sections/NavbarSection';
export { default as ExperienceSection } from './sections/ExperienceSection';
export { default as FooterSection } from './sections/FooterSection';
export { default as UsesSection } from './sections/UsesSection';
export { default as DocProfileSection } from './sections/DocProfileSection';
export { default as DocSupportSection } from './sections/DocSupportSection';
export { default as ErrorSection } from './sections/ErrorSection';
export { default as ActivitySection } from './sections/ActivitySection';
export { default as StorySection } from './sections/StorySection';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Heading, Text } from '@src/components/design-system';

export default function DocProfileSection() {
export default function DocSupportSection() {
return (
<section className="mx-auto -mt-12 mb-12 flex h-full flex-col p-4 md:-mt-0 md:p-0">
<Heading className="mt-5">Document support 💻</Heading>
Expand Down
1 change: 1 addition & 0 deletions src/components/modules/sections/NavbarSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const NavbarSection: React.FC = () => {
{ id: 5, text: 'Uses', to: '/uses', dropdown: 'Uses' },
{ id: 6, text: 'Activity', to: '/activity', dropdown: 'Activity' },
{ id: 7, text: 'Blog', to: '/blog', dropdown: 'Blog' },
{ id: 8, text: 'Download Document support', to: '/docsupport', dropdown: 'Document support' },
];

const router = useRouter();
Expand Down
10 changes: 5 additions & 5 deletions src/pages/docprofile.page.tsx → src/pages/docsupport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ import { NextPage } from 'next';
import { HomePageLayout } from '@src/layouts/HomePageLayout';
import { Animate, SeoMeta } from '@src/components/design-system/utils';
import { Heading, Text } from '@src/components/design-system';
import { DocProfileSection } from '@src/components/modules';
import { DocSupportSection } from '@src/components/modules';

const DocProfiles: NextPage = () => {
const DocSupports: NextPage = () => {
return (
<>
<SeoMeta
description={'Dokument pendukung - Roby Setiawan'}
description={'Document support - Roby Setiawan'}
title={'Roby Setiawan - Software Engineer'}
/>
<HomePageLayout>
<Animate>
<DocProfileSection />
<DocSupportSection />
</Animate>
</HomePageLayout>
</>
);
};

export default DocProfiles;
export default DocSupports;

0 comments on commit 1af0a57

Please sign in to comment.