Stop reading clutter
This commit is contained in:
parent
82c723c192
commit
1cdc202731
8 changed files with 11 additions and 67 deletions
|
|
@ -5,8 +5,8 @@ import type { ImageMetadata } from 'astro';
|
|||
|
||||
// Theme background colors, the single source of truth for the
|
||||
// <meta name="theme-color"> tags and the FOUC-prevention scripts (injected in
|
||||
// Base.astro and Header.astro). Keep --color-bg in global.css in sync; CSS
|
||||
// cannot import these values.
|
||||
// Base.astro and Header.astro). Keep --color-bg in styles/tokens.css in sync;
|
||||
// CSS cannot import these values.
|
||||
export const THEME_BG = { light: '#fbfaf7', dark: '#201f1d' };
|
||||
|
||||
export const site = {
|
||||
|
|
@ -139,10 +139,10 @@ export function projectCard(entry: CollectionEntry<'work'>): ProjectCard {
|
|||
const project = data.project;
|
||||
return {
|
||||
title: project?.title ?? data.title,
|
||||
description: project?.description ?? data.description,
|
||||
description: data.description,
|
||||
thumbnail: {
|
||||
src: project?.thumbnail?.src ?? data.thumbnail.src,
|
||||
alt: project?.thumbnail?.alt ?? data.thumbnail.alt,
|
||||
alt: data.thumbnail.alt,
|
||||
},
|
||||
technologies: project?.technologies ?? data.article?.stack ?? [],
|
||||
selected: project?.selected ?? false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue