Skip to content

Commit 8aa4588

Browse files
committed
feat: add social preview generator and assets
Add interactive social preview generator tooling to create GitHub repository social preview images. Includes HTML preview tool, component screenshots, and generated preview output.
1 parent aa0158a commit 8aa4588

File tree

10 files changed

+630
-0
lines changed

10 files changed

+630
-0
lines changed
328 KB
Loading

assets/socials/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Making the Social Preview
2+
3+
## Setup
4+
5+
The social preview must be uploaded to the [repository's settings](https://github.com/uhs-robert/oasis.nvim/settings).
6+
7+
Use the [index.html](./index.html) to create an image for screenshot capture.
8+
9+
Just open it up in a browser and make sure the images in [images](./images/) are up to date.
10+
11+
## Making an Image for Code
12+
13+
1. Open a screenshot of a code file in `GIMP`
14+
2. Go to `Crop`, select whole image
15+
3. Set Size: `990`, `528`
16+
4. Set Position: `38`, `120`
17+
5. Click cropped image to trigger resize
18+
6. Export as as `png`
19+
20+
## Making an Image for Dashbaord
21+
22+
1. Open a screenshot of a code file in `GIMP`
23+
2. Go to `Crop`, select whole image
24+
3. Set Size: `1070`, `528`
25+
4. Set Position: `100`, `260`
26+
5. Click cropped image to trigger resize
27+
6. Export as as `png`
28+
29+
> [!TIP]
30+
> If numbers won't apply: [BACKSPACE] out the field, type in the new number, and then hit [ENTER]
32 KB
Loading
31.8 KB
Loading
111 KB
Loading
32.4 KB
Loading
32.9 KB
Loading
32.9 KB
Loading
32.6 KB
Loading

0 commit comments

Comments
 (0)