Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix ul > li styles, add docs link to pages

Amruth Pillaifac8a9d4ff1d
diff --git a/client/components/build/Center/Page.module.scss b/client/components/build/Center/Page.module.scss
index db347286d..a9cdd02fc 100644
--- a/client/components/build/Center/Page.module.scss
+++ b/client/components/build/Center/Page.module.scss
@@ -28,9 +28,11 @@
}
}
- ul {
- padding-left: 1.5em;
- text-indent: -1.5em;
+ .markdown {
+ ul {
+ padding-left: 1.5em;
+ text-indent: -1.5em;
+ }
}
}
diff --git a/client/components/build/RightSidebar/sections/Links.tsx b/client/components/build/RightSidebar/sections/Links.tsx
index caabed14f..1d85e66ba 100644
--- a/client/components/build/RightSidebar/sections/Links.tsx
+++ b/client/components/build/RightSidebar/sections/Links.tsx
@@ -3,7 +3,7 @@ import { Button } from '@mui/material';
import { useTranslation } from 'next-i18next';
import Heading from '@/components/shared/Heading';
-import { DONATION_URL, GITHUB_ISSUES_URL, GITHUB_URL } from '@/constants/index';
+import { DOCS_URL, DONATION_URL, GITHUB_ISSUES_URL, GITHUB_URL } from '@/constants/index';
import styles from './Links.module.scss';
@@ -49,6 +49,12 @@ const Links = () => {
{t<string>('builder.rightSidebar.sections.links.github')}
</Button>
</a>
+
+ <a href={DOCS_URL} target="_blank" rel="noreferrer">
+ <Button variant="text" startIcon={<Link />}>
+ {t<string>('builder.rightSidebar.sections.links.docs')}
+ </Button>
+ </a>
</div>
</div>
</>
diff --git a/client/constants/index.ts b/client/constants/index.ts
index 54f242162..3e7768051 100644
--- a/client/constants/index.ts
+++ b/client/constants/index.ts
@@ -9,6 +9,7 @@ export const VALID_URL_REGEX = /[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}
export const FILENAME_TIMESTAMP = 'DDMMYYYYHHmmss';
// Links
+export const DOCS_URL = 'https://docs.rxresu.me';
export const DONATION_URL = 'https://paypal.me/RajaRajanA';
export const TRANSLATE_URL = 'https://translate.rxresu.me/';
export const DIGITALOCEAN_URL = 'https://pillai.xyz/digitalocean';
diff --git a/client/pages/index.tsx b/client/pages/index.tsx
index a4d787da4..73917ed59 100644
--- a/client/pages/index.tsx
+++ b/client/pages/index.tsx
@@ -20,7 +20,7 @@ import { useAppDispatch, useAppSelector } from '@/store/hooks';
import { setModalState } from '@/store/modal/modalSlice';
import styles from '@/styles/pages/Home.module.scss';
-import { DIGITALOCEAN_URL, DONATION_URL, GITHUB_URL } from '../constants';
+import { DIGITALOCEAN_URL, DOCS_URL, DONATION_URL, GITHUB_URL } from '../constants';
export const getStaticProps: GetStaticProps = async ({ locale = 'en' }) => {
return {
@@ -170,6 +170,12 @@ const Home: NextPage = () => {
</Button>
</a>
+ <a href={DOCS_URL} target="_blank" rel="noreferrer">
+ <Button variant="text" startIcon={<LinkIcon />}>
+ {t<string>('landing.links.links.docs')}
+ </Button>
+ </a>
+
<a href={DONATION_URL} target="_blank" rel="noreferrer">
<Button variant="text" startIcon={<LinkIcon />}>
{t<string>('landing.links.links.donate')}
diff --git a/client/public/locales/en/builder.json b/client/public/locales/en/builder.json
index ae72519b2..f77d7ae9c 100644
--- a/client/public/locales/en/builder.json
+++ b/client/public/locales/en/builder.json
@@ -270,6 +270,7 @@
"heading": "Donate to Reactive Resume"
},
"github": "Source Code",
+ "docs": "Documentation",
"heading": "Links"
},
"settings": {
diff --git a/client/public/locales/en/landing.json b/client/public/locales/en/landing.json
index 2c50c6f39..e23322fcc 100644
--- a/client/public/locales/en/landing.json
+++ b/client/public/locales/en/landing.json
@@ -22,6 +22,7 @@
"links": {
"donate": "Donate",
"github": "Source Code",
+ "docs": "Documentation",
"privacy": "Privacy Policy",
"service": "Terms of Service"
}