mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-04-08 21:00:58 +00: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": {
|
||||
"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": {
|
||||
"contacts": {
|
||||
"title": "Contacts",
|
||||
|
|
|
@ -23,7 +23,7 @@ export const UserDropdown: React.FC = () => {
|
|||
</Dropdown.Toggle>
|
||||
|
||||
<Dropdown.Menu className='text-start'>
|
||||
<LinkContainer to={'/features'}>
|
||||
<LinkContainer to={'/n/features'}>
|
||||
<Dropdown.Item dir='auto'>
|
||||
<ForkAwesomeIcon icon="bolt" fixedWidth={true} className="mx-2"/>
|
||||
<Trans i18nKey="editor.help.documents.features"/>
|
||||
|
|
|
@ -29,7 +29,7 @@ export const CoverButtons: React.FC = () => {
|
|||
<Trans i18nKey="common.or"/>
|
||||
</span>
|
||||
</ShowIf>
|
||||
<Link to="/features">
|
||||
<Link to="/n/features">
|
||||
<Button
|
||||
className="cover-button"
|
||||
variant="primary"
|
||||
|
|
|
@ -9,7 +9,7 @@ export const FeatureLinks: React.FC = () => {
|
|||
return (
|
||||
<Row className="mb-5">
|
||||
<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"/>
|
||||
<h5>
|
||||
<Trans i18nKey="landing.intro.features.collaboration"/>
|
||||
|
@ -17,7 +17,7 @@ export const FeatureLinks: React.FC = () => {
|
|||
</Link>
|
||||
</Col>
|
||||
<Col md={4}>
|
||||
<Link to={'/features#MathJax'} className="text-light">
|
||||
<Link to={'/n/features#MathJax'} className="text-light">
|
||||
<ForkAwesomeIcon icon="bar-chart" size="3x"/>
|
||||
<h5>
|
||||
<Trans i18nKey="landing.intro.features.mathJax"/>
|
||||
|
@ -25,7 +25,7 @@ export const FeatureLinks: React.FC = () => {
|
|||
</Link>
|
||||
</Col>
|
||||
<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"/>
|
||||
<h5>
|
||||
<Trans i18nKey="landing.intro.features.slides"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue