3.9 KiB
Placeholder Media Assets
This template references several media files that need to be replaced with your own content.
Required Assets to Replace
Images (src/assets/)
The following images in src/assets/ are currently placeholders and should be replaced with your own:
-
nicholai-closeup-portrait.avif
- Purpose: Used in various components
- Recommended dimensions: 800x800px minimum
- Format: AVIF (use
pnpm convert:avif:allto convert)
-
nicholai-medium-portrait.avif
- Purpose: Default OG (Open Graph) image for social media shares
- Referenced in:
src/components/BaseHead.astro:6 - Recommended dimensions: 1200x630px (Open Graph standard)
- Format: AVIF
-
g-star-image.avif
- Purpose: Project/case study imagery
- Referenced in: Blog post hero images
- Recommended dimensions: 1920x1080px or larger
- Format: AVIF
-
claude-nuke.avif
- Purpose: Blog post hero image
- Recommended dimensions: 1920x1080px or larger
- Format: AVIF
-
foxrenderfarm-arch-linux.avif
- Purpose: Blog post hero image
- Recommended dimensions: 1920x1080px or larger
- Format: AVIF
-
PENCIL_1.3.1_wipe.avif
- Purpose: Blog post hero image
- Recommended dimensions: 1920x1080px or larger
- Format: AVIF
Videos (public/media/)
The following video files need to be replaced:
-
placeholder-video.mp4
- Purpose: Featured project video, blog post demonstrations
- Referenced in:
src/content/sections/featured-project.mdx:18 - Recommended: MP4 format, H.264 codec
- Max file size: Keep under 50MB for good performance
- Dimensions: 1920x1080px or 3840x2160px (4K)
-
GSTR_01_260_breakdown.mp4 (Remove/Replace)
- Purpose: Project breakdown video
- Should be replaced with your own project video
-
GSTR_03_070_v10_breakdown_v01.mp4 (Remove/Replace)
- Purpose: Project breakdown video
- Should be replaced with your own project video
Favicons (public/)
These should be customized with your own branding:
- favicon.ico
- favicon-32.png
- favicon-192.png
- apple-touch-icon.png
- favicon.svg
- favicon.JPG (appears to be personal, should be replaced)
Profile Images (public/media/)
- nicholai-wild-portrait.JPEG
- Replace with your own portrait
- Recommended dimensions: 1200x1200px or larger
How to Add Your Own Assets
For Images
-
Place your images in the appropriate directory:
- Processed images:
src/assets/(these get optimized by Astro) - Static images:
public/media/(served as-is)
- Processed images:
-
Convert to AVIF for best performance:
pnpm convert:avif:all -
Update references:
- Blog post frontmatter (heroImage field)
- Section MDX files in
src/content/sections/ - Default OG image in
src/components/BaseHead.astro
For Videos
-
Optimize your video:
- Use H.264 codec for MP4
- Keep file size reasonable (< 50MB if possible)
- Consider providing multiple resolutions
-
Place in
public/media/ -
Update references:
src/content/sections/featured-project.mdx(videoUrl field)- Blog posts where videos are embedded
For Favicons
-
Generate favicons from your logo/brand mark using a tool like:
-
Replace files in
public/
Quick Replace Checklist
- Default OG image (
src/assets/nicholai-medium-portrait.avif) - All blog post hero images
- Featured project video (
/media/placeholder-video.mp4) - Favicon set (ico, png, svg)
- Remove or replace personal videos (GSTR files)
- Profile/portrait images
Notes
- AVIF format is recommended for images as it provides excellent compression
- The template includes a conversion utility:
pnpm convert:avif:all - Always optimize images before uploading (compress, resize)
- Consider using a CDN for large media files in production