Skip to content

Commit

Permalink
Qa notes (#96)
Browse files Browse the repository at this point in the history
* update hero image

* adjust spacing

* update DS

* adjust quote section

* update DS

* adjust feature section

* add footer gradient

* adjust gap y

* change hover state

* replace caret

* change header bg styles

* remove unused section

* remove unused images

* refresh assets

* adjust shadow

* switch icons to light mode

* join gradients

* reduce spacing on smaller screens

* fix text
  • Loading branch information
renemennab authored Jul 12, 2024
1 parent 71393b9 commit 359782b
Show file tree
Hide file tree
Showing 61 changed files with 154 additions and 316 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@markdoc/markdoc": "0.4.0",
"@markdoc/next.js": "0.2.2",
"@open-draft/until": "2.1.0",
"@pluralsh/design-system": "3.53.0",
"@pluralsh/design-system": "3.54.0",
"@react-types/shared": "3.22.0",
"@tanstack/react-table": "8.10.7",
"@tanstack/react-virtual": "3.0.1",
Expand Down
3 changes: 1 addition & 2 deletions pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default function About({
<HeaderPad
as={GradientBG}
size="cover"
// position="top middle"
image="/images/gradients/gradient-bg-1.jpg"
>
<div
Expand All @@ -51,7 +50,7 @@ export default function About({
<EqualColumn>
<h2 className="txt-mktg-hero-2 [text-wrap:balance] md:txt-mktg-hero-1">
Our mission is to democratize elite DevOps capabilities by
simplifing tooling complexities, fostering a ZeroOps world
simplifying tooling complexities, fostering a ZeroOps world
that accelerates software development.
</h2>
</EqualColumn>
Expand Down
11 changes: 6 additions & 5 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default function Index({
as={GradientBG}
position="50% 50%"
size="cover"
image="/images/gradients/gradient-bg-10.png"
image="/images/gradients/hero-background.png"
>
<HomePageHero
heading={<>Managing Kubernetes can be a cluster—</>}
Expand All @@ -208,7 +208,7 @@ export default function Index({
</div>
}
/>
<div className="pb-xxxxlarge pt-xxxlarge sm:pt-xxxxlarge md:pb-xxxxxxlarge md:pt-xxxxlarge lg:pt-0 ">
<div className="-mt-xxxlarge pb-xxxxlarge pt-xxxlarge sm:pt-xxxxlarge md:pb-xxxxxxlarge md:pt-xxxxlarge lg:pt-0">
<StandardPageWidth>
<HeroImages />
<Button
Expand Down Expand Up @@ -294,9 +294,10 @@ export default function Index({
to automate and streamline the lifecycle management of
Kubernetes fleets. Plural provides a single pane of glass
interface for managing multiple clusters, automating upgrades,
and provides advanced monitoring and security features, making
Kubernetes accessible to engineers of all skill levels and
reducing upgrade times.
and advanced monitoring/observability complete w/ enterprise
grade security features. We’re making Kubernetes accessible to
engineers of all skill levels by reducing painful day 2
operational challenges.
</p>
}
className="text-center"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/gradients/footer-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/gradients/gradient-bg-10.png
Binary file not shown.
Binary file removed public/images/gradients/gradient-bg-2.jpg
Binary file not shown.
Binary file removed public/images/gradients/gradient-bg-3.jpg
Binary file not shown.
Binary file removed public/images/gradients/gradient-bg-6.jpg
Binary file not shown.
Binary file removed public/images/gradients/gradient-bg-7.jpg
Binary file not shown.
Binary file removed public/images/gradients/gradient-bg-8.jpg
Binary file not shown.
Binary file removed public/images/gradients/gradient-bg-9.jpg
Binary file not shown.
Binary file added public/images/gradients/hero-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed public/images/homepage/features/clusters-detail.png
Binary file not shown.
Binary file removed public/images/homepage/features/clusters.png
Binary file not shown.
Binary file removed public/images/homepage/features/console-home.png
Binary file not shown.
Binary file removed public/images/homepage/features/create-cluster.mp4
Binary file not shown.
Binary file removed public/images/homepage/features/customizable-1.mp4
Binary file not shown.
Binary file removed public/images/homepage/features/customizable-1.png
Binary file not shown.
Binary file not shown.
Binary file removed public/images/homepage/features/deploy-service.mp4
Binary file not shown.
Binary file removed public/images/homepage/features/deprecations-1.png
Binary file not shown.
Binary file removed public/images/homepage/features/easy-setup-1.png
Binary file not shown.
Binary file removed public/images/homepage/features/easy-setup-2.mp4
Binary file not shown.
Binary file removed public/images/homepage/features/easy-setup-2.png
Binary file not shown.
Binary file not shown.
Binary file removed public/images/homepage/features/git-repos.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/homepage/features/pipelines.png
Binary file not shown.
Binary file not shown.
Binary file removed public/images/homepage/features/policies-detail.png
Binary file not shown.
Binary file removed public/images/homepage/features/policies.png
Diff not rendered.
Binary file removed public/images/homepage/features/production-1.png
Diff not rendered.
Binary file removed public/images/homepage/features/production-2.mp4
Binary file not shown.
Diff not rendered.
Binary file removed public/images/homepage/features/schema.png
Diff not rendered.
Binary file removed public/images/homepage/features/security-1.png
Diff not rendered.
Binary file removed public/images/homepage/features/security-2.mp4
Binary file not shown.
Binary file removed public/images/homepage/features/security-2.png
Diff not rendered.
Diff not rendered.
Binary file removed public/images/homepage/features/services.png
Diff not rendered.
Binary file removed public/images/homepage/features/upgrade-plan.png
Diff not rendered.
Binary file removed public/images/homepage/features/upgrades-1.mp4
Binary file not shown.
Diff not rendered.
2 changes: 1 addition & 1 deletion src/components/DocSearchStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const GlobalStyles = createGlobalStyle(({ theme }) => ({
},

'.DocSearch-Form:focus-within': {
boxShadow: theme.boxShadows.focused,
boxShadow: theme.boxShadows.slight,
},
'.DocSearch-Hit-source': {
...theme.partials.marketingText.subtitle2,
Expand Down
13 changes: 10 additions & 3 deletions src/components/FooterFull.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,22 @@ export function FullFooter({

return (
<StickyFooterSC className={className}>
<div
className="absolute z-0 h-full w-full"
style={{
background:
'linear-gradient(0deg, rgba(14, 16, 21, 0.00) 0%, rgba(0,0,0,0.3) 100%)',
}}
/>
{showValueProp && (
<div className="pb-xlarge pt-xxxxxlarge md:pb-xxxxlarge md:pt-xxxxxxlarge">
<div className="relative z-20 pb-xlarge pt-xxxxxlarge md:pb-xxlarge md:pt-xxxxxxlarge">
<FooterValueProp />
</div>
)}
<div
// https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/contentinfo_role
role="contentinfo"
className="flex flex-col gap-y-xxxlarge pt-xxxxlarge"
className="relative z-20 flex flex-col gap-y-xxxlarge pt-xxxxlarge"
>
{showNav && <FooterNav />}
<BasicFooter />
Expand All @@ -56,7 +63,7 @@ const StickyFooterSC = styled.footer(({ theme }) => ({
[mqs.md]: {
paddingBottom: theme.spacing.xlarge,
},
backgroundImage: 'url(/images/gradients/gradient-bg-6.jpg)',
backgroundImage: 'url(/images/gradients/footer-background.png)',
backgroundSize: 'cover',
backgroundPosition: '0% 50%',
}))
6 changes: 3 additions & 3 deletions src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ export const MainLinkBase = styled.a.withConfig({
'&[href]:hover, &:hover',
].join(', ')]: {
color: theme.colors.text,
backgroundColor: theme.colors['fill-one-hover'],
backgroundColor: 'rgba(255, 255, 255, 0.03)',
borderRadius: theme.borderRadiuses.medium,
boxShadow: `0px 0px 0px 1px ${theme.colors.grey[800]}`,
boxShadow: `0px 0px 0px 1px ${theme.colors['border-input']}`,
'.hover-arrow': {
opacity: '1',
},
Expand All @@ -155,7 +155,7 @@ export const MainLinkBase = styled.a.withConfig({
'.hover-arrow': {
opacity: '0',
},
padding: `${theme.spacing.small}px var(--top-nav-link-h-pad)`,
padding: `${theme.spacing.xsmall}px ${theme.spacing.medium}px `,
}))

export const SecondaryLink = styled.a(({ theme }) => ({
Expand Down
7 changes: 3 additions & 4 deletions src/components/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export function PageHeader({
}

const BackdropSC = styled.div(({ theme }) => {
const backdropFilter = `blur(7.5px) url(#${DARKEN_FILTER_ID})`
const basicBackdropFilter = `blur(7.5px)`
const backdropFilter = `blur(24px)`
const basicBackdropFilter = `blur(24px)`

return {
position: 'absolute',
Expand All @@ -138,7 +138,7 @@ const BackdropSC = styled.div(({ theme }) => {
'&.show': {
transform: 'translateY(var(--top-nav-banner-height))',
},
backgroundColor: `${chroma(theme.colors['fill-zero']).alpha(0.83)}`,
backgroundColor: `rgba(14, 16, 21, 0.75)`,
// Use basic filter on Safari (doesn't support svg filters)
[`@supports (-webkit-backdrop-filter: ${basicBackdropFilter})`]: {
'-webkitBackdropFilter': basicBackdropFilter,
Expand All @@ -147,7 +147,6 @@ const BackdropSC = styled.div(({ theme }) => {
// Only tested on Chrome
[`@supports (backdrop-filter: ${backdropFilter})`]: {
backdropFilter,
backgroundColor: 'transparent',
},
// Downgrade Firefox to basic filter because its feColorMatrix rendering is ugly
[`@-moz-document url-prefix()`]: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/PageHeros.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function HeroMainText({
)}
{...props}
>
<div className="flex flex-col gap-y-xlarge">
<div className="flex flex-col gap-y-medium">
<h1 className="txt-mktg-hero-2 [text-wrap:balance] md:txt-mktg-big-header">
{preHeading && (
<>
Expand Down
4 changes: 2 additions & 2 deletions src/components/menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import React, {
} from 'react'

import {
CaretDownIcon,
DropdownArrowIcon,
FillLevelProvider,
useFloatingDropdown,
} from '@pluralsh/design-system'
Expand Down Expand Up @@ -78,7 +78,7 @@ function MainLinkTriggerUnstyled({
className="icon"
aria-hidden
>
<CaretDownIcon size={14} />
<DropdownArrowIcon size={14} />
</div>
</MainLinkBase>
)
Expand Down
97 changes: 0 additions & 97 deletions src/components/page-sections/DevOpsEfficiencySection.tsx

This file was deleted.

44 changes: 27 additions & 17 deletions src/components/page-sections/Feature.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { type ReactElement, type ReactNode, cloneElement, useRef } from 'react'

import { ColorModeProvider } from '@pluralsh/design-system'
import { ArrowRightIcon, Button } from '@pluralsh/design-system'
import Link from 'next/link'

import { useInView } from 'framer-motion'
import styled from 'styled-components'

import { breakpointIsGreaterOrEqual, mqs } from '@src/breakpoints'
import { Columns, EqualColumn } from '@src/components/layout/Columns'
import { Body2, ResponsiveText } from '@src/components/Typography'
import { cn as classNames } from '@src/utils/cn'

import { useBreakpoint } from '../contexts/BreakpointProvider'

import { FeaturesImage } from './FeaturesImage'

const FeatureSC = styled(Columns)(({ theme }) => ({
display: 'flex',
alignItems: 'center',
rowGap: theme.spacing.xxxlarge,
background: `linear-gradient(90deg, ${theme.colors.grey[25]} 0%, ${theme.colors.grey[75]} 100%)`,
border: `1px solid ${theme.colors.grey[125]}`,
[mqs.columns]: {
'&:nth-child(2n)': {
flexDirection: 'row-reverse',
Expand Down Expand Up @@ -59,7 +58,7 @@ export function Feature({
}

return (
<FeatureSC>
<FeatureSC className="flex w-full items-center gap-y-xxlarge rounded-large border px-xxlarge py-xxlarge">
<EqualColumn className="flex flex-col gap-y-medium">
<ResponsiveText
ref={headingRef}
Expand All @@ -68,10 +67,23 @@ export function Feature({
>
{heading}
</ResponsiveText>
<Body2 as="div">{children}</Body2>
<Body2 as="div">
{children}
<Button
tertiary
padding="none"
large
className="mt-large w-fit"
as={Link}
href="/contact-sales"
endIcon={<ArrowRightIcon />}
>
Book a demo
</Button>
</Body2>
</EqualColumn>
<EqualColumn className="w-full">
<div className={classNames('w-full')}>{image}</div>
<EqualColumn className="flex w-full items-center justify-center">
<div className="w-5/6">{image}</div>
</EqualColumn>
</FeatureSC>
)
Expand All @@ -88,14 +100,12 @@ export function FeatureItem({
}) {
return (
<div className="mt-large flex items-center gap-xsmall">
<ColorModeProvider mode="dark">
<div
className="rounded-full flex items-center justify-center rounded-medium bg-fill-one p-xsmall text-icon-light"
aria-hidden
>
{icon}
</div>
</ColorModeProvider>
<div
className="rounded-full flex items-center justify-center rounded-medium border border-border-input bg-fill-three p-xsmall text-icon-light"
aria-hidden
>
{icon}
</div>
<div>
{title && <h3 className="txt-body-2-bold text-text">{title}</h3>}
<p className="txt-body-2 text-text-light">{description}</p>
Expand Down
Loading

0 comments on commit 359782b

Please sign in to comment.