mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-07 05:02:07 +02:00
Normalize links
This commit is contained in:
parent
bd9054f02e
commit
78db8f07a2
9 changed files with 24 additions and 24 deletions
|
@ -167,7 +167,7 @@ const AboutPage = (props) => {
|
|||
<Link
|
||||
className={projectStyles.projectCard}
|
||||
key={project.lang + "/" + project.urlname}
|
||||
to={"/projects/" + project.urlname}
|
||||
to={"/projects/" + project.urlname + "/"}
|
||||
>
|
||||
<div
|
||||
className={
|
||||
|
@ -211,7 +211,7 @@ const AboutPage = (props) => {
|
|||
);
|
||||
})}
|
||||
</div>
|
||||
<Link to="/projects" className={styles.seeMoreButton}>
|
||||
<Link to="/projects/" className={styles.seeMoreButton}>
|
||||
<Trans>about.moreProjects</Trans> <ArrowRight />
|
||||
</Link>
|
||||
</article>
|
||||
|
@ -295,7 +295,7 @@ const AboutPage = (props) => {
|
|||
</div>
|
||||
</section>
|
||||
{modules.donation && (
|
||||
<Link className={styles.donationSection} to="/donate">
|
||||
<Link className={styles.donationSection} to="/donate/">
|
||||
<div>
|
||||
<span>
|
||||
<Trans>about.donationCatchphrase</Trans>
|
||||
|
|
|
@ -192,7 +192,7 @@ const IndexPage = (props) => {
|
|||
</div>
|
||||
<div className={styles.spacer}></div>
|
||||
<div className={styles.landingCta}>
|
||||
<Link to={"/projects"}>
|
||||
<Link to={"/projects/"}>
|
||||
<div>
|
||||
<span className={styles.ctaAccent}>
|
||||
{t("home.explore")}
|
||||
|
@ -201,7 +201,7 @@ const IndexPage = (props) => {
|
|||
</div>
|
||||
<ArrowRight />
|
||||
</Link>
|
||||
<Link to={"/social"}>
|
||||
<Link to={"/social/"}>
|
||||
<div>
|
||||
<span className={styles.ctaAccent}>
|
||||
{t("home.discover")}
|
||||
|
@ -210,7 +210,7 @@ const IndexPage = (props) => {
|
|||
</div>
|
||||
<ArrowRight />
|
||||
</Link>
|
||||
<Link to={"/about"}>
|
||||
<Link to={"/about/"}>
|
||||
<div>
|
||||
<span className={styles.ctaAccent}>
|
||||
{t("home.learn")}
|
||||
|
|
|
@ -90,7 +90,7 @@ const ProjectsPage = ({ data }) => {
|
|||
<Link
|
||||
className={styles.projectCard}
|
||||
key={project.lang + project.urlname}
|
||||
to={"/projects/" + project.urlname}
|
||||
to={"/projects/" + project.urlname + "/"}
|
||||
>
|
||||
<div className={styles.projectCardImage}>
|
||||
<div className={styles.projectCardBg}>
|
||||
|
|
|
@ -45,7 +45,7 @@ const SocialPage = ({ data }) => {
|
|||
|
||||
<p>
|
||||
<Trans i18nKey="social.descriptionWithLink">
|
||||
socialDescriptionWith<Link to="/friends">Link</Link>
|
||||
socialDescriptionWith<Link to="/friends/">Link</Link>
|
||||
</Trans>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue