A personal portfolio website showcasing work and thoughts on design and development.
Clone the repository:
git clone https://github.com/yourusername/folio.git
cd folio
Install dependencies:
npm install
Start the development server:
npm run dev
View the site at http://localhost:1313
npm run build
The built files will be in the public/
directory.
folio/
├── archetypes/ # Content templates
├── assets/ # Source files (SCSS, JS)
│ ├── scss/ # Styling files
│ └── js/ # JavaScript files
├── content/ # Markdown content
│ ├── work/ # Project posts
│ └── blog/ # Blog posts
├── data/ # Site data files
├── layouts/ # Hugo templates
├── static/ # Static files
│ ├── assets/ # Images and other assets
│ └── admin/ # CMS admin panel
└── config.toml # Site configuration
hugo new work/your-project-name/index.md
Project front matter template:
---
title: "Project Title"
date: 2024-03-21
draft: false
description: "Brief project description"
tags: ["web", "design", "development"]
technologies: ["React", "Node.js"]
thumbnail: "/assets/images/projects/thumbnail.jpg"
---
hugo new blog/post-name.md
{{< image src="https://github.com/kocheck/folio/raw/main/filename.jpg" alt="Alt text" >}}
For work/project pages, use these specifications for hero images:
The hero images will be automatically resized to:
Create a .env
file in the root directory:
HUGO_ENVIRONMENT="development"
CONTACT_FORM_ENDPOINT="your-endpoint"
GA_TRACKING_ID="UA-XXXXXXXXX-X"
assets/scss/_variables.scss
assets/scss/custom.scss
npm run build
public
config.toml
baseURLThis project is licensed under the MIT License - see the LICENSE.md file for details
For support, email your@email.com or create an issue in the GitHub repository.
The portfolio supports both light and dark themes with CSS custom properties. Theme colors are defined in:
startLine: 1
endLine: 13
Service Worker
startLine: 1
endLine: 50
Image Optimization
hugo.toml
:
startLine: 37
endLine: 41
The portfolio uses a sophisticated typography system with:
Reference implementation in:
startLine: 134
endLine: 265
Smooth page transitions are implemented using:
startLine: 1
endLine: 37
Color Contrast Testing
startLine: 1
endLine: 71
Keyboard Navigation
Additional npm scripts available:
startLine: 5
endLine: 11
Security headers are configured in the Netlify configuration:
startLine: 16
endLine: 23
The portfolio includes several image-related components:
Basic Images
Image Grids
Reference implementation in:
startLine: 1
endLine: 22
Content follows a structured layout system:
Reference implementation in:
startLine: 1
endLine: 12
[Previous contributing section remains]
Run contrast tests:
npm run test:contrast
Validate HTML:
npm run test:html
Check performance:
npm run lighthouse