Welcome to a portfolio template built with SvelteKit. This project was inspired by joyofcode The site uses several technologies to enhance its functionality and design.
--legacy-peer-deps
flag.To install the necessary packages, use the following command:
npm install --legacy-peer-deps
To change the font used and the default styling, modify the values in /src/app.css
which contains custom css and resets from Andy Bell.
The application expects a configuration file located at /src/lib/config/config.ts
. The configuration file has ex exported user
that should have the following structure:
export const user = {
first_name: "",
last_name: "",
tagline: "",
about: ``, // use backticks to allow multiline, can also use html
avatar: "", // appears on the post listings
socials:{
email: "",
github: "",
x: "",
linkedin: "",
},
techstack: [
{
name: "", color: ""
}
]
}
To add a post to the blog, follow these steps:
[post_name].md
in the /src/posts
directory. ---
title: post title
date: "24-07-17"
published: true
description: post description
cover: [image url]
---
published
field is not true
, the post will not appear on the site.cover
field is optional but recommended for adding a cover image to your post.To add a project, the process is similar to adding a post:
Create a markdown file named [project_name].md
in the /src/projects
directory.
Ensure the markdown file has the following frontmatter:
---
title: Project Title
date: "24-07-17"
published: true
description: Project Description
cover: [image url]
links:
github: https://github.com/[your-username]
If the published
field is not true
, the project will not appear on the site.
The cover
field is optional but recommended for adding a cover image to your project.
The links
field is also optional but can be used to add relevant links, such as a link to a GitHub repository.
/src
/posts
/directory
[post_name].md
[post_name].md
/projects
/directory
[project_name].md
[project_name].md
yy-mm-dd
.true
if you want the post or project to appear on the site.If you would like to contribute to this project, feel free to fork the repository and submit a pull request. Please ensure your changes are well-documented and follow the existing code style.
This project is licensed under the MIT License. See the LICENSE file for details.