Giter Site home page Giter Site logo

syciphj / hs-portfolio Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 5.21 MB

Portfolio made with Sveltekit, Typescript, and MDsveX

Home Page: https://henrisycip.com

License: MIT License

JavaScript 2.29% TypeScript 19.82% HTML 0.72% Svelte 66.94% CSS 10.24%
sveltekit typescript

hs-portfolio's Introduction

Welcome to my portfolio ๐Ÿ‘‹

I wanted to showcase my previous design and development projects over the years, while also trying out Svelte. The idea was to adopt the Jamstack methodology and build a statically generated site hosted on Github pages to keep costs to near free even if its viewers scaled. (Near-free due to the cost of the domain).

Built with

  • Svelte: To see how enjoyable the framework really is. It's a joy to create custom Svelte components. A sample would be a custom Image component that builds responsive picture and img tags with Cloudinary URLs without much boilerplate code. Actions and Stores are also very easy to understand and implement.
  • Sveltekit: To enjoy the benefits of fast hmr through Vite, its SSG adapter (even though it's not best for that), and trying out meta file based routing. Currently using @sveltejs/[email protected].
  • Typescript: Improved developer experience and prevent entirely avoidable runtime errors as I expand the site.
  • MDSveX: Use MDX with Svelte so that my project pages and future blog pages can be in markdown and easily transferrable. I took advantage of Vite's import.meta.glob to load the markdown pages from the /projects folder.
  • Cloudinary: To serve my project images through a CDN while easily generating .webp and .png URLs without even using their SDK. The free-tier is more than enough for my use case.

Running the project

If you want to try and build the project locally, see below.

Clone the repo and as usual install dependencies with npm install (or pnpm which I use with pnpm install), and start a development server:

pnpm run dev

You will need your own .env file with the following:

PUBLIC_CLOUDINARY_URL="YOUR_CLOUDINARY_URL"
PUBLIC_CLOUDINARY_FOLDER="YOUR_CLOUDINARY_FOLDER_IF_ANY"

PUBLIC_DOMAIN="YOUR_DOMAIN"

PUBLIC_LINKEDIN="YOUR_LINKEDIN"
PUBLIC_EMAIL="YOUR_EMAIL"
PUBLIC_GITHUB="YOUR_GITHUB"

To build it for a static page which goes to the /docs folder for Github pages.

pnpm run build

Preview the build before commiting:

pnpm run preview

Upcoming features

  • Dark Mode
  • Blog Posts
  • More projects
  • Project Filter by role on /projects

Suggestions or Issues?

I welcome any feedback, suggestions, or issues found! Just file an issue on this repo.

hs-portfolio's People

Contributors

syciphj avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.