feat(wallpaper): add pixel city wallpaper to the wallpaper collection
All checks were successful
Deploy / deploy (push) Successful in 12s
All checks were successful
Deploy / deploy (push) Successful in 12s
This commit is contained in:
@@ -11,7 +11,6 @@ export default function AboutMe() {
|
||||
<div>
|
||||
<h2 style={{ fontSize: 20, fontWeight: 600, marginBottom: 4 }}>Mingda Xie <span style={{ color: 'rgba(255,255,255,0.4)', fontWeight: 400, fontSize: 14 }}>解明达</span></h2>
|
||||
<p style={{ fontSize: 13, color: 'rgba(255,255,255,0.6)', lineHeight: 1.5 }}>Backend Developer · CS Master's @ Northeastern University</p>
|
||||
<p style={{ fontSize: 13, color: 'rgba(255,255,255,0.5)' }}>Shenzhen-bound · Class of 2026</p>
|
||||
</div>
|
||||
</div>
|
||||
<div style={{ display: 'flex', gap: 8, flexWrap: 'wrap', marginBottom: 20 }}>
|
||||
@@ -26,7 +25,7 @@ export default function AboutMe() {
|
||||
</div>
|
||||
<p style={{ fontSize: 13, color: 'rgba(255,255,255,0.7)', lineHeight: 1.7, marginBottom: 16 }}>
|
||||
Backend engineer who runs a personal k3s cluster on Vultr, ships microservices, and builds things that occasionally work in production.
|
||||
LeetCode 400+. Pixel art enjoyer. Stardew Valley veteran. Huge fan of 土屋アンナ.
|
||||
Pixel art enjoyer. Stardew Valley veteran. Huge fan of 土屋アンナ.
|
||||
</p>
|
||||
<p style={{ fontSize: 12, color: 'rgba(255,255,255,0.3)', fontStyle: 'italic' }}>
|
||||
"I am the dragon scroll, bitch." — Genuine mastery over shortcuts.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background-size: 24px 24px, 12px 12px, cover;
|
||||
background-position: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,10 @@ export default function Desktop() {
|
||||
return (
|
||||
<div
|
||||
className="desktop"
|
||||
style={{ background: WALLPAPERS[state.wallpaper] }}
|
||||
style={{
|
||||
background: WALLPAPERS[state.wallpaper],
|
||||
backgroundSize: WALLPAPERS[state.wallpaper].startsWith('url(') ? 'cover' : undefined,
|
||||
}}
|
||||
onContextMenu={handleContextMenu}
|
||||
onClick={() => setCtxMenu(null)}
|
||||
>
|
||||
|
||||
@@ -107,4 +107,6 @@ export const WALLPAPERS = [
|
||||
linear-gradient(135deg, #050510 0%, #06060f 100%)`,
|
||||
// Solid dark — flat and minimal
|
||||
`linear-gradient(135deg, #050510 0%, #080818 100%)`,
|
||||
// Pixel city — neon cityscape
|
||||
`url(/wallpaper-city.png)`,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user