Skip to content

Commit

Permalink
Update deploy with pulumi button to be more visible in dark mode (#1569)
Browse files Browse the repository at this point in the history
In dark mode the "Deploy with Pulumi" button can be hard to see:

<img width="388" alt="deploy-with-pulumi-darkmode"
src="https://github.com/pulumi/examples/assets/15146337/dd714627-c03b-480f-9d31-786ff75fc92b">

This PR update the button to include a dark mode version:

<img width="489" alt="deploywithpulumilight"
src="https://github.com/pulumi/examples/assets/15146337/ca530373-87c4-48d2-97d0-dab991ab8a87">

I doubled checked the tutorial generation for the website and these
images are not used so we should not have to deal with two buttons
rendering on those pages.

Fixes: https://github.com/pulumi/marketing/issues/932
Part of: https://github.com/pulumi/marketing/issues/951
  • Loading branch information
Zack Chase committed Jan 31, 2024
2 parents 0303727 + ad3ffb6 commit 267aba1
Show file tree
Hide file tree
Showing 318 changed files with 1,867 additions and 1,396 deletions.
31 changes: 31 additions & 0 deletions .buttons/deploy-with-pulumi-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions .buttons/deploy-with-pulumi-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion alicloud-ts-ecs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Instance Using Alicloud ECS

[![Deploy](https://get.pulumi.com/new/button.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/alicloud-ts-ecs/README.md)
[![Deploy](../.buttons/deploy-with-pulumi-dark.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/alicloud-ts-ecs/README.md#gh-light-mode-only)
[![Deploy](../.buttons/deploy-with-pulumi-light.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/alicloud-ts-ecs/README.md#gh-dark-mode-only)

This example deploys a simple Alicloud ECS Instance

Expand Down
21 changes: 11 additions & 10 deletions aws-apigateway-go-routes/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Deploy](https://get.pulumi.com/new/button.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-apigateway-go-routes/README.md)
[![Deploy](../.buttons/deploy-with-pulumi-dark.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-apigateway-go-routes/README.md#gh-light-mode-only)
[![Deploy](../.buttons/deploy-with-pulumi-light.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-apigateway-go-routes/README.md#gh-dark-mode-only)

# Routes in API Gateway

Expand Down Expand Up @@ -147,15 +148,15 @@ Deploy your stack:
```bash
$ pulumi up
...
Type Name Plan
pulumi:pulumi:Stack aws-apigateway-ts-routes-dev
+ ├─ pulumi:providers:aws usEast1 create
+ ├─ aws:acm:Certificate ssl-cert create
+ ├─ aws:route53:Record ssl-cert-validation-dns-record create
+ ├─ aws:acm:CertificateValidation ssl-cert-validation create
+ ├─ aws:apigateway:DomainName api-domain-name create
+ ├─ aws:route53:Record api-dns create
+ └─ aws:apigateway:BasePathMapping api-domain-mapping create
Type Name Plan
pulumi:pulumi:Stack aws-apigateway-ts-routes-dev
+ ├─ pulumi:providers:aws usEast1 create
+ ├─ aws:acm:Certificate ssl-cert create
+ ├─ aws:route53:Record ssl-cert-validation-dns-record create
+ ├─ aws:acm:CertificateValidation ssl-cert-validation create
+ ├─ aws:apigateway:DomainName api-domain-name create
+ ├─ aws:route53:Record api-dns create
+ └─ aws:apigateway:BasePathMapping api-domain-mapping create
```

Test your API is now available on your custom domain:
Expand Down
Loading

0 comments on commit 267aba1

Please sign in to comment.