mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 08:34:54 -04:00
Replace links to /features with /n/features (#297)
* Replaced links to /features with /n/features It was discussed and agreed on that all notes should reside under the /n/ namespace in the future. Even if we want to redirect all pre-2.0-notes from the root namespace to the /n/ namespace, it might be better to set the internal links for the features page properly instead on relying on the redirect. * Improved note placeholder text
This commit is contained in:
parent
d13adcc9c3
commit
8ab7776a82
4 changed files with 6 additions and 6 deletions
|
@ -133,7 +133,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
"placeholder": "← Start by entering a title here\n===\nVisit /features if you don't know what to do.\nHappy hacking :)",
|
"placeholder": "← Start by entering a title here\n===\nVisit the features page if you don't know what to do.\nHappy hacking :)",
|
||||||
"help": {
|
"help": {
|
||||||
"contacts": {
|
"contacts": {
|
||||||
"title": "Contacts",
|
"title": "Contacts",
|
||||||
|
|
|
@ -23,7 +23,7 @@ export const UserDropdown: React.FC = () => {
|
||||||
</Dropdown.Toggle>
|
</Dropdown.Toggle>
|
||||||
|
|
||||||
<Dropdown.Menu className='text-start'>
|
<Dropdown.Menu className='text-start'>
|
||||||
<LinkContainer to={'/features'}>
|
<LinkContainer to={'/n/features'}>
|
||||||
<Dropdown.Item dir='auto'>
|
<Dropdown.Item dir='auto'>
|
||||||
<ForkAwesomeIcon icon="bolt" fixedWidth={true} className="mx-2"/>
|
<ForkAwesomeIcon icon="bolt" fixedWidth={true} className="mx-2"/>
|
||||||
<Trans i18nKey="editor.help.documents.features"/>
|
<Trans i18nKey="editor.help.documents.features"/>
|
||||||
|
|
|
@ -29,7 +29,7 @@ export const CoverButtons: React.FC = () => {
|
||||||
<Trans i18nKey="common.or"/>
|
<Trans i18nKey="common.or"/>
|
||||||
</span>
|
</span>
|
||||||
</ShowIf>
|
</ShowIf>
|
||||||
<Link to="/features">
|
<Link to="/n/features">
|
||||||
<Button
|
<Button
|
||||||
className="cover-button"
|
className="cover-button"
|
||||||
variant="primary"
|
variant="primary"
|
||||||
|
|
|
@ -9,7 +9,7 @@ export const FeatureLinks: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
<Row className="mb-5">
|
<Row className="mb-5">
|
||||||
<Col md={4}>
|
<Col md={4}>
|
||||||
<Link to={'/features#Share-Notes'} className="text-light">
|
<Link to={'/n/features#Share-Notes'} className="text-light">
|
||||||
<ForkAwesomeIcon icon="bolt" size="3x"/>
|
<ForkAwesomeIcon icon="bolt" size="3x"/>
|
||||||
<h5>
|
<h5>
|
||||||
<Trans i18nKey="landing.intro.features.collaboration"/>
|
<Trans i18nKey="landing.intro.features.collaboration"/>
|
||||||
|
@ -17,7 +17,7 @@ export const FeatureLinks: React.FC = () => {
|
||||||
</Link>
|
</Link>
|
||||||
</Col>
|
</Col>
|
||||||
<Col md={4}>
|
<Col md={4}>
|
||||||
<Link to={'/features#MathJax'} className="text-light">
|
<Link to={'/n/features#MathJax'} className="text-light">
|
||||||
<ForkAwesomeIcon icon="bar-chart" size="3x"/>
|
<ForkAwesomeIcon icon="bar-chart" size="3x"/>
|
||||||
<h5>
|
<h5>
|
||||||
<Trans i18nKey="landing.intro.features.mathJax"/>
|
<Trans i18nKey="landing.intro.features.mathJax"/>
|
||||||
|
@ -25,7 +25,7 @@ export const FeatureLinks: React.FC = () => {
|
||||||
</Link>
|
</Link>
|
||||||
</Col>
|
</Col>
|
||||||
<Col md={4}>
|
<Col md={4}>
|
||||||
<Link to={'/features#Slide-Mode'} className="text-light">
|
<Link to={'/n/features#Slide-Mode'} className="text-light">
|
||||||
<ForkAwesomeIcon icon="television" size="3x"/>
|
<ForkAwesomeIcon icon="television" size="3x"/>
|
||||||
<h5>
|
<h5>
|
||||||
<Trans i18nKey="landing.intro.features.slides"/>
|
<Trans i18nKey="landing.intro.features.slides"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue