Skip to content

Commit fbdac2b

Browse files
authored
Merge pull request #5150 from cypress-io/cloud-projects-revisions
Cloud Projects page revisions
2 parents 4ad92b6 + 0464157 commit fbdac2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+207
-213
lines changed

docs/guides/cloud/projects.mdx

Lines changed: 174 additions & 212 deletions

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ const config = {
265265
darkTheme: darkCodeTheme,
266266
},
267267
zoom: {
268-
selector: ':not(.mediaImage, .navbar__logo img)', // don't zoom these images
268+
selector: ':not(.mediaImage, .navbar__logo img, .logo)', // don't zoom these images
269269
background: {
270270
light: 'rgb(50, 50, 50)',
271271
dark: 'rgb(50, 50, 50)',

src/components/logo/index.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react";
2+
3+
export default function Logo({ alt, src, title }) {
4+
return (
5+
<img
6+
className="logo"
7+
src={ src }
8+
title={ title }
9+
alt={ alt || title }
10+
/>
11+
)
12+
}

src/css/custom.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,3 +326,9 @@ div[class^='codeBlockTitle'] {
326326
.osano-cm-widget {
327327
display: none;
328328
}
329+
330+
.logo {
331+
width: 20px;
332+
display: inline-block;
333+
vertical-align: text-top;
334+
}

src/theme/MDXComponents.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import TabItem from "@theme/TabItem";
2222
import ThenShouldAndDifference from "@site/docs/partials/_then-should-and-difference.mdx";
2323
import WarningPluginsFile from "@site/docs/partials/_warning-plugins-file.mdx";
2424
import WarningSetupNodeEvents from "@site/docs/partials/_warning-setup-node-events.mdx";
25+
import Logo from "@site/src/components/logo";
2526

2627
// Font Awesome
2728
import { library } from "@fortawesome/fontawesome-svg-core";
@@ -133,4 +134,5 @@ export default {
133134
ThenShouldAndDifference,
134135
WarningPluginsFile,
135136
WarningSetupNodeEvents,
137+
Logo
136138
};

static/.nojekyll

Whitespace-only changes.
-344 KB
Binary file not shown.
-63.1 KB
Binary file not shown.
-214 KB
Binary file not shown.
-38 KB
Binary file not shown.

0 commit comments

Comments
 (0)