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

+174-212

docusaurus.config.js

+1-1
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

+12
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

+6
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

+2
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.
Binary file not shown.
-63.1 KB
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-36.8 KB
-44.8 KB
Binary file not shown.
-74.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

static/img/logo/bitbucket.svg

+1

static/img/logo/github-white.svg

+1

static/img/logo/github.svg

+1

static/img/logo/gitlab.svg

+6

static/img/logo/jira.svg

+1

static/img/logo/ms-teams.svg

+1

static/img/logo/slack.svg

+1

0 commit comments

Comments
 (0)