Skip to content

Commit

Permalink
fix: add gallery section
Browse files Browse the repository at this point in the history
  • Loading branch information
op committed May 10, 2024
1 parent c8592d7 commit 4da21ab
Show file tree
Hide file tree
Showing 24 changed files with 166 additions and 129 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/make -f

all: toolsinstall tidy build generate

clean:
@rm -rf ./build

build: build/redlog build/gallery

build/%:
go build -o $@ ./cmd/$*

generate:
@build/gallery

tidy:
@go list -m -f '{{.Dir}}' | xargs -L1 go mod tidy -C

toolsinstall:
@go install github.com/charmbracelet/freeze@v0.1.6


.PHONY: all build generate tidy toolsinstall
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,32 @@ following themes are provided:

[log]: /charmbracelet/log

## Gallery

*Catppuccin Latte*

<picture>
<img width="500" src="./assets/catppuccin-latte.svg" alt="catppuccin latte" />
</picture>

*Catppuccin Frappé*

<picture>
<img width="500" src="./assets/catppuccin-frappe.svg" alt="catppuccin frappe" />
</picture>

*Catppuccin Macchiato*

<picture>
<img width="500" src="./assets/catppuccin-macchiato.svg" alt="catppuccin macchiato" />
</picture>

*Catppuccin Mocha*

<picture>
<img width="500" src="./assets/catppuccin-mocha.svg" alt="catppuccin mocha" />
</picture>

## Usage

Use `go get` to download the dependency.
Expand Down
8 changes: 8 additions & 0 deletions assets/catppuccin-frappe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions assets/catppuccin-frappe.webp

This file was deleted.

8 changes: 8 additions & 0 deletions assets/catppuccin-latte.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4da21ab

Please sign in to comment.