Skip to content
Closed
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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
![CodeImage logo](assets/banner.png?raw=true)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/brand/social/readme-banner-dark.png">
<img alt="CodeImage: beautify your code screenshots, then animate them" src="assets/brand/social/readme-banner-light.png">
</picture>

> Create elegant code screenshots of your source code.

Expand Down
11 changes: 8 additions & 3 deletions apps/codeimage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<meta charset="utf-8" />
<meta name="theme-color" />
<meta name="apple-mobile-web-app-status-bar-style" content="dark-content" />
<link rel="icon" href="/assets/favicon.ico" />
<link rel="icon" href="/assets/favicon.ico" sizes="32x32" />
<link rel="icon" href="/assets/favicon.svg" type="image/svg+xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
Expand Down Expand Up @@ -72,11 +73,15 @@
/>
<meta
property="og:image"
content="https://github.com/riccardoperra/codeimage/blob/main/assets/codeimage_card.png?raw=true"
content="https://raw.githubusercontent.com/riccardoperra/codeimage/main/assets/brand/social/og-dark.png"
/>

<!-- Twitter -->
<meta property="twitter:card" content="summary" />
<meta property="twitter:card" content="summary_large_image" />
<meta
property="twitter:image"
content="https://raw.githubusercontent.com/riccardoperra/codeimage/main/assets/brand/social/og-dark.png"
/>
<meta property="twitter:url" content="https://app.codeimage.dev/" />
<meta
property="twitter:title"
Expand Down
54 changes: 21 additions & 33 deletions apps/codeimage/public/assets/codeimage-logo-blue-svg-v1.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 modified apps/codeimage/public/assets/favicon.ico
Binary file not shown.
30 changes: 14 additions & 16 deletions apps/codeimage/public/assets/favicon.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 modified apps/codeimage/public/pwa/apple-icon-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/codeimage/public/pwa/manifest-icon-192.maskable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/codeimage/public/pwa/manifest-icon-512.maskable.png
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 assets/brand/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# CodeImage brand assets

`logos/*.svg` and `source/` are the sources. Everything else is generated:

```sh
pnpm brand:build
```

The script renders with Playwright's Chromium and also copies the favicon, PWA icons and splash logo into `apps/codeimage/public`.

| Folder | Contents |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `logos/` | Mark, wordmark, and logo (mark with wordmark): full colour for dark and light backgrounds, one-colour black and white. SVG sources and PNG renders. |
| `icons/` | `favicon.ico` (16, 32, 48), `favicon.svg`, PNG icons from 16 to 1024 px, `apple-touch-icon.png`, maskable 192 and 512 px. |
| `social/` | Open Graph cards (dark, light), GitHub social preview, README banners and CLI banners, at 2x. |
| `source/` | Full-bleed and maskable variants of the mark, and the code window from the website hero used by the cards. |

Colours: blue `#0077ff` to `#0066cc`. The cards use Mona Sans from `apps/website/public/fonts`.
Binary file added assets/brand/icons/apple-touch-icon.png
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 assets/brand/icons/favicon.ico
Binary file not shown.
16 changes: 16 additions & 0 deletions assets/brand/icons/favicon.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 assets/brand/icons/icon-1024.png
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 assets/brand/icons/icon-128.png
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 assets/brand/icons/icon-16.png
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 assets/brand/icons/icon-192-maskable.png
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 assets/brand/icons/icon-192.png
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 assets/brand/icons/icon-256.png
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 assets/brand/icons/icon-32.png
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 assets/brand/icons/icon-48.png
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 assets/brand/icons/icon-512-maskable.png
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 assets/brand/icons/icon-512.png
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 assets/brand/icons/icon-64.png
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 assets/brand/logos/logo-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading