Skip to content

Commit

Permalink
update links
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-code committed Feb 4, 2025
1 parent cf758d8 commit 7ea6f0d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function ResourcesAndSupport() {
<Row className={cx("text-center", "gap-5", "gap-lg-0")}>
<Col xs={12} lg={4} className={cx("px-3", "text-center")}>
<FooterDashboardCard
url={Links.RENKU_BLOG}
url={Links.RENKU_2_GET_HELP}
className="text-decoration-none text-navy"
>
<InfoCircle size={60} />
Expand Down
46 changes: 2 additions & 44 deletions client/src/landing/WhatIsRenku/WhatIsRenku.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,15 @@
*/

import cx from "classnames";
import { Link } from "react-router-dom";
import { useLoginUrl } from "../../authentication/useLoginUrl.hook";

import { Col, Row } from "reactstrap";
import { ExternalLink } from "../../components/ExternalLinks";
import { RenkuContactEmail } from "../../utils/constants/Docs";
import collaborationGraphic from "../Graphics/boxes.svg";
import computingGraphic from "../Graphics/computing.svg";
import connectionGraphic from "../Graphics/network.svg";
import researchGraphic from "../Graphics/research.svg";
import { useCustomHomePageProjectUrl } from "../hooks/useCustomHomePageProjectUrl.hook";
import TemplateSlider from "../TemplateSlider/TemplateSlider";

import { Col, Row } from "reactstrap";

function FeatureButtons() {
const loginUrl = useLoginUrl();
const projectUrl = useCustomHomePageProjectUrl();
return (
<div className={cx("d-flex", "gap-3")}>
<Link
className={cx("btn", "btn-primary", "text-decoration-none")}
to={projectUrl}
data-cy={`view-other-projects-btn`}
target="_blank"
>
Explore a project
</Link>
<a
className={cx("btn", "btn-outline-primary")}
href={loginUrl.href}
target="_blank"
rel="noreferrer noopener"
>
Create an account
</a>
</div>
);
}

function ResearchFeatSection() {
return (
<Row
Expand All @@ -82,7 +52,6 @@ function ResearchFeatSection() {
and data platforms, so you can connect your whole project in one
place.
</p>
<FeatureButtons />
</Col>
</Row>
);
Expand Down Expand Up @@ -116,7 +85,6 @@ function ResearcherFeatSection() {
Launch browser-based sessions with zero setup. Customize your
development environment for advanced needs.
</p>
<FeatureButtons />
</Col>
<Col xs={12} lg={6} className={cx("order-1", "order-lg-2")}>
<div className={cx("py-5", "py-lg-0")}>
Expand Down Expand Up @@ -152,7 +120,6 @@ function CollaborationFeatSection() {
Share your Renku project with anyone, and never worry about “it
doesn’t work on my machine” again.
</p>
<FeatureButtons />
</Col>
</Row>
);
Expand Down Expand Up @@ -180,15 +147,7 @@ function ComputingFeatSection() {
Scaling up your project is as simple as switching your resource class.
Do data exploration and model training all in one place!
</p>
<div className={cx("d-flex", "flex-column", "gap-3")}>
<div>
<Link
className={cx("btn", "btn-primary", "text-decoration-none")}
to="/v2/search?page=1&perPage=12&q=type:project"
>
Try it out a session
</Link>
</div>
<div>
<ExternalLink
className="text-primary"
role="link"
Expand Down Expand Up @@ -235,7 +194,6 @@ function ConnectionFeatSection() {
Research thrives on connection. Renku makes your work naturally
well-structured, discoverable by others, and easy to build upon.
</p>
<FeatureButtons />
</Col>
</Row>
);
Expand Down
4 changes: 2 additions & 2 deletions client/src/landing/anonymousHomeNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { Button, Col, Collapse, Nav, Navbar, NavItem, Row } from "reactstrap";

import { useLoginUrl } from "../authentication/useLoginUrl.hook";
import { ExternalLink } from "../components/ExternalLinks";
import { Docs, Links } from "../utils/constants/Docs";
import { Links } from "../utils/constants/Docs";
import { Url } from "../utils/helpers/url";

const logo = "/static/public/img/logo.svg";
Expand Down Expand Up @@ -125,7 +125,7 @@ function BottomNav() {
/>
<BottomNavExternalLink
title="Why Renku?"
url={Docs.READ_THE_DOCS_WHY_RENKU}
url={Links.RENKU_2_WHY_RENKU}
/>
<BottomNavExternalLink
title="Who we are?"
Expand Down
4 changes: 4 additions & 0 deletions client/src/utils/constants/Docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ const Links = {
"https://renku.notion.site/Renku-for-Events-18c0df2efafc800bb26ae93333b4318d",
RENKU_2_QUICK_START_TUTORIAL:
"https://www.notion.so/renku/Quick-Start-tutorial-1460df2efafc80998204c1f61e333e63",
RENKU_2_GET_HELP:
"https://www.notion.so/renku/Get-help-1a2b4b7b0e4746769e246c0328d3d3ad",
RENKU_2_WHY_RENKU:
"https://renku.notion.site/Why-Renku-1900df2efafc80839b26cbad43f24778",
};

const GitlabLinks = {
Expand Down

0 comments on commit 7ea6f0d

Please sign in to comment.