diff --git a/docs/docs/homepage/case-studies.ts b/docs/docs/homepage/case-studies.ts index 62e60735be8..2e6fd3b58e0 100644 --- a/docs/docs/homepage/case-studies.ts +++ b/docs/docs/homepage/case-studies.ts @@ -4,8 +4,8 @@ export const FeaturedCaseStudy = { content: translate({ id: "homepage.caseStudy.content", message: - "From enabling micropayments with near-zero fees and instant processing to boosting the performanceof decentralized finance (DeFi) applications and enhancing real-time gaming experiences, Hydra can enhance user engagement across various sectors. Discover how Hydra’s cost-efficient, scalable, and low-latency transactions can address real-world problems and support innovative solutions on the Cardano platform.", + "From enabling micropayments with near-zero fees and instant processing to boosting the performance of decentralized finance (DeFi) applications and enhancing real-time gaming experiences, Hydra can enhance user engagement across various sectors. Discover how Hydra’s cost-efficient, scalable, and low-latency transactions can address real-world problems and support innovative solutions on the Cardano platform.", }), src: require("@site/static/img/case-studies.png").default, - mobileSrc: require("@site/static/img/case-studies-mobile.png").default, + tabletSrc: require("@site/static/img/case-studies-tablet.png").default, }; diff --git a/docs/docs/homepage/features.tsx b/docs/docs/homepage/features.tsx index def1cbaa1c5..1c61f3c9838 100644 --- a/docs/docs/homepage/features.tsx +++ b/docs/docs/homepage/features.tsx @@ -11,13 +11,13 @@ export const FeatureList = [ { title: translate({ id: "homepage.featureList.lowLatency.title", - message: "Low Latency", + message: "Low latency", }), icon: , description: translate({ id: "homepage.featureList.lowLatency.description", message: - "Transaction finality is only bounded by Head network latency, resulting in near-instant settlement", + "Transaction finality is only bounded by head network latency, resulting in near-instant settlement", }), }, { diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index cf6d39ef17c..7add7377154 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -153,9 +153,9 @@ const config = { respectPrefersColorScheme: false, }, navbar: { - title: "Hydra Head Protocol", + title: "Hydra Head protocol", logo: { - alt: "Hydra Head Protocol", + alt: "Hydra Head protocol", src: "img/hydra.png", style: { height: 27, marginTop: 2.5 }, srcDark: "img/hydra-white.png", @@ -168,7 +168,7 @@ const config = { }, { to: "/docs/dev", - label: "Developer Documentation", + label: "Developer documentation", position: "right", }, //commenting out for the time being @@ -189,7 +189,7 @@ const config = { }, { to: "/docs/faqs", - label: "FAQ", + label: "FAQs", position: "right", }, ], @@ -201,15 +201,15 @@ const config = { title: "Contributing", items: [ { - label: "Coding Standards", + label: "Coding standards", to: "https://github.com/cardano-scaling/hydra/wiki/Coding-Standards", }, { - label: "Architectural Decision Records", + label: "Architectural decision records", to: "/adr", }, { - label: "Testing Strategy", + label: "Testing strategy", to: "https://github.com/cardano-scaling/hydra/wiki/Testing-Strategy", }, ], @@ -222,7 +222,7 @@ const config = { href: "https://discord.gg/Qq5vNTg9PT", }, { - label: "Github", + label: "GitHub", href: "https://github.com/cardano-scaling/hydra/discussions", }, { @@ -235,7 +235,7 @@ const config = { title: "More", items: [ { - label: "Haskell Packages", + label: "Haskell packages", to: "/docs/dev/haskell-packages", }, { @@ -252,11 +252,11 @@ const config = { title: "Legal", items: [ { - label: "Terms & Conditions", + label: "Terms and conditions", to: "https://static.iohk.io/terms/iohktermsandconditions.pdf", }, { - label: "Privacy Policy", + label: "Privacy policy", to: "https://static.iohk.io/terms/iog-privacy-policy.pdf", }, { diff --git a/docs/helpers/media-queries.ts b/docs/helpers/media-queries.ts index efde1eb3fe7..6d602709527 100644 --- a/docs/helpers/media-queries.ts +++ b/docs/helpers/media-queries.ts @@ -7,3 +7,5 @@ export const forTablet = "(min-width: 768px)"; export const forLaptop = "(min-width: 1024px)"; export const forDesktop = "(min-width: 1280px)"; + +export const forTabletOnly = `${forTablet} and (max-width: 1024px)`; diff --git a/docs/src/components/homepage/Carousel/Carousel.tsx b/docs/src/components/homepage/Carousel/Carousel.tsx index 53cd8feddf8..2c4b5c3f7e1 100644 --- a/docs/src/components/homepage/Carousel/Carousel.tsx +++ b/docs/src/components/homepage/Carousel/Carousel.tsx @@ -30,11 +30,11 @@ const CarouselEntry: FC = ({ idx, src, description }) => { - Passengers (Participants) + Passengers (participants) - Luggage (Tokens) + Supplies (tokens) )} diff --git a/docs/src/components/homepage/Carousel/ResponsiveCarousel.tsx b/docs/src/components/homepage/Carousel/ResponsiveCarousel.tsx index d23086e89ab..78a46b66bdf 100644 --- a/docs/src/components/homepage/Carousel/ResponsiveCarousel.tsx +++ b/docs/src/components/homepage/Carousel/ResponsiveCarousel.tsx @@ -109,7 +109,7 @@ const ResponsiveCarousel: FC = () => { centeredSlides={isTabletUp} spaceBetween={10} ref={sliderRef} - loop={!isTabletUp} + loop={false} > {isTabletUp ? HowItWorksCarouselContent.map((props, idx) => ( diff --git a/docs/src/components/homepage/CaseStudies.tsx b/docs/src/components/homepage/CaseStudies.tsx index a65c143f549..ec32360ca0c 100644 --- a/docs/src/components/homepage/CaseStudies.tsx +++ b/docs/src/components/homepage/CaseStudies.tsx @@ -2,11 +2,12 @@ import React, { FC } from "react"; import Link from "@docusaurus/Link"; import Arrow from "../icons/Arrow"; import useMediaQuery from "../../hooks/useMediaQuery"; -import { forLaptop } from "../../../helpers/media-queries"; +import { forLaptop, forTabletOnly } from "../../../helpers/media-queries"; import { motion } from "framer-motion"; import { FeaturedCaseStudy } from "../../../docs/homepage/case-studies"; const CaseStudies: FC = () => { + const isTabletOnly = useMediaQuery(forTabletOnly); const isLaptopUp = useMediaQuery(forLaptop); return ( @@ -24,14 +25,14 @@ const CaseStudies: FC = () => { / CASE STUDIES - Case Studies + Case studies {FeaturedCaseStudy.content} {"View case studies "} - + { diff --git a/docs/src/components/homepage/Features.tsx b/docs/src/components/homepage/Features.tsx index a1f548b75bd..d47d0a6287d 100644 --- a/docs/src/components/homepage/Features.tsx +++ b/docs/src/components/homepage/Features.tsx @@ -39,7 +39,7 @@ const Features: FC = () => { { /> - + { > Learn more diff --git a/docs/src/components/homepage/WhyHydraHead.tsx b/docs/src/components/homepage/WhyHydraHead.tsx index 31c52c46872..311206ca393 100644 --- a/docs/src/components/homepage/WhyHydraHead.tsx +++ b/docs/src/components/homepage/WhyHydraHead.tsx @@ -49,7 +49,7 @@ const WhyHydraHead: FC = () => { {`Read ${expanded ? "less" : "more"}`}{" "} diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 3e65cfcae89..bab05b4e4ee 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -149,6 +149,11 @@ html { padding-bottom: 56px; } +.component-lg { + padding-top: 96px; + padding-bottom: 96px; +} + /* Hide scrollbar for Chrome, Safari and Opera */ .no-scrollbar::-webkit-scrollbar { display: none; @@ -260,6 +265,10 @@ svg.architecture { } } +.navbar__brand:hover { + color: #283032; +} + .navbar__item { font-size: 14px; font-weight: 600; diff --git a/docs/src/theme/Footer/Layout/index.js b/docs/src/theme/Footer/Layout/index.js index 11efe38a659..c6cbeb71718 100644 --- a/docs/src/theme/Footer/Layout/index.js +++ b/docs/src/theme/Footer/Layout/index.js @@ -1,8 +1,8 @@ import React from "react"; import clsx from "clsx"; -import Github from "../../../components/icons/Github"; import Link from "@docusaurus/Link"; import { useIsLandingPage } from "../../../hooks/useIsLandingPage"; +import HydraLogo from "../../../components/icons/HydraLogo"; export default function FooterLayout({ style, links, logo, copyright }) { const isLandingPage = useIsLandingPage(); @@ -33,17 +33,16 @@ export default function FooterLayout({ style, links, logo, copyright }) { )} > - + - Join the conversation + Join the family - Go Github + Get involved {copyright} diff --git a/docs/src/theme/Footer/Links/MultiColumn/index.js b/docs/src/theme/Footer/Links/MultiColumn/index.js index be62a4ed8b3..d6e8477b535 100644 --- a/docs/src/theme/Footer/Links/MultiColumn/index.js +++ b/docs/src/theme/Footer/Links/MultiColumn/index.js @@ -46,7 +46,6 @@ export default function FooterLinksMultiColumn({ columns }) {
{FeaturedCaseStudy.content}