-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(tailwind): npm instead of cdn * fix(app): serving favicon now * fix(htmx): local file instead of cdn * fix: sane cargo compat bounds * fix: update cargo.lock * feat(templates): quote fixes to author * feat(daisyui): daisyui components * feat(README): daisyui and screenshot * chore: bump version to 0.2.0
- Loading branch information
Showing
12 changed files
with
97 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
[package] | ||
name = "stoic-quotes" | ||
version = "0.1.2" | ||
version = "0.2.0" | ||
edition = "2021" | ||
authors = ["Jose Storopoli <jose@storopoli.io>"] | ||
description = "Stoic quotes API backend" | ||
license = "MIT" | ||
readme = "README.md" | ||
|
||
[dependencies] | ||
anyhow = "1.0.79" | ||
askama = "0.12.1" | ||
axum = "0.7.3" | ||
lazy_static = "1.4.0" | ||
rand = "0.8.5" | ||
serde = { version = "1.0.195", features = ["derive"] } | ||
serde_json = "1.0.111" | ||
tokio = { version = "1.35.1", features = ["full"] } | ||
tower-http = { version = "0.5.0", features = ["tracing", "trace"] } | ||
tracing = "0.1.40" | ||
tracing-subscriber = "0.3.18" | ||
anyhow = "1" | ||
askama = "0.12" | ||
axum = "0.7" | ||
lazy_static = "1" | ||
rand = "0.8" | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
tokio = { version = "1", features = ["full"] } | ||
tower-http = { version = "0.5", features = ["tracing", "trace", "fs"] } | ||
tracing = "0.1" | ||
tracing-subscriber = "0.3" | ||
|
||
[dev-dependencies] | ||
http-body-util = "0.1" | ||
tower = { version = "0.4", features = ["util"] } | ||
|
||
[profile.release] | ||
lto = true | ||
|
||
[dev-dependencies] | ||
http-body-util = "0.1.0" | ||
tower = { version = "0.4.13", features = ["util"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"devDependencies": { | ||
"daisyui": "^4.6", | ||
"tailwindcss": "^3.4" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@import url("https://api.fontshare.com/v2/css?f[]=satoshi@1&display=swap"); | ||
|
||
@layer base { | ||
div { | ||
font-family: "Satoshi", system-ui, sans-serif; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ["./src/**/*.{html,js}", "./templates/**/*.{html,js}"], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [require("daisyui")], | ||
daisyui: { | ||
themes: [ | ||
{ | ||
dark: { | ||
...require("daisyui/src/theming/themes")["dark"], | ||
accent: "#826BA8", | ||
}, | ||
}, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<blockquote id="quote" class="text-center"> | ||
<p class="text-2xl font-semibold md:text-4xl">"{{ text }}"</p> | ||
<footer class="mt-4 text-xl">- {{ author }}</footer> | ||
<footer class="mt-4 text-xl text-right italic">{{ author }}</footer> | ||
</blockquote> |