Skip to content

Commit

Permalink
Merge pull request #57 from RBND-studio/dev
Browse files Browse the repository at this point in the history
Merge dev
  • Loading branch information
VojtechVidra committed Feb 14, 2024
2 parents 78237ae + 00a15ef commit 9440d99
Show file tree
Hide file tree
Showing 31 changed files with 28 additions and 25 deletions.
2 changes: 1 addition & 1 deletion apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const nextConfig = {
optimizePackageImports: ["ui", "icons"],
},
images: {
formats: ["image/avif", "image/webp"],
formats: ["image/webp"],
remotePatterns: [
{
// For placeholder images
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added apps/web/public/images/homepage/fast-dark.webp
Binary file not shown.
Binary file added apps/web/public/images/homepage/fast-light.webp
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added apps/web/public/images/homepage/in-code-dark.webp
Binary file not shown.
Binary file not shown.
Binary file added apps/web/public/images/homepage/no-code-dark.webp
Binary file not shown.
Binary file not shown.
Binary file added apps/web/public/images/homepage/privacy-dark.webp
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions apps/web/src/components/header/mobile-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const MobileMenu: FC = () => {
variant="ghost"
>
<Menu16 />
<span className={css({ srOnly: true })}>Open main menu</span>
</Button>
<Box
backgroundColor="bg"
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/components/homepage/analyze/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const mainList: FeatureCardTypes[] = [
<ThemeImage
alt="Funnel chart illustration"
height={720}
srcDark="/images/homepage/flow-analytics-dark.png"
srcLight="/images/homepage/flow-analytics-light.png"
srcDark="/images/homepage/flow-analytics-dark.webp"
srcLight="/images/homepage/flow-analytics-light.webp"
width={1392}
/>
),
Expand All @@ -36,8 +36,8 @@ const mainList: FeatureCardTypes[] = [
<ThemeImage
alt="Error tracking illustration"
height={720}
srcDark="/images/homepage/error-tracking-dark.png"
srcLight="/images/homepage/error-tracking-light.png"
srcDark="/images/homepage/error-tracking-dark.webp"
srcLight="/images/homepage/error-tracking-light.webp"
width={1392}
/>
),
Expand Down
12 changes: 6 additions & 6 deletions apps/web/src/components/homepage/builder/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const mainList: FeatureCardTypes[] = [
<ThemeImage
alt="Flow tooltip illustration"
height={720}
srcDark="/images/homepage/no-code-dark.png"
srcLight="/images/homepage/no-code-light.png"
srcDark="/images/homepage/no-code-dark.webp"
srcLight="/images/homepage/no-code-light.webp"
width={1392}
/>
),
Expand All @@ -38,8 +38,8 @@ const mainList: FeatureCardTypes[] = [
<ThemeImage
alt="Code implementation illustration"
height={720}
srcDark="/images/homepage/in-code-dark.png"
srcLight="/images/homepage/in-code-light.png"
srcDark="/images/homepage/in-code-dark.webp"
srcLight="/images/homepage/in-code-light.webp"
width={1392}
/>
),
Expand All @@ -63,8 +63,8 @@ export const Content: FC = () => {
<ThemeImage
alt="Onboarding flow diagram illustration"
height={792}
srcDark="/images/homepage/flow-diagram-dark.png"
srcLight="/images/homepage/flow-diagram-light.png"
srcDark="/images/homepage/flow-diagram-dark.webp"
srcLight="/images/homepage/flow-diagram-light.webp"
width={2874}
/>
</Box>
Expand Down
8 changes: 4 additions & 4 deletions apps/web/src/components/homepage/deliver/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const mainList: FeatureCardTypes[] = [
<ThemeImage
alt="Chart illustrating delivery speed"
height={720}
srcDark="/images/homepage/delivery-speed-dark.png"
srcLight="/images/homepage/delivery-speed-light.png"
srcDark="/images/homepage/delivery-speed-dark.webp"
srcLight="/images/homepage/delivery-speed-light.webp"
width={1392}
/>
<Text
Expand Down Expand Up @@ -68,8 +68,8 @@ const mainList: FeatureCardTypes[] = [
marginY: "auto",
})}
height={720}
srcDark="/images/homepage/bundle-size-dark.png"
srcLight="/images/homepage/bundle-size-light.png"
srcDark="/images/homepage/bundle-size-dark.webp"
srcLight="/images/homepage/bundle-size-light.webp"
width={1392}
/>
),
Expand Down
12 changes: 6 additions & 6 deletions apps/web/src/components/homepage/flows-are-better/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const mainList: FeatureCardTypes[] = [
},
})}
height={552}
srcDark="/images/homepage/fast-dark.png"
srcLight="/images/homepage/fast-light.png"
srcDark="/images/homepage/fast-dark.webp"
srcLight="/images/homepage/fast-light.webp"
width={894}
/>
),
Expand All @@ -45,8 +45,8 @@ const mainList: FeatureCardTypes[] = [
},
})}
height={552}
srcDark="/images/homepage/flexible-dark.png"
srcLight="/images/homepage/flexible-light.png"
srcDark="/images/homepage/flexible-dark.webp"
srcLight="/images/homepage/flexible-light.webp"
width={894}
/>
),
Expand All @@ -68,8 +68,8 @@ const mainList: FeatureCardTypes[] = [
},
})}
height={552}
srcDark="/images/homepage/privacy-dark.png"
srcLight="/images/homepage/privacy-light.png"
srcDark="/images/homepage/privacy-dark.webp"
srcLight="/images/homepage/privacy-light.webp"
width={894}
/>
),
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 6 additions & 4 deletions apps/web/src/components/homepage/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { Section } from "components/ui/section";
import type { ReactElement } from "react";
import { Text } from "ui";

import heroDarkImg from "./hero-dark.png";
import heroLightImg from "./hero-light.png";
import heroMobileDarkImg from "./hero-mobile-dark.png";
import heroMobileLightImg from "./hero-mobile-light.png";
import heroDarkImg from "./hero-dark.webp";
import heroLightImg from "./hero-light.webp";
import heroMobileDarkImg from "./hero-mobile-dark.webp";
import heroMobileLightImg from "./hero-mobile-light.webp";

export const Hero = (): ReactElement => {
return (
Expand Down Expand Up @@ -73,6 +73,7 @@ export const Hero = (): ReactElement => {
fetchPriority="high"
height={2160}
placeholder="blur"
sizes="100wv"
srcDark={heroDarkImg}
srcLight={heroLightImg}
width={4320}
Expand All @@ -97,6 +98,7 @@ export const Hero = (): ReactElement => {
fetchPriority="high"
height={471}
placeholder="blur"
sizes="100wv"
srcDark={heroMobileDarkImg}
srcLight={heroMobileLightImg}
width={780}
Expand Down

0 comments on commit 9440d99

Please sign in to comment.