refactor(client): 📝 add link to subreddit

This commit is contained in:
Amruth Pillai
2022-12-16 22:56:23 +01:00
parent b5ce67f863
commit 556e962ec5
5 changed files with 37 additions and 22 deletions

View File

@ -3,7 +3,7 @@ import { Button } from '@mui/material';
import { useTranslation } from 'next-i18next'; import { useTranslation } from 'next-i18next';
import Heading from '@/components/shared/Heading'; import Heading from '@/components/shared/Heading';
import { DOCS_URL, DONATION_URL, GITHUB_ISSUES_URL, GITHUB_URL } from '@/constants/index'; import { DOCS_URL, DONATION_URL, GITHUB_ISSUES_URL, GITHUB_URL, REDDIT_URL } from '@/constants/index';
import styles from './Links.module.scss'; import styles from './Links.module.scss';
@ -50,6 +50,12 @@ const Links = () => {
</Button> </Button>
</a> </a>
<a href={REDDIT_URL} target="_blank" rel="noreferrer">
<Button variant="text" startIcon={<Link />}>
{t<string>('builder.rightSidebar.sections.links.reddit')}
</Button>
</a>
<a href={DOCS_URL} target="_blank" rel="noreferrer"> <a href={DOCS_URL} target="_blank" rel="noreferrer">
<Button variant="text" startIcon={<Link />}> <Button variant="text" startIcon={<Link />}>
{t<string>('builder.rightSidebar.sections.links.docs')} {t<string>('builder.rightSidebar.sections.links.docs')}

View File

@ -13,6 +13,7 @@ export const DOCS_URL = 'https://docs.rxresu.me';
export const DONATION_URL = 'https://paypal.me/RajaRajanA'; export const DONATION_URL = 'https://paypal.me/RajaRajanA';
export const TRANSLATE_URL = 'https://translate.rxresu.me/'; export const TRANSLATE_URL = 'https://translate.rxresu.me/';
export const DIGITALOCEAN_URL = 'https://pillai.xyz/digitalocean'; export const DIGITALOCEAN_URL = 'https://pillai.xyz/digitalocean';
export const REDDIT_URL = 'https://www.reddit.com/r/reactiveresume/';
export const GITHUB_URL = 'https://github.com/AmruthPillai/Reactive-Resume'; export const GITHUB_URL = 'https://github.com/AmruthPillai/Reactive-Resume';
export const PRODUCT_HUNT_URL = 'https://www.producthunt.com/posts/reactive-resume-v3'; export const PRODUCT_HUNT_URL = 'https://www.producthunt.com/posts/reactive-resume-v3';
export const GITHUB_ISSUES_URL = 'https://github.com/AmruthPillai/Reactive-Resume/issues/new/choose'; export const GITHUB_ISSUES_URL = 'https://github.com/AmruthPillai/Reactive-Resume/issues/new/choose';

View File

@ -20,7 +20,7 @@ import { useAppDispatch, useAppSelector } from '@/store/hooks';
import { setModalState } from '@/store/modal/modalSlice'; import { setModalState } from '@/store/modal/modalSlice';
import styles from '@/styles/pages/Home.module.scss'; import styles from '@/styles/pages/Home.module.scss';
import { DIGITALOCEAN_URL, DOCS_URL, DONATION_URL, GITHUB_URL } from '../constants'; import { DIGITALOCEAN_URL, DOCS_URL, DONATION_URL, GITHUB_URL, REDDIT_URL } from '../constants';
export const getStaticProps: GetStaticProps = async ({ locale = 'en' }) => ({ export const getStaticProps: GetStaticProps = async ({ locale = 'en' }) => ({
props: { props: {
@ -177,6 +177,12 @@ const Home: NextPage = () => {
</Button> </Button>
</a> </a>
<a href={REDDIT_URL} target="_blank" rel="noreferrer">
<Button variant="text" startIcon={<LinkIcon />}>
{t<string>('landing.links.links.reddit')}
</Button>
</a>
<a href={DONATION_URL} target="_blank" rel="noreferrer"> <a href={DONATION_URL} target="_blank" rel="noreferrer">
<Button variant="text" startIcon={<LinkIcon />}> <Button variant="text" startIcon={<LinkIcon />}>
{t<string>('landing.links.links.donate')} {t<string>('landing.links.links.donate')}

View File

@ -3,8 +3,8 @@
"actions": { "actions": {
"add": "Add New {{token}}", "add": "Add New {{token}}",
"delete": "Delete {{token}}", "delete": "Delete {{token}}",
"edit": "Edit {{token}}", "duplicate": "Duplicate Section",
"duplicate": "Duplicate Section" "edit": "Edit {{token}}"
}, },
"columns": { "columns": {
"heading": "Columns", "heading": "Columns",
@ -81,13 +81,13 @@
"center-artboard": "Center Artboard", "center-artboard": "Center Artboard",
"copy-link": "Copy Link to Resume", "copy-link": "Copy Link to Resume",
"export-pdf": "Export PDF", "export-pdf": "Export PDF",
"redo": "Redo",
"toggle-orientation": "Toggle Page Orientation", "toggle-orientation": "Toggle Page Orientation",
"toggle-page-break-line": "Toggle Page Break Line", "toggle-page-break-line": "Toggle Page Break Line",
"toggle-sidebars": "Toggle Sidebars", "toggle-sidebars": "Toggle Sidebars",
"zoom-in": "Zoom In",
"zoom-out": "Zoom Out",
"undo": "Undo", "undo": "Undo",
"redo": "Redo" "zoom-in": "Zoom In",
"zoom-out": "Zoom Out"
} }
}, },
"header": { "header": {
@ -115,6 +115,9 @@
"actions": { "actions": {
"photo-filters": "Photo Filters" "photo-filters": "Photo Filters"
}, },
"birthdate": {
"label": "Date of Birth"
},
"heading": "Basics", "heading": "Basics",
"headline": { "headline": {
"label": "Headline" "label": "Headline"
@ -122,9 +125,6 @@
"name": { "name": {
"label": "Full Name" "label": "Full Name"
}, },
"birthdate": {
"label": "Date of Birth"
},
"photo-filters": { "photo-filters": {
"effects": { "effects": {
"border": { "border": {
@ -265,14 +265,15 @@
"button": "GitHub Issues", "button": "GitHub Issues",
"heading": "Bugs? Feature Requests?" "heading": "Bugs? Feature Requests?"
}, },
"docs": "Documentation",
"donate": { "donate": {
"body": "If you liked using Reactive Resume, please consider donating as much as you can to the cause of keeping the app up and running, without ads and free forever.", "body": "If you liked using Reactive Resume, please consider donating as much as you can to the cause of keeping the app up and running, without ads and free forever.",
"button": "Buy me a coffee", "button": "Buy me a coffee",
"heading": "Donate to Reactive Resume" "heading": "Donate to Reactive Resume"
}, },
"github": "Source Code", "github": "Source Code",
"docs": "Documentation", "heading": "Links",
"heading": "Links" "reddit": "Reddit"
}, },
"settings": { "settings": {
"global": { "global": {
@ -291,14 +292,14 @@
}, },
"heading": "Settings", "heading": "Settings",
"page": { "page": {
"format": {
"primary": "Paper Size",
"secondary": "Determines the dimensions of your resume pages"
},
"break-line": { "break-line": {
"primary": "Break Line", "primary": "Break Line",
"secondary": "Show a line on all pages to mark the height of an A4 page" "secondary": "Show a line on all pages to mark the height of an A4 page"
}, },
"format": {
"primary": "Paper Size",
"secondary": "Determines the dimensions of your resume pages"
},
"heading": "Page", "heading": "Page",
"orientation": { "orientation": {
"disabled": "Has no effect when there is only one page", "disabled": "Has no effect when there is only one page",

View File

@ -20,23 +20,24 @@
"links": { "links": {
"heading": "Links", "heading": "Links",
"links": { "links": {
"docs": "Documentation",
"donate": "Donate", "donate": "Donate",
"github": "Source Code", "github": "Source Code",
"docs": "Documentation",
"privacy": "Privacy Policy", "privacy": "Privacy Policy",
"reddit": "Reddit",
"service": "Terms of Service" "service": "Terms of Service"
} }
}, },
"screenshots": { "screenshots": {
"heading": "Screenshots" "heading": "Screenshots"
}, },
"testimonials": {
"heading": "Testimonials",
"body": "Good or bad, I would love to hear your opinion on Reactive Resume and how the experience has been for you.<br/>Here are some of the messages sent in by users across the world.",
"contact": "You can reach out to me through <1>my email</1> or through the contact form on <3>my website</3>."
},
"summary": { "summary": {
"body": "Reactive Resume is a free and open source resume builder that's built to make the mundane tasks of creating, updating and sharing your resume as easy as 1, 2, 3. With this app, you can create multiple resumes, share them with recruiters or friends through a unique link and print it as a PDF, all for free, no ads, no tracking, without losing the integrity and privacy of your data.", "body": "Reactive Resume is a free and open source resume builder that's built to make the mundane tasks of creating, updating and sharing your resume as easy as 1, 2, 3. With this app, you can create multiple resumes, share them with recruiters or friends through a unique link and print it as a PDF, all for free, no ads, no tracking, without losing the integrity and privacy of your data.",
"heading": "Summary" "heading": "Summary"
},
"testimonials": {
"body": "Good or bad, I would love to hear your opinion on Reactive Resume and how the experience has been for you.<br/>Here are some of the messages sent in by users across the world.",
"contact": "You can reach out to me through <1>my email</1> or through the contact form on <3>my website</3>.",
"heading": "Testimonials"
} }
} }