Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: restore missing images on landing page #29

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/components/LandingFooter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { ReactComponent as FacebookIcon } from "../../assets/images/facebook.svg
import { ReactComponent as LinkedinIcon } from "../../assets/images/Linkedin.svg";
import { ReactComponent as MediumIcon } from "../../assets/images/medium.svg";


const LandingFooter = () => (
<footer className="LandingFooter">
<div className="FooterRow">
Expand All @@ -20,9 +19,8 @@ const LandingFooter = () => (
</div>
<div>
<p className="LandingFooterCopyright LogoBrandName">
Copyright {new Date().getFullYear()} Crane Cloud, Ltd
Copyright {new Date().getFullYear()} Crane Cloud
</p>
<p className="TextDivSpacing">Made in Uganda</p>
</div>
<div className="SocialsIcons">
<a
Expand Down
35 changes: 16 additions & 19 deletions src/components/LandingPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ import { ReactComponent as CSS } from "../../assets/images/css.svg";
import { ReactComponent as Drupal } from "../../assets/images/drupal.svg";
import { ReactComponent as GitLab } from "../../assets/images/gitlab.svg";
import { ReactComponent as GoPlayground } from "../../assets/images/go.svg";
import {
MIRA_DOCS_URL,
DOCS_URL,
} from "../../config";
import { MIRA_DOCS_URL, DOCS_URL } from "../../config";
import SecondaryButton from "../../components/SecondaryButton";
import styles from "./LandingPage.module.css";

Expand Down Expand Up @@ -77,7 +74,7 @@ const LandingPage = () => {
<div className={styles.DataCenterImage}>
<img
alt="data-center"
src={require("../../assets/images/server_image.jpg").default}
src={require("../../assets/images/server_image.jpg")}
/>
</div>

Expand Down Expand Up @@ -117,7 +114,7 @@ const LandingPage = () => {
<div className={styles.LeftPageBannerInner}>
<h2>Migrate to the cloud</h2>
<p className={styles.BannerParagraph}>
Institutions, students, and ICT practitioners looking for a
Institutions, students, and ICT practitioners looking for a
reliable and efficient cloud computing solution should
consider migrating to managed cloud services provided by Crane
Cloud. With Crane Cloud's managed cloud services, you can be
Expand Down Expand Up @@ -351,10 +348,10 @@ const LandingPage = () => {
target="_blank"
> */}
<Link
to={{
pathname: "/gitlab",
}}
>
to={{
pathname: "/gitlab",
}}
>
<button className={styles.GetStartedButton}>
<div>Get Started</div>
<RightArrow />
Expand All @@ -374,10 +371,10 @@ const LandingPage = () => {
</div>
<div className={styles.ButtonSection}>
<Link
to={{
pathname: "/goplay",
}}
>
to={{
pathname: "/goplay",
}}
>
<button className={styles.GetStartedButton}>
<div>Get Started</div>
<RightArrow />
Expand All @@ -389,7 +386,7 @@ const LandingPage = () => {
<img
className={styles.BrandLogo}
alt="jupyterhub_logo"
src={require("../../assets/images/jupyterhub.png").default}
src={require("../../assets/images/jupyterhub.png")}
/>
<div>
<h3 className={styles.textCenter}>JupyterHub</h3>
Expand All @@ -401,10 +398,10 @@ const LandingPage = () => {
</div>
<div className={styles.ButtonSection}>
<Link
to={{
pathname: "/jupyter",
}}
>
to={{
pathname: "/jupyter",
}}
>
<button className={styles.GetStartedButton}>
<div>Get Started</div>
<RightArrow />
Expand Down
Loading