Skip to content

Commit

Permalink
feat: create following pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Alireza Akbarzadeh authored and Alireza Akbarzadeh committed Apr 24, 2024
1 parent a0a675d commit 5ced292
Show file tree
Hide file tree
Showing 13 changed files with 70 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Recent Contributions:

### Platform, Build, and Deployment Status

The general platform status for all our applications is available at [`status.freecodecamp.org`](https://react-launchpad.vercel.app). The build and deployment status for the code is available in [our DevOps Guide](https://react-launchpad.vercel.app/devops).
The general platform status for all our applications is available at [`https://react-launchpad.vercel.app/status`](https://react-launchpad.vercel.app). The build and deployment status for the code is available in [our DevOps Guide](https://react-launchpad.vercel.app/devops).

### License

Expand Down
19 changes: 19 additions & 0 deletions src/components/development.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export function Development(): JSX.Element {
return (
<div className="min-h-screen flex items-center justify-center bg-gray-100">
<div className="max-w-md py-8 px-6 bg-white shadow-lg rounded-lg">
<h2 className="text-3xl font-bold mb-6 text-center">Contribute View</h2>
<p className="text-gray-700 text-center mb-8">
This page is currently under development. Stay tuned!
</p>
<div className="flex justify-center">
<img
className="w-64 h-64 object-cover object-center rounded-full"
src="/images/under_construction.svg"
alt="Under Construction"
/>
</div>
</div>
</div>
);
}
1 change: 1 addition & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { Button } from './ui/button/button';
export { Development } from './development';
15 changes: 15 additions & 0 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const AboutView = lazy(() => import('views/about.view'));
const ServicesView = lazy(() => import('views/services.view'));
const HomeView = lazy(() => import('views/home.view'));
const ServiesView = lazy(() => import('views/services.view'));
const LicenseView = lazy(() => import('views/license.view'));
const ContributeView = lazy(() => import('views/contribute.view'));
const StatusView = lazy(() => import('views/status.view'));

export const router = createBrowserRouter([
{
Expand All @@ -23,6 +26,18 @@ export const router = createBrowserRouter([
path: 'faq',
element: <FaqView />,
},
{
path: 'contribute',
element: <ContributeView />,
},
{
path: 'status',
element: <StatusView />,
},
{
path: 'license',
element: <LicenseView />,
},
{
path: 'services',
element: <ServicesView />,
Expand Down
4 changes: 3 additions & 1 deletion src/views/about.view.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Development } from 'components';

function AboutView() {
return <div>AboutView</div>;
return <Development />;
}

export default AboutView;
4 changes: 3 additions & 1 deletion src/views/contact.view.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Development } from 'components';

function ContactView() {
return <div>ContactView</div>;
return <Development />;
}

export default ContactView;
5 changes: 5 additions & 0 deletions src/views/contribute.view.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Development } from 'components';

export default function Contributeview(): JSX.Element {
return <Development />;
}
4 changes: 3 additions & 1 deletion src/views/faq.view.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Development } from 'components';

function FaqView() {
return <div>FaqView</div>;
return <Development />;
}

export default FaqView;
4 changes: 2 additions & 2 deletions src/views/home.view.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HomeDomains } from 'domains';
import { Development } from 'components';

function HomeView() {
return <HomeDomains />;
return <Development />;
}

export default HomeView;
3 changes: 3 additions & 0 deletions src/views/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ export { default as IphoneView } from './faq.view';
export { default as AboutView } from './about.view';
export { default as IpadView } from './contact.view';
export { default as ServicesView } from './services.view';
export { default as LicenseView } from './license.view';
export { default as StatusView } from './status.view';
export { default as ContributeView } from './contribute.view';
5 changes: 5 additions & 0 deletions src/views/license.view.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { Development } from 'components';

export default function Licenseview(): JSX.Element {
return <Development />;
}
4 changes: 3 additions & 1 deletion src/views/services.view.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Development } from 'components';

function ServicesView() {
return <div>ServicesView</div>;
return <Development />;
}

export default ServicesView;
7 changes: 7 additions & 0 deletions src/views/status.view.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Development } from 'components';

function StatusView() {
return <Development />;
}

export default StatusView;

0 comments on commit 5ced292

Please sign in to comment.