Canvas Portfolio is a fully customizable i18n portfolio template built with Nuxt and Nuxt UI, designed to help you showcase your work, testimonials, and key information with ease. The template integrates with Nuxt Studio for a smooth editing experience, while leveraging Nuxt Content for content management. Built with performance, flexibility, and responsiveness in mind, Canvas Portfolio provides a robust foundation for developers and creatives alike.
You can see a live demo at canvas.hrcd.fr.
- Modern Components & Layouts – Includes built-in components.
- Nuxt UI v3 – Utilize pre-built, customizable UI components.
- NuxtHub ready - Deploy on NuxtHub in seconds.
- Tailwind CSS – A beautiful, responsive design system.
- Working Contact Form – Integrated with Resend for easy email handling.
- Multi-language Support – Powered by Nuxt i18n.
- SEO-Ready – Open Graph Image (Nuxt OG Image) & Nuxt Robots for automatic robots.txt generation.
- Good practices – Auto-generated sitemap, optimized images (Nuxt Image), and ESLint (Nuxt config with Flat config).
- Fully Responsive – Adapts to all modern browsers and devices.
- Minimal & Professional Design – Clean, elegant, and easy to customize.
- Clone this repository if you have access or download it from the store
git clone [email protected]:HugoRCD/canvas.git
- Install dependencies
pnpm install
- Copy the
.env.example
file to.env
and fill in the values
cp .env.example .env
- Start development server
pnpm dev
- Generate static project
pnpm generate
- Start production server
pnpm start
Canvas Portfolio is designed to simplify the deployment process on various platforms, whether serverless or not. Below are several detailed methods to deploy your portfolio.
When using serverless platforms, it's important to note that Nuxt Content v3 relies by default on SQLite for content storage. Since these platforms do not support SQLite natively, we recommend connecting Canvas Portfolio to an external database such as:
- PostgreSQL
- Turso
- D1
For further details on this process and the suitable solutions for serverless deployments, refer to the official Nuxt Content documentation:
Nuxt Content and Serverless Deployment
Nuxthub offers a powerful solution to deploy your portfolio in just a few clicks. With fast global delivery through the Cloudflare network, Nuxthub also provides advanced features such as:
- KV storage for optimized data management
- High-performance caching to reduce loading times
- Integration of AI tools and analytics for performance improvements
Check out the official Nuxthub documentation for more info.
NuxtHub deployment do not need any extra configuration.
Canvas Portfolio is also available as a Docker image, making it easy to deploy in containerized environments. An official Docker image is automatically created using a GitHub workflow whenever a new release is made, or it can be triggered manually.
This workflow not only builds the official Canvas image but also provides a standard way for anyone who forks the project to create their own Docker image with a proper version tag (e.g., v2.0, v1.0.0, etc.).
To pull the latest Docker image:
docker pull ghcr.io/hugorcd/canvas:latest
You can also use Docker Compose for a quick deployment. A community-provided docker-compose.community.yml file is available and can be used with platforms like Coolify for one-click deployments.
This portfolio uses Nuxt Content to manage the content. Here's how you can modify it:
First check the app.config.ts
file to change the global configuration of the portfolio, there is a lot of stuff you can change here.
- Navigate to the
content/2.articles
directory. - Here, you'll find Markdown files for each article. To modify an article, simply open its Markdown file and make your changes.
- To add a new article, create a new Markdown file in this directory. The name of the file will be used as the URL slug for the article.
- Navigate to the
content/1.works/
directory. - Here, you'll find Markdown files for each article. To modify an article, simply open its Markdown file and make your changes.
- To add a new project, add a new JSON file in this directory.
To change the featured works on the homepage, simply add the "featured": true
key the JSON file.
Simply go to the content/
directory and edit any of the Markdown or JSON files to modify the content.
This portfolio uses Resend to handle the contact form, but it's not mandatory. The server handle will not be used if you don't set the NUXT_PRIVATE_RESEND_API_KEY
environment variable.
To set it up, follow these steps:
- Get your api key from Resend here your api key
- Add your api key in the
.env
file - change the
from
key in thesendEmail
route in theserver/api/
folder, you can customize everything you want in this route - That's it, you're good to go!
To start contributing, you can follow these steps:
- First raise an issue to discuss the changes you would like to make.
- Fork the repository.
- Create a branch using conventional commits and the issue number as the branch name. For example,
feat/123
orfix/456
. - Make changes following the local development steps.
- Commit your changes following the Conventional Commits specification.
- If your changes affect the code, run tests using
bun run test
. - Create a pull request following the Pull Request Template.
- To be merged, the pull request must pass the tests/workflow and have at least one approval.
- If your changes affect the documentation, make sure to update it.
- If your changes affect the code, make sure to update the tests.
- Wait for the maintainers to review your pull request.
- Once approved, the pull request will be merged in the next release !
Local development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
bun install
- Start development server using
bun dev
- Open http://localhost:3000 in your browser
Published under the APACHE license.
Made by @HugoRCD and community 💛
🤖 auto updated with automd (last updated: Mon Feb 10 2025)