Skip to content
Open
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ pnpm-lock.yaml

.astro
*.old

# build-time data caches
.cache/
9 changes: 9 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"astro-seo": "^1.1.0",
"limax": "4.2.3",
"lodash.merge": "^4.6.2",
"prismjs": "^1.30.0",
"unpic": "^4.2.2"
},
"devDependencies": {
Expand All @@ -47,6 +48,7 @@
"@types/js-yaml": "^4.0.9",
"@types/lodash.merge": "^4.6.9",
"@types/mdx": "^2.0.13",
"@types/prismjs": "^1.26.5",
"@typescript-eslint/eslint-plugin": "^8.60.0",
"@typescript-eslint/parser": "^8.60.0",
"astro-compress": "^2.4.1",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
--font-serif: 'var(--aw-font-serif, ui-serif)', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
--font-heading: 'var(--aw-font-heading, ui-sans-serif)', ui-sans-serif, system-ui, sans-serif;

--text-xxs: 0.65rem;
--text-xxs--line-height: 1rem;

--animate-fade: fadeInUp 1s both;

@keyframes fadeInUp {
Expand Down
7 changes: 5 additions & 2 deletions src/components/widgets/Stats.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const {
<div class="flex flex-wrap justify-center -m-4 text-center">
{
stats &&
stats.map(({ amount, title, icon }) => (
<div class="p-4 md:w-1/4 sm:w-1/2 w-full min-w-[220px] text-center md:border-r md:last:border-none dark:md:border-slate-500">
stats.map(({ amount, title, icon, disclaimer }) => (
<div class="p-4 md:w-1/4 sm:w-1/2 w-full min-w-55 text-center md:border-r md:last:border-none dark:md:border-slate-500">
{icon && (
<div class="flex items-center justify-center mx-auto mb-4 text-primary">
<Icon name={icon} class="w-10 h-10" />
Expand All @@ -39,6 +39,9 @@ const {
{title}
</div>
)}
{ disclaimer && (
<div class="text-xxs text-gray-600 dark:text-slate-500">{disclaimer}</div>
)}
</div>
))
}
Expand Down
Loading
Loading