-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from arifszn/about-page
Add about page
- Loading branch information
Showing
11 changed files
with
158 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
import { BreadcrumbProps } from 'antd'; | ||
import BasePageContainer from '../layout/PageContainer'; | ||
import { webRoutes } from '../../routes/web'; | ||
import { Link } from 'react-router-dom'; | ||
import { AiFillGithub, AiOutlineBug, AiOutlineHeart } from 'react-icons/ai'; | ||
import { FaRegLightbulb } from 'react-icons/fa'; | ||
import packageJson from '../../../package.json'; | ||
|
||
const breadcrumb: BreadcrumbProps = { | ||
items: [ | ||
{ | ||
key: webRoutes.dashboard, | ||
title: <Link to={webRoutes.dashboard}>Dashboard</Link>, | ||
}, | ||
{ | ||
key: webRoutes.about, | ||
title: <Link to={webRoutes.about}>About</Link>, | ||
}, | ||
], | ||
}; | ||
|
||
const About = () => { | ||
const packageVersion = packageJson.version; | ||
|
||
return ( | ||
<BasePageContainer breadcrumb={breadcrumb}> | ||
<div className="m-5"> | ||
<article> | ||
<header className="mb-9 space-y-1"> | ||
<p className="font-display text-sm font-medium text-primary"> | ||
v{packageVersion} | ||
</p> | ||
<h1 className="font-display text-3xl tracking-tight text-slate-900"> | ||
Reforge | ||
</h1> | ||
</header> | ||
<div> | ||
<p className="lead"> | ||
An out-of-box UI solution for enterprise applications as a React | ||
boilerplate.{' '} | ||
</p> | ||
<div className="my-12 grid grid-cols-1 gap-6 sm:grid-cols-2"> | ||
<div className="group relative rounded-xl border border-slate-200"> | ||
<div className="absolute -inset-px rounded-xl border-2 border-transparent opacity-0 [background:linear-gradient(var(--quick-links-hover-bg,theme(colors.sky.50)),var(--quick-links-hover-bg,theme(colors.sky.50)))_padding-box,linear-gradient(to_top,theme(colors.indigo.400),theme(colors.cyan.400),theme(colors.sky.500))_border-box] group-hover:opacity-100" /> | ||
<div className="relative overflow-hidden rounded-xl p-6"> | ||
<AiFillGithub className="text-4xl opacity-90" /> | ||
<h2 className="mt-4 font-display text-base text-slate-900"> | ||
<a | ||
href="https://github.com/arifszn/reforge" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="hover:text-primary" | ||
> | ||
<span className="absolute -inset-px rounded-xl" /> | ||
GitHub | ||
</a> | ||
</h2> | ||
<p className="mt-1 text-sm text-slate-700"> | ||
Source code of the website. | ||
</p> | ||
</div> | ||
</div> | ||
<div className="group relative rounded-xl border border-slate-200"> | ||
<div className="absolute -inset-px rounded-xl border-2 border-transparent opacity-0 [background:linear-gradient(var(--quick-links-hover-bg,theme(colors.sky.50)),var(--quick-links-hover-bg,theme(colors.sky.50)))_padding-box,linear-gradient(to_top,theme(colors.indigo.400),theme(colors.cyan.400),theme(colors.sky.500))_border-box] group-hover:opacity-100" /> | ||
<div className="relative overflow-hidden rounded-xl p-6"> | ||
<AiOutlineBug className="text-4xl opacity-90" /> | ||
<h2 className="mt-4 font-display text-base text-slate-900"> | ||
<a | ||
href="https://github.com/arifszn/reforge/issues" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="hover:text-primary" | ||
> | ||
<span className="absolute -inset-px rounded-xl" /> | ||
Report Bug | ||
</a> | ||
</h2> | ||
<p className="mt-1 text-sm text-slate-700"> | ||
Something not working? Report a bug. | ||
</p> | ||
</div> | ||
</div> | ||
<div className="group relative rounded-xl border border-slate-200"> | ||
<div className="absolute -inset-px rounded-xl border-2 border-transparent opacity-0 [background:linear-gradient(var(--quick-links-hover-bg,theme(colors.sky.50)),var(--quick-links-hover-bg,theme(colors.sky.50)))_padding-box,linear-gradient(to_top,theme(colors.indigo.400),theme(colors.cyan.400),theme(colors.sky.500))_border-box] group-hover:opacity-100" /> | ||
<div className="relative overflow-hidden rounded-xl p-6"> | ||
<FaRegLightbulb className="text-4xl opacity-90" /> | ||
<h2 className="mt-4 font-display text-base text-slate-900"> | ||
<a | ||
href="https://github.com/arifszn/reforge/discussions/categories/ideas" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="hover:text-primary" | ||
> | ||
<span className="absolute -inset-px rounded-xl" /> | ||
Request Feature | ||
</a> | ||
</h2> | ||
<p className="mt-1 text-sm text-slate-700"> | ||
Need something? Request a new feature. | ||
</p> | ||
</div> | ||
</div> | ||
<div className="group relative rounded-xl border border-slate-200"> | ||
<div className="absolute -inset-px rounded-xl border-2 border-transparent opacity-0 [background:linear-gradient(var(--quick-links-hover-bg,theme(colors.sky.50)),var(--quick-links-hover-bg,theme(colors.sky.50)))_padding-box,linear-gradient(to_top,theme(colors.indigo.400),theme(colors.cyan.400),theme(colors.sky.500))_border-box] group-hover:opacity-100" /> | ||
<div className="relative overflow-hidden rounded-xl p-6"> | ||
<AiOutlineHeart className="text-4xl opacity-90" /> | ||
<h2 className="mt-4 font-display text-base text-slate-900"> | ||
<a | ||
href="https://github.com/arifszn/reforge/blob/main/CONTRIBUTING.md" | ||
target="_blank" | ||
rel="noreferrer" | ||
className="hover:text-primary" | ||
> | ||
<span className="absolute -inset-px rounded-xl" /> | ||
Contribute | ||
</a> | ||
</h2> | ||
<p className="mt-1 text-sm text-slate-700"> | ||
Contribute to this project. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</article> | ||
</div> | ||
</BasePageContainer> | ||
); | ||
}; | ||
|
||
export default About; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ export const webRoutes = { | |
logout: '/logout', | ||
dashboard: '/dashboard', | ||
users: '/users', | ||
about: '/about', | ||
}; |