Skip to content

Commit

Permalink
feat: update hero landing and add resource and support section
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-code committed Jan 28, 2025
1 parent 814ef0f commit e52a29d
Show file tree
Hide file tree
Showing 16 changed files with 1,464 additions and 145 deletions.
10 changes: 8 additions & 2 deletions client/src/features/dashboardV2/DashboardV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,22 @@ function FooterDashboard() {
}

interface FooterDashboardCardProps {
className?: string;
children: ReactNode;
url: string;
}
function FooterDashboardCard({ children, url }: FooterDashboardCardProps) {
export function FooterDashboardCard({
className,
children,
url,
}: FooterDashboardCardProps) {
return (
<Card className={cx(DashboardStyles.DashboardCard, "border-0")}>
<Card className={cx(DashboardStyles.DashboardCard, "border-0", "h-100")}>
<CardBody className={DashboardStyles.FooterCard}>
<a
target="_blank"
className={cx(
className,
"text-primary",
"d-flex",
"flex-column",
Expand Down
15 changes: 4 additions & 11 deletions client/src/landing/AnonymousHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ import { stateToSearchString } from "../features/kgSearch";
import AppContext from "../utils/context/appContext";
import { DEFAULT_APP_PARAMS } from "../utils/context/appParams.constants";
import { Url } from "../utils/helpers/url";
import { IntroductionRenku20 } from "./Introduction/IntroductionRenku2.0.tsx";

import { NavBarWarnings } from "./NavBarWarnings";

import VisualHead from "./Graphics/Visual_Head.svg";

import DividerLandingPage from "./Dividier/Divider";
import GetStarted from "./GetSarted/GetStarted";
import HeroLanding from "./HeroLanding/HeroLanding";
import SectionShowcase, { validatedShowcaseConfig } from "./SectionShowcase";
import { ResourcesAndSupport } from "./ResourcesSupport/ResourcesAndSupport.tsx";
import Teaching from "./Teaching/Teaching";
import WhatIsRenku from "./WhatIsRenku/WhatIsRenku";
import WhoWeAre from "./WhoWeAre/WhoWeAre";
Expand Down Expand Up @@ -138,21 +138,14 @@ function StandardHome(props: AnonymousHomeConfig) {
return (
<>
<HeroLanding {...props} scrollToGetStarted={scrollToGetStarted} />
<GetStarted {...props} sectionRef={sectionRef} />
<DividerLandingPage />
<IntroductionRenku20 />
<WhatIsRenku
projectPath={props.homeCustomized.projectPath}
datasetSlug={props.homeCustomized.datasetSlug}
/>
<DividerLandingPage />
<SectionShowcase
{...validatedShowcaseConfig(props.homeCustomized.showcase)}
/>
{props.homeCustomized.showcase.enabled ? (
<DividerLandingPage />
) : undefined}
<Teaching />
<DividerLandingPage />
<ResourcesAndSupport />
<WhoWeAre />
<BottomNav {...props} />
</>
Expand Down
4 changes: 2 additions & 2 deletions client/src/landing/Dividier/Divider.module.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.dividerLandingPage {
background-image: url("../Graphics/divider.svg");
background-image: url("../Graphics/dividerDots.svg");
min-height: 252px;
background-attachment: fixed;
background-position: center;
background-repeat: repeat;
background-size: 500px;
background-size: 1500px;
}
3 changes: 2 additions & 1 deletion client/src/landing/Dividier/Divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
* limitations under the License.
*/

import cx from "classnames";
import styles from "./Divider.module.css";

export default function DividerLandingPage() {
return <div className={styles.dividerLandingPage}></div>;
return <div className={cx(styles.dividerLandingPage, "bg-navy")}></div>;
}
964 changes: 964 additions & 0 deletions client/src/landing/Dividier/dots.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions client/src/landing/Graphics/connectIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
88 changes: 88 additions & 0 deletions client/src/landing/Graphics/dividerDots.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions client/src/landing/Graphics/heroBoxes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions client/src/landing/Graphics/puzzleIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e52a29d

Please sign in to comment.