Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 62066c6f3b | |||
| 97b1fa0316 | |||
| 7f31880b51 | |||
| ddbcb33812 | |||
| 4e9ca2759a | |||
|
eae55da29d
|
|||
| b40a58a4e0 | |||
|
157a7bcdc5
|
|||
| 469d9ba3f7 | |||
| 8c5488fad5 | |||
| eff067a743 | |||
|
da28e5b50e
|
|||
| f376f2e1e4 | |||
|
a1cfa4ef24
|
|||
| cc5e975ea6 | |||
| ea15224eae |
@@ -22,7 +22,7 @@ WORKDIR /app
|
|||||||
COPY --from=prod-deps /app/node_modules /app/node_modules
|
COPY --from=prod-deps /app/node_modules /app/node_modules
|
||||||
COPY --from=build /app/dist /app/dist
|
COPY --from=build /app/dist /app/dist
|
||||||
|
|
||||||
LABEL version="2.17.0"
|
LABEL version="2.18.1"
|
||||||
LABEL description="Astro based personal website"
|
LABEL description="Astro based personal website"
|
||||||
|
|
||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "site-profile",
|
"name": "site-profile",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "2.17.0",
|
"version": "2.18.1",
|
||||||
"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",
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
"@giscus/react": "^3.1.0",
|
"@giscus/react": "^3.1.0",
|
||||||
"@iconify-json/mdi": "^1.2.3",
|
"@iconify-json/mdi": "^1.2.3",
|
||||||
"@iconify-json/pajamas": "^1.2.15",
|
"@iconify-json/pajamas": "^1.2.15",
|
||||||
"@iconify-json/simple-icons": "^1.2.71",
|
"@iconify-json/simple-icons": "^1.2.72",
|
||||||
"@playform/compress": "^0.2.1",
|
"@playform/compress": "^0.2.1",
|
||||||
"@swup/astro": "^1.8.0",
|
"@swup/astro": "^1.8.0",
|
||||||
"@tailwindcss/postcss": "^4.2.1",
|
"@tailwindcss/postcss": "^4.2.1",
|
||||||
@@ -49,13 +49,13 @@
|
|||||||
"marked": "^17.0.3",
|
"marked": "^17.0.3",
|
||||||
"marked-shiki": "^1.2.1",
|
"marked-shiki": "^1.2.1",
|
||||||
"mdast-util-to-string": "^4.0.0",
|
"mdast-util-to-string": "^4.0.0",
|
||||||
"preline": "^4.1.1",
|
"preline": "^4.1.2",
|
||||||
"react": "^19.2.4",
|
"react": "^19.2.4",
|
||||||
"react-dom": "^19.2.4",
|
"react-dom": "^19.2.4",
|
||||||
"reading-time": "^1.5.0",
|
"reading-time": "^1.5.0",
|
||||||
"sharp": "^0.34.5",
|
"sharp": "^0.34.5",
|
||||||
"sharp-ico": "^0.1.5",
|
"sharp-ico": "^0.1.5",
|
||||||
"shiki": "^3.23.0",
|
"shiki": "^4.0.1",
|
||||||
"tailwindcss": "^4.2.1",
|
"tailwindcss": "^4.2.1",
|
||||||
"ultrahtml": "^1.6.0"
|
"ultrahtml": "^1.6.0"
|
||||||
},
|
},
|
||||||
|
|||||||
549
pnpm-lock.yaml
generated
549
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -4,12 +4,11 @@ import { Image } from 'astro:assets';
|
|||||||
const { srcLight, srcDark, alt, style, width, height } = Astro.props;
|
const { srcLight, srcDark, alt, style, width, height } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="themed-image-container">
|
<div class="grid grid-cols-1 grid-rows-1">
|
||||||
<Image
|
<Image
|
||||||
src={srcLight}
|
src={srcLight}
|
||||||
alt={alt}
|
alt={alt}
|
||||||
class={`light-logo ${style}`}
|
class:list={['col-start-1 row-start-1 transition-all duration-400 ease-in-out opacity-100 scale-100 dark:opacity-0 dark:scale-65', style]}
|
||||||
inferSize={true}
|
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
inferSize={true}
|
inferSize={true}
|
||||||
@@ -18,29 +17,9 @@ const { srcLight, srcDark, alt, style, width, height } = Astro.props;
|
|||||||
<Image
|
<Image
|
||||||
src={srcDark}
|
src={srcDark}
|
||||||
alt={alt}
|
alt={alt}
|
||||||
class={`dark-logo ${style}`}
|
class:list={['col-start-1 row-start-1 transition-all duration-400 ease-in-out opacity-0 scale-65 dark:opacity-100 dark:scale-100', style]}
|
||||||
inferSize={true}
|
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
inferSize={true}
|
inferSize={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
|
||||||
.themed-image-container {
|
|
||||||
display: grid;
|
|
||||||
grid-template-areas: "stack";
|
|
||||||
}
|
|
||||||
|
|
||||||
.themed-image-container :global(img) {
|
|
||||||
grid-area: stack;
|
|
||||||
}
|
|
||||||
|
|
||||||
:global(.dark) .light-logo {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
:global(.dark) .dark-logo {
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -133,23 +133,23 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
|
|||||||
|
|
||||||
/* Background that creates the "glimmer" effect */
|
/* Background that creates the "glimmer" effect */
|
||||||
.bg {
|
.bg {
|
||||||
animation: slide 20s ease-in-out infinite alternate;
|
animation: slide 25s ease-in-out infinite alternate;
|
||||||
background-image: linear-gradient(-60deg, var(--bg-primary) 33.3%, var(--bg-secondary) 33.3%, var(--bg-secondary) 66.6%, var(--bg-tertiary) 66.6%);
|
background-image: linear-gradient(-55deg, var(--bg-primary) 33.3%, var(--bg-secondary) 33.3%, var(--bg-secondary) 66.6%, var(--bg-tertiary) 66.6%);
|
||||||
filter: blur(80px);
|
filter: blur(40px);
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: -50%;
|
left: -70%;
|
||||||
right: -50%;
|
right: -70%;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
--bg-primary: #e5e5e5;
|
--bg-primary: #e5e5e5;
|
||||||
--bg-secondary: #d9d9d9;
|
--bg-secondary: #dce3eb;
|
||||||
--bg-tertiary: #ededed;
|
--bg-tertiary: #f4f6f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.dark) .bg {
|
:global(.dark) .bg {
|
||||||
--bg-primary: #292524;
|
--bg-primary: #332f2e;
|
||||||
--bg-secondary: #44403c;
|
--bg-secondary: #44403c;
|
||||||
--bg-tertiary: #57534e;
|
--bg-tertiary: #57534e;
|
||||||
}
|
}
|
||||||
@@ -160,15 +160,15 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bg3 {
|
.bg3 {
|
||||||
animation-duration: 25s;
|
animation-duration: 20s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes slide {
|
@keyframes slide {
|
||||||
0% {
|
0% {
|
||||||
transform:translateX(-25%);
|
transform: translateX(-30%);
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
transform:translateX(25%);
|
transform: translateX(30%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -39,10 +39,10 @@
|
|||||||
|
|
||||||
/* Object colors */
|
/* Object colors */
|
||||||
--color-background: light-dark(var(--color-neutral-200), var(--color-stone-700));
|
--color-background: light-dark(var(--color-neutral-200), var(--color-stone-700));
|
||||||
--color-background-accent: light-dark(color-mix(in srgb, var(--color-neutral-300) 40%, transparent), color-mix(in srgb, var(--color-stone-800) 20%, transparent));
|
--color-background-accent: light-dark(color-mix(in srgb, var(--color-slate-300) 40%, transparent), color-mix(in srgb, var(--color-stone-800) 20%, transparent));
|
||||||
--color-background-card: light-dark(color-mix(in srgb, var(--color-neutral-100) 80%, transparent), color-mix(in srgb, var(--color-neutral-800) 60%, transparent));
|
--color-background-card: light-dark(color-mix(in srgb, var(--color-neutral-100) 80%, transparent), color-mix(in srgb, var(--color-neutral-800) 60%, transparent));
|
||||||
|
|
||||||
--color-divider: light-dark(color-mix(in srgb, var(--color-neutral-400) 50%, transparent), color-mix(in srgb, var(--color-neutral-500) 50%, transparent));
|
--color-divider: light-dark(color-mix(in srgb, var(--color-slate-400) 40%, transparent), color-mix(in srgb, var(--color-neutral-500) 50%, transparent));
|
||||||
}
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
|
|||||||
Reference in New Issue
Block a user