Skip to content

Commit

Permalink
add homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
sucheta-jindal committed Jan 29, 2023
1 parent 7f945fb commit 3cc0a9f
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 5,955 deletions.
6,010 changes: 91 additions & 5,919 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dependencies": {
"classnames": "^2.3.1",
"next": "^12.0.9",
"next-auth": "^4.19.0",
"next-seo": "^4.29.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/feature/VerticalFeatureRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useRouter } from 'next/router';

type IVerticalFeatureRowProps = {
title: string;
description: string;
description?: string;
image: string;
imageAlt: string;
reverse?: boolean;
Expand Down
5 changes: 3 additions & 2 deletions src/footer/FooterCopyright.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { AppConfig } from '../utils/AppConfig';

const FooterCopyright = () => (
<div className="footer-copyright">
© Copyright {new Date().getFullYear()} {AppConfig.title}. Powered with{' '}
© Copyright {new Date().getFullYear()} {AppConfig.title}.
{/* Powered with{' '}
<span role="img" aria-label="Love">
</span>{' '}
by <a href="https://creativedesignsguru.com">CreativeDesignsGuru</a>
by <a href="https://creativedesignsguru.com">CreativeDesignsGuru</a> */}
{/*
* PLEASE READ THIS SECTION
* We'll really appreciate if you could have a link to our website
Expand Down
3 changes: 1 addition & 2 deletions src/templates/Base.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Meta } from '../layout/Meta';
import { AppConfig } from '../utils/AppConfig';
import { Banner } from './Banner';
import { Footer } from './Footer';
import { Hero } from './Hero';
import { VerticalFeatures } from './VerticalFeatures';
Expand All @@ -10,7 +9,7 @@ const Base = () => (
<Meta title={AppConfig.title} description={AppConfig.description} />
<Hero />
<VerticalFeatures />
<Banner />
{/* <Banner /> */}
<Footer />
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions src/templates/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Footer = () => (
</>
}
>
<li>
{/* <li>
<Link href="/">
<a>Home</a>
</Link>
Expand All @@ -89,7 +89,7 @@ const Footer = () => (
<Link href="https://github.com/ixartz/Next-JS-Landing-Page-Starter-Template">
<a>GitHub</a>
</Link>
</li>
</li> */}
</CenteredFooter>
</Section>
</Background>
Expand Down
10 changes: 4 additions & 6 deletions src/templates/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Link from 'next/link';

import { Background } from '../background/Background';
import { Button } from '../button/Button';
import { HeroOneButton } from '../hero/HeroOneButton';
import { Section } from '../layout/Section';
import { NavbarTwoColumns } from '../navigation/NavbarTwoColumns';
import { Logo } from './Logo';
Expand All @@ -11,11 +9,11 @@ const Hero = () => (
<Background color="bg-gray-100">
<Section yPadding="py-6">
<NavbarTwoColumns logo={<Logo xl />}>
<li>
{/* <li>
<Link href="https://github.com/ixartz/Next-JS-Landing-Page-Starter-Template">
<a>GitHub</a>
</Link>
</li>
</li> */}
<li>
<Link href="/">
<a>Sign in</a>
Expand All @@ -24,7 +22,7 @@ const Hero = () => (
</NavbarTwoColumns>
</Section>

<Section yPadding="pt-20 pb-32">
{/* <Section yPadding="pt-20 pb-32">
<HeroOneButton
title={
<>
Expand All @@ -41,7 +39,7 @@ const Hero = () => (
</Link>
}
/>
</Section>
</Section> */}
</Background>
);

Expand Down
48 changes: 28 additions & 20 deletions src/templates/VerticalFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,38 @@ import { VerticalFeatureRow } from '../feature/VerticalFeatureRow';
import { Section } from '../layout/Section';

const VerticalFeatures = () => (
<Section
title="Your title here"
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus malesuada nisi tellus, non imperdiet nisi tempor at."
>
<VerticalFeatureRow
title="Your title here"
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
image="/assets/images/feature.svg"
imageAlt="First feature alt text"
/>
<VerticalFeatureRow
title="Your title here"
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
image="/assets/images/feature2.svg"
imageAlt="Second feature alt text"
reverse
/>
<VerticalFeatureRow
<>
<Section
title="Services We offer"
// description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus malesuada nisi tellus, non imperdiet nisi tempor at."
>
<VerticalFeatureRow
title="Affordable simple Legal Professional Network"
// description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
image="/assets/images/feature.svg"
imageAlt="First feature alt text"
/>
<VerticalFeatureRow
title="A simple case management system"
// description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
image="/assets/images/feature2.svg"
imageAlt="Second feature alt text"
reverse
/>
{/* <VerticalFeatureRow
title="Your title here"
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
image="/assets/images/feature3.svg"
imageAlt="Third feature alt text"
/>
</Section>
/> */}
</Section>{' '}
<Section
title="About Us"
description="We are techno-legal enthusiasts who want to develop professional and affordable Legal Professional Network."
>
{''}
</Section>
</>
);

export { VerticalFeatures };
6 changes: 3 additions & 3 deletions src/utils/AppConfig.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const AppConfig = {
site_name: 'Starter',
title: 'Nextjs Starter',
description: 'Starter code for your Nextjs Boilerplate with Tailwind CSS',
site_name: 'The Legal Trust',
title: 'The Legal Trust',
description: 'The Legal Trust : Creates a legal professional network',
locale: 'en',
};

0 comments on commit 3cc0a9f

Please sign in to comment.