Compare commits
10 Commits
2.0.2
...
renovate/a
Author | SHA1 | Date | |
---|---|---|---|
73a09dd7f8
|
|||
0f93b9d138 | |||
2211107a2c
|
|||
b58cbdbe0a | |||
49e2376dbf | |||
6b1eaa439a | |||
f92f911360 | |||
1cdbbd4a11 | |||
da7c5c4a58 | |||
931d1009ed |
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
@@ -16,7 +16,7 @@ jobs:
|
|||||||
container: ghcr.io/renovatebot/renovate:41
|
container: ghcr.io/renovatebot/renovate:41
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Renovate
|
- name: Renovate
|
||||||
run: renovate
|
run: renovate
|
||||||
|
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Set up pnpm
|
- name: Set up pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
ARG REGISTRY=docker.io
|
ARG REGISTRY=docker.io
|
||||||
FROM ${REGISTRY}/node:22.18.0-alpine3.22 AS base
|
FROM ${REGISTRY}/node:22.18.0-alpine3.22 AS base
|
||||||
|
|
||||||
LABEL version="2.0.2"
|
LABEL version="2.0.5"
|
||||||
LABEL description="Astro based personal website"
|
LABEL description="Astro based personal website"
|
||||||
|
|
||||||
ENV PNPM_HOME="/pnpm"
|
ENV PNPM_HOME="/pnpm"
|
||||||
|
23
LICENSE.md
23
LICENSE.md
@@ -1,23 +0,0 @@
|
|||||||
# MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2025 Lê Vĩnh Khang
|
|
||||||
|
|
||||||
Copyright (c) 2025 Alex Lebens
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "site-profile",
|
"name": "site-profile",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "2.0.2",
|
"version": "2.0.5",
|
||||||
"homepage": "https://www.alexlebens.dev",
|
"homepage": "https://www.alexlebens.dev",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://gitea.alexlebens.dev/alexlebens/site-profile/issues",
|
"url": "https://gitea.alexlebens.dev/alexlebens/site-profile/issues",
|
||||||
|
28
pnpm-lock.yaml
generated
28
pnpm-lock.yaml
generated
@@ -22,7 +22,7 @@ importers:
|
|||||||
version: 2.1.4
|
version: 2.1.4
|
||||||
'@astrojs/react':
|
'@astrojs/react':
|
||||||
specifier: ^4.3.0
|
specifier: ^4.3.0
|
||||||
version: 4.3.0(@types/node@24.2.1)(@types/react-dom@19.1.7(@types/react@19.1.9))(@types/react@19.1.9)(jiti@2.5.1)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(terser@5.42.0)(yaml@2.8.0)
|
version: 4.3.0(@types/node@24.2.1)(@types/react-dom@19.1.7(@types/react@19.1.10))(@types/react@19.1.10)(jiti@2.5.1)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(terser@5.42.0)(yaml@2.8.0)
|
||||||
'@astrojs/rss':
|
'@astrojs/rss':
|
||||||
specifier: ^4.0.12
|
specifier: ^4.0.12
|
||||||
version: 4.0.12
|
version: 4.0.12
|
||||||
@@ -31,7 +31,7 @@ importers:
|
|||||||
version: 3.4.2
|
version: 3.4.2
|
||||||
'@directus/sdk':
|
'@directus/sdk':
|
||||||
specifier: ^20.0.0
|
specifier: ^20.0.0
|
||||||
version: 20.0.1
|
version: 20.0.2
|
||||||
'@giscus/react':
|
'@giscus/react':
|
||||||
specifier: ^3.1.0
|
specifier: ^3.1.0
|
||||||
version: 3.1.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
|
version: 3.1.0(react-dom@19.1.1(react@19.1.1))(react@19.1.1)
|
||||||
@@ -61,7 +61,7 @@ importers:
|
|||||||
version: 4.1.11(vite@6.3.5(@types/node@24.2.1)(jiti@2.5.1)(lightningcss@1.30.1)(terser@5.42.0)(yaml@2.8.0))
|
version: 4.1.11(vite@6.3.5(@types/node@24.2.1)(jiti@2.5.1)(lightningcss@1.30.1)(terser@5.42.0)(yaml@2.8.0))
|
||||||
'@types/react':
|
'@types/react':
|
||||||
specifier: ^19.0.0
|
specifier: ^19.0.0
|
||||||
version: 19.1.9
|
version: 19.1.10
|
||||||
'@types/unist':
|
'@types/unist':
|
||||||
specifier: ^3.0.2
|
specifier: ^3.0.2
|
||||||
version: 3.0.3
|
version: 3.0.3
|
||||||
@@ -821,8 +821,8 @@ packages:
|
|||||||
'@capsizecss/unpack@2.4.0':
|
'@capsizecss/unpack@2.4.0':
|
||||||
resolution: {integrity: sha512-GrSU71meACqcmIUxPYOJvGKF0yryjN/L1aCuE9DViCTJI7bfkjgYDPD1zbNDcINJwSSP6UaBZY9GAbYDO7re0Q==}
|
resolution: {integrity: sha512-GrSU71meACqcmIUxPYOJvGKF0yryjN/L1aCuE9DViCTJI7bfkjgYDPD1zbNDcINJwSSP6UaBZY9GAbYDO7re0Q==}
|
||||||
|
|
||||||
'@directus/sdk@20.0.1':
|
'@directus/sdk@20.0.2':
|
||||||
resolution: {integrity: sha512-HK3UYGr9/k0gqlIwDnNlV6nlUBOpoSYoPSPSGoptelx04AsXT8bj2+4T+z3vi9BiIXCvrWAa1K1ELzg3/gKzOw==}
|
resolution: {integrity: sha512-eZu61BdWN1R4h6A/K3jIiZfK8WMg3z5JLDPrdGPA8ZWpXjXlR0qtPOBJ0dZFJn25C2Huu0ND6UMrFlhDgkIwyw==}
|
||||||
engines: {node: '>=22'}
|
engines: {node: '>=22'}
|
||||||
|
|
||||||
'@dprint/formatter@0.3.0':
|
'@dprint/formatter@0.3.0':
|
||||||
@@ -2037,8 +2037,8 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@types/react': ^19.0.0
|
'@types/react': ^19.0.0
|
||||||
|
|
||||||
'@types/react@19.1.9':
|
'@types/react@19.1.10':
|
||||||
resolution: {integrity: sha512-WmdoynAX8Stew/36uTSVMcLJJ1KRh6L3IZRx1PZ7qJtBqT3dYTgyDTx8H1qoRghErydW7xw9mSJ3wS//tCRpFA==}
|
resolution: {integrity: sha512-EhBeSYX0Y6ye8pNebpKrwFJq7BoQ8J5SO6NlvNwwHjSj6adXJViPQrKlsyPw7hLBLvckEMO1yxeGdR82YBBlDg==}
|
||||||
|
|
||||||
'@types/resolve@1.17.1':
|
'@types/resolve@1.17.1':
|
||||||
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
|
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
|
||||||
@@ -6168,10 +6168,10 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
prismjs: 1.30.0
|
prismjs: 1.30.0
|
||||||
|
|
||||||
'@astrojs/react@4.3.0(@types/node@24.2.1)(@types/react-dom@19.1.7(@types/react@19.1.9))(@types/react@19.1.9)(jiti@2.5.1)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(terser@5.42.0)(yaml@2.8.0)':
|
'@astrojs/react@4.3.0(@types/node@24.2.1)(@types/react-dom@19.1.7(@types/react@19.1.10))(@types/react@19.1.10)(jiti@2.5.1)(lightningcss@1.30.1)(react-dom@19.1.1(react@19.1.1))(react@19.1.1)(terser@5.42.0)(yaml@2.8.0)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/react': 19.1.9
|
'@types/react': 19.1.10
|
||||||
'@types/react-dom': 19.1.7(@types/react@19.1.9)
|
'@types/react-dom': 19.1.7(@types/react@19.1.10)
|
||||||
'@vitejs/plugin-react': 4.7.0(vite@6.3.5(@types/node@24.2.1)(jiti@2.5.1)(lightningcss@1.30.1)(terser@5.42.0)(yaml@2.8.0))
|
'@vitejs/plugin-react': 4.7.0(vite@6.3.5(@types/node@24.2.1)(jiti@2.5.1)(lightningcss@1.30.1)(terser@5.42.0)(yaml@2.8.0))
|
||||||
react: 19.1.1
|
react: 19.1.1
|
||||||
react-dom: 19.1.1(react@19.1.1)
|
react-dom: 19.1.1(react@19.1.1)
|
||||||
@@ -6969,7 +6969,7 @@ snapshots:
|
|||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- encoding
|
- encoding
|
||||||
|
|
||||||
'@directus/sdk@20.0.1': {}
|
'@directus/sdk@20.0.2': {}
|
||||||
|
|
||||||
'@dprint/formatter@0.3.0': {}
|
'@dprint/formatter@0.3.0': {}
|
||||||
|
|
||||||
@@ -8176,11 +8176,11 @@ snapshots:
|
|||||||
|
|
||||||
'@types/parse-json@4.0.2': {}
|
'@types/parse-json@4.0.2': {}
|
||||||
|
|
||||||
'@types/react-dom@19.1.7(@types/react@19.1.9)':
|
'@types/react-dom@19.1.7(@types/react@19.1.10)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/react': 19.1.9
|
'@types/react': 19.1.10
|
||||||
|
|
||||||
'@types/react@19.1.9':
|
'@types/react@19.1.10':
|
||||||
dependencies:
|
dependencies:
|
||||||
csstype: 3.1.3
|
csstype: 3.1.3
|
||||||
|
|
||||||
|
@@ -7,6 +7,7 @@ import BlogCard from '@components/blog/BlogCard.astro';
|
|||||||
|
|
||||||
const posts = await directus.request(
|
const posts = await directus.request(
|
||||||
readItems('posts', {
|
readItems('posts', {
|
||||||
|
filter: { published: { _eq: true } },
|
||||||
fields: ['*'],
|
fields: ['*'],
|
||||||
sort: ['-published_date'],
|
sort: ['-published_date'],
|
||||||
})
|
})
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
---
|
---
|
||||||
title: 'Cloud ☁️'
|
title: 'Cloud ☁️'
|
||||||
description: 'Its just someone else's server'
|
description: "Its just someone else's server"
|
||||||
---
|
---
|
||||||
|
@@ -25,6 +25,7 @@ export type Post = {
|
|||||||
tags: string[];
|
tags: string[];
|
||||||
category: string;
|
category: string;
|
||||||
selected: boolean;
|
selected: boolean;
|
||||||
|
published: boolean;
|
||||||
content: string;
|
content: string;
|
||||||
image: string;
|
image: string;
|
||||||
image_alt: string;
|
image_alt: string;
|
||||||
|
@@ -13,6 +13,7 @@ import blogImg from '@images/autumn_tree.png';
|
|||||||
const global = await directus.request(readSingleton('site_global'));
|
const global = await directus.request(readSingleton('site_global'));
|
||||||
const posts = await directus.request(
|
const posts = await directus.request(
|
||||||
readItems('posts', {
|
readItems('posts', {
|
||||||
|
filter: { published: { _eq: true } },
|
||||||
fields: ['*'],
|
fields: ['*'],
|
||||||
sort: ['-published_date'],
|
sort: ['-published_date'],
|
||||||
})
|
})
|
||||||
|
@@ -21,6 +21,7 @@ const { category } = Astro.props;
|
|||||||
const global = await directus.request(readSingleton('site_global'));
|
const global = await directus.request(readSingleton('site_global'));
|
||||||
const posts = await directus.request(
|
const posts = await directus.request(
|
||||||
readItems('posts', {
|
readItems('posts', {
|
||||||
|
filter: { published: { _eq: true } },
|
||||||
fields: ['*'],
|
fields: ['*'],
|
||||||
sort: ['-published_date'],
|
sort: ['-published_date'],
|
||||||
})
|
})
|
||||||
|
@@ -14,6 +14,7 @@ import categoryImg from '@images/autumn_bench.png';
|
|||||||
const global = await directus.request(readSingleton('site_global'));
|
const global = await directus.request(readSingleton('site_global'));
|
||||||
const posts = await directus.request(
|
const posts = await directus.request(
|
||||||
readItems('posts', {
|
readItems('posts', {
|
||||||
|
filter: { published: { _eq: true } },
|
||||||
fields: ['*'],
|
fields: ['*'],
|
||||||
sort: ['-published_date'],
|
sort: ['-published_date'],
|
||||||
})
|
})
|
||||||
|
@@ -23,6 +23,7 @@ export async function GET(context: APIContext) {
|
|||||||
// Load the content collection entries to add to our RSS feed.
|
// Load the content collection entries to add to our RSS feed.
|
||||||
const posts = await directus.request(
|
const posts = await directus.request(
|
||||||
readItems('posts', {
|
readItems('posts', {
|
||||||
|
filter: { published: { _eq: true } },
|
||||||
fields: ['*'],
|
fields: ['*'],
|
||||||
sort: ['-published_date'],
|
sort: ['-published_date'],
|
||||||
})
|
})
|
||||||
|
@@ -1,58 +0,0 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
|
||||||
module.exports = {
|
|
||||||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}', '*.{js,ts,jsx,tsx,mdx}'],
|
|
||||||
darkMode: 'class',
|
|
||||||
theme: {
|
|
||||||
extend: {
|
|
||||||
typography: (theme) => ({
|
|
||||||
DEFAULT: {
|
|
||||||
css: {
|
|
||||||
a: {
|
|
||||||
color: theme('colors.zinc.900'),
|
|
||||||
'&:hover': {
|
|
||||||
color: theme('colors.zinc.700'),
|
|
||||||
},
|
|
||||||
textDecoration: 'underline',
|
|
||||||
textDecorationColor: theme('colors.zinc.400'),
|
|
||||||
textUnderlineOffset: '2px',
|
|
||||||
},
|
|
||||||
'h1, h2, h3, h4, h5, h6': {
|
|
||||||
color: theme('colors.zinc.900'),
|
|
||||||
},
|
|
||||||
code: {
|
|
||||||
color: theme('colors.zinc.900'),
|
|
||||||
backgroundColor: theme('colors.zinc.100'),
|
|
||||||
borderRadius: theme('borderRadius.md'),
|
|
||||||
padding: `${theme('padding.1')} ${theme('padding.1.5')}`,
|
|
||||||
},
|
|
||||||
'code::before': {
|
|
||||||
content: '""',
|
|
||||||
},
|
|
||||||
'code::after': {
|
|
||||||
content: '""',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
invert: {
|
|
||||||
css: {
|
|
||||||
a: {
|
|
||||||
color: theme('colors.zinc.100'),
|
|
||||||
'&:hover': {
|
|
||||||
color: theme('colors.zinc.300'),
|
|
||||||
},
|
|
||||||
textDecorationColor: theme('colors.zinc.700'),
|
|
||||||
},
|
|
||||||
'h1, h2, h3, h4, h5, h6': {
|
|
||||||
color: theme('colors.zinc.100'),
|
|
||||||
},
|
|
||||||
code: {
|
|
||||||
color: theme('colors.zinc.100'),
|
|
||||||
backgroundColor: theme('colors.zinc.800'),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
plugins: [require('@tailwindcss/typography')],
|
|
||||||
};
|
|
Reference in New Issue
Block a user