Skip to content

Commit 96a974c

Browse files
committed
Remove and add images, update login instructions, and update pricing and support pages
1 parent 3347a71 commit 96a974c

18 files changed

+58
-48
lines changed
296 KB
Loading
301 KB
Loading
298 KB
Loading
303 KB
Loading
325 KB
Loading

docs/about/images/cr_support_orgs.png

-33.1 KB
Binary file not shown.
262 KB
Loading
265 KB
Loading

docs/about/images/pricing.png

-71.9 KB
Binary file not shown.

docs/about/images/pricing2.png

-41.4 KB
Binary file not shown.

docs/about/pricing.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,12 @@ These are the hourly usage limits for each developer per repository:
9090
- You can choose to manually purchase seats and assign them to developers, or have them assigned automatically as developers create pull requests.
9191
- During the trial period, seat assignment is automatic, but the number of seats can be adjusted when purchasing the subscription.
9292

93-
![Untitled](./images/pricing.png)
93+
![Untitled](./images/cr_seat_manage_dark.png#gh-dark-mode-only)
94+
![Untitled](./images/cr_seat_manage_light.png#gh-light-mode-only)
9495

9596
### Free Plan
9697

9798
- Seats are assigned to new developers immediately
9899

99-
![Untitled](./images/pricing2.png)
100+
![Untitled](./images/cr_seat_free_dark.png#gh-dark-mode-only)
101+
![Untitled](./images/cr_seat_free_light.png#gh-light-mode-only)

docs/about/support.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ These are the most common questions our support team receives, and you might fin
3434

3535
Yes, you can switch between different organizations on CodeRabbit. To do so, click on the organization name in the top right corner of the CodeRabbit UI.
3636

37-
<div align="center">![Switch Organizations](./images/cr_support_orgs.png)</div>
37+
<div align="center">![Switch Organizations](./images/cr_support_orgs_light.png#gh-light-mode-only)</div>
38+
<div align="center">![Switch Organizations](./images/cr_support_orgs_dark.png#gh-dark-mode-only)</div>
3839

3940
### Can CodeRabbit subscription be used across multiple organizations?
4041

@@ -68,7 +69,8 @@ To get assistance from our support team, open a ticket using the help icon on th
6869

6970
Complete the support ticket by providing your name, email, a description of your issue, and attaching any necessary files. If you are reporting a bug , please provide the GitHub or GitLab organization name.
7071

71-
![Open a Ticket](./images/cr_support_help.png)
72+
![Open a Ticket](./images/cr_support_help_light.png#gh-light-mode-only)
73+
![Open a Ticket](./images/cr_support_help_dark.png#gh-dark-mode-only)
7274

7375
### Explore More
7476

docs/get-started/images/cr_login.png

72.4 KB
Loading

docs/get-started/images/cr_login2.png

187 KB
Loading
191 KB
Loading

docs/get-started/signup.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ Signing up for CodeRabbit is quick and easy, allowing you to get started in just
2828

2929
### **Step 1: Getting Started**
3030

31-
**Login with GitHub or GitLab**: Log in with your GitHub or GitLab account at https://coderabbit.ai/login
31+
**Login with GitHub or GitLab**: Log in with your GitHub or GitLab account at [https://coderabbit.ai/login](https://coderabbit.ai/login)
3232

33-
![Untitled](./images/signup.png)
33+
![Login](./images/cr_login2.png#gh-light-mode-only)
34+
![Login](./images/cr_login_dark.png#gh-dark-mode-only)
3435

3536
### **Step 2: Select Organization**
3637

src/css/custom.css

+47-42
Original file line numberDiff line numberDiff line change
@@ -9,73 +9,78 @@
99

1010
/* You can override the default Infima variables here. */
1111
:root {
12-
--ifm-color-primary: #ff8b53;
13-
--ifm-color-primary-dark: #29784c;
14-
--ifm-color-primary-darker: #277148;
15-
--ifm-color-primary-darkest: #205d3b;
16-
--ifm-color-primary-light: #33925d;
17-
--ifm-color-primary-lighter: #359962;
18-
--ifm-color-primary-lightest: #3cad6e;
19-
--ifm-code-font-size: 95%;
20-
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
21-
--ifm-navbar-height: 5rem;
12+
--ifm-color-primary: #ff8b53;
13+
--ifm-color-primary-dark: #29784c;
14+
--ifm-color-primary-darker: #277148;
15+
--ifm-color-primary-darkest: #205d3b;
16+
--ifm-color-primary-light: #33925d;
17+
--ifm-color-primary-lighter: #359962;
18+
--ifm-color-primary-lightest: #3cad6e;
19+
--ifm-code-font-size: 95%;
20+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
21+
--ifm-navbar-height: 5rem;
2222
}
2323

2424
/* For readability concerns, you should choose a lighter palette in dark mode. */
2525
[data-theme="dark"] {
26-
--ifm-color-primary: #ff8b53;
27-
--ifm-color-primary-dark: #21af90;
28-
--ifm-color-primary-darker: #1fa588;
29-
--ifm-color-primary-darkest: #1a8870;
30-
--ifm-color-primary-light: #29d5b0;
31-
--ifm-color-primary-lighter: #32d8b4;
32-
--ifm-color-primary-lightest: #4fddbf;
33-
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
26+
--ifm-color-primary: #ff8b53;
27+
--ifm-color-primary-dark: #21af90;
28+
--ifm-color-primary-darker: #1fa588;
29+
--ifm-color-primary-darkest: #1a8870;
30+
--ifm-color-primary-light: #29d5b0;
31+
--ifm-color-primary-lighter: #32d8b4;
32+
--ifm-color-primary-lightest: #4fddbf;
33+
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3434
}
3535

3636
.navbar .navbar__item {
37-
align-items: center;
38-
display: flex;
39-
font-size: 1.25rem;
40-
font-weight: 700;
37+
align-items: center;
38+
display: flex;
39+
font-size: 1.25rem;
40+
font-weight: 700;
4141
}
4242

4343
a[docid="docs"] > svg {
44-
display: none;
44+
display: none;
4545
}
4646

4747
/* Adjustments for mobile view */
4848
@media (max-width: 768px) {
49-
/* Reduce the logo size for smaller screens */
50-
.navbar__logo img {
51-
height: 32px;
52-
align-items: center;
53-
}
49+
/* Reduce the logo size for smaller screens */
50+
.navbar__logo img {
51+
height: 32px;
52+
align-items: center;
53+
}
5454

55-
/* Reduce the padding around the logo for smaller screens */
56-
.navbar__logo {
57-
padding: 2px; /* Adjust the padding for smaller screens */
58-
}
55+
/* Reduce the padding around the logo for smaller screens */
56+
.navbar__logo {
57+
padding: 2px; /* Adjust the padding for smaller screens */
58+
}
5959
}
6060

6161
/* Center the Discord link within its parent */
6262
.navbar__items.navbar__items--right {
63-
display: flex;
64-
justify-content: center;
65-
align-items: center;
63+
display: flex;
64+
justify-content: center;
65+
align-items: center;
6666
}
6767

6868
@media screen and (max-width: 480px) {
69-
a.navbar__item.navbar__link[docid="docs"] {
70-
display: none !important;
71-
}
69+
a.navbar__item.navbar__link[docid="docs"] {
70+
display: none !important;
71+
}
7272
}
7373

7474
@media screen and (max-width: 480px) {
75-
a.navbar__item.navbar__link[href="https://blog.coderabbit.ai/blog"]
76-
{
77-
display: none;
78-
}
75+
a.navbar__item.navbar__link[href="https://blog.coderabbit.ai/blog"]
76+
{
77+
display: none;
78+
}
79+
}
80+
81+
[data-theme="light"] img[src$="#gh-dark-mode-only"],
82+
[data-theme="dark"] img[src$="#gh-light-mode-only"] {
83+
display: none;
7984
}
8085

8186
/* Light mode Discord icon */

0 commit comments

Comments
 (0)