Skip to content

Commit

Permalink
Launch site 2.0 and add photography
Browse files Browse the repository at this point in the history
It got a lot greener
  • Loading branch information
christian-stj committed Feb 25, 2024
1 parent ddd0af4 commit 38c24ad
Show file tree
Hide file tree
Showing 23 changed files with 665 additions and 611 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
# Simple workflow for building application and deploying static content to GitHub Pages
name: Build and Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
Expand Down
4 changes: 4 additions & 0 deletions site.core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ To get an interactive development environment run:

lein fig:build

To build the css:

lein tailwind build

This will auto compile and send all changes to the browser without the
need to reload. After the compilation process is complete, you will
get a Browser Connected REPL. An easy way to try it is:
Expand Down
10 changes: 5 additions & 5 deletions site.core/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@

:dependencies [[org.clojure/clojure "1.10.0"]
[org.clojure/clojurescript "1.11.4"]
[cljs-http/cljs-http "0.1.48"]
[cljsjs/react "17.0.2-0"]
[cljsjs/react-dom "17.0.2-0"]
[reagent "1.1.1"]
[lein-tailwind "0.1.2"]]
[lein-tailwind "0.1.2"]]

:source-paths ["src"]

:plugins [[lein-tailwind "0.1.2"]]

:hooks [leiningen.tailwind]
:tailwind {:tailwind-dir "resources/public/css/tailwind"

:tailwind {:tailwind-dir "resources/public/css/tailwind"
:output-dir "resources/public/css"
:tailwind-config "tailwind.config.js" ;; tailwind.config.js is the default value
:tailwind-config "tailwind.config.js" ;; tailwind.config.js is the default value
:styles [{:src "main.css"
:dst "main.css"}]}

Expand All @@ -35,4 +36,3 @@
:resource-paths ["target"]
;; need to add the compiled assets to the :clean-targets
:clean-targets ^{:protect false} ["target"]}})

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

767 changes: 386 additions & 381 deletions site.core/resources/public/cljs-out/dev-main.js

Large diffs are not rendered by default.

Loading

0 comments on commit 38c24ad

Please sign in to comment.