Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/earn-money/payments/payments_add.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import useBaseUrl from "@docusaurus/useBaseUrl";

# Add Payments

Expand Down Expand Up @@ -241,6 +242,23 @@ You’ll need to clearly identify paid products or services. Here are some best
- Try to keep purchases in a consistent location or use a consistent visual pattern.
- Only use the gold icon to indicate purchases for Reddit Gold.

### Reddit Gold icons

Choose an official Reddit Gold icon below, then download it as an SVG or PNG.

<div className="gold-icon-grid">
<div className="gold-icon-option">
<strong>Outline</strong>
<img src={useBaseUrl("/assets/payments/reddit-gold.png")} alt="Outline Reddit Gold icon" />
<div>Download: <a href={useBaseUrl("/assets/payments/reddit-gold.svg")} download>SVG</a> | <a href={useBaseUrl("/assets/payments/reddit-gold.png")} download>PNG</a></div>
</div>
<div className="gold-icon-option">
<strong>Filled</strong>
<img src={useBaseUrl("/assets/payments/reddit-gold-fill.png")} alt="Filled Reddit Gold icon" />
<div>Download: <a href={useBaseUrl("/assets/payments/reddit-gold-fill.svg")} download>SVG</a> | <a href={useBaseUrl("/assets/payments/reddit-gold-fill.png")} download>PNG</a></div>
</div>
</div>

### Product image

Product images need to meet the following requirements:
Expand Down
28 changes: 28 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,34 @@
box-shadow: var(--ifm-global-shadow-lw);
}

.gold-icon-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 256px));
gap: 2rem;
margin: 1rem 0 2rem;
}

.gold-icon-option > strong {
display: block;
margin-bottom: 0.5rem;
}

.gold-icon-option img {
display: block;
width: 256px;
max-width: 100%;
height: auto;
margin-bottom: 0.75rem;
border-radius: var(--ifm-code-border-radius);
box-shadow: var(--ifm-global-shadow-lw);
}

@media (max-width: 576px) {
.gold-icon-grid {
grid-template-columns: minmax(0, 256px);
}
}

.theme-doc-markdown :is(h2, h3, h4, h5, h6) .hash-link {
opacity: 0.6;
}
Expand Down
Binary file added static/assets/payments/reddit-gold-fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/assets/payments/reddit-gold-fill.svg
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 static/assets/payments/reddit-gold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/assets/payments/reddit-gold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions versioned_docs/version-0.14/earn-money/payments/payments_add.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import useBaseUrl from "@docusaurus/useBaseUrl";

# Add Payments

Expand Down Expand Up @@ -241,6 +242,23 @@ You’ll need to clearly identify paid products or services. Here are some best
- Try to keep purchases in a consistent location or use a consistent visual pattern.
- Only use the gold icon to indicate purchases for Reddit Gold.

### Reddit Gold icons

Choose an official Reddit Gold icon below, then download it as an SVG or PNG.

<div className="gold-icon-grid">
<div className="gold-icon-option">
<strong>Outline</strong>
<img src={useBaseUrl("/assets/payments/reddit-gold.png")} alt="Outline Reddit Gold icon" />
<div>Download: <a href={useBaseUrl("/assets/payments/reddit-gold.svg")} download>SVG</a> | <a href={useBaseUrl("/assets/payments/reddit-gold.png")} download>PNG</a></div>
</div>
<div className="gold-icon-option">
<strong>Filled</strong>
<img src={useBaseUrl("/assets/payments/reddit-gold-fill.png")} alt="Filled Reddit Gold icon" />
<div>Download: <a href={useBaseUrl("/assets/payments/reddit-gold-fill.svg")} download>SVG</a> | <a href={useBaseUrl("/assets/payments/reddit-gold-fill.png")} download>PNG</a></div>
</div>
</div>

### Product image

Product images need to meet the following requirements:
Expand Down
Loading