Skip to content

Commit

Permalink
Build personal site
Browse files Browse the repository at this point in the history
  • Loading branch information
kafai-lam committed May 9, 2024
1 parent 716368e commit 2f92dc9
Show file tree
Hide file tree
Showing 7 changed files with 238 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Deploy Hugo site to Pages

on:
push:
branches:
- main

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.123.8
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
TZ: America/Los_Angeles
run: |
hugo \
--gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Created by https://www.toptal.com/developers/gitignore/api/macos,hugo
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,hugo

### Hugo ###
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

# Temporary lock file while building
/.hugo_build.lock

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### macOS Patch ###
# iCloud generated files
*.icloud

# End of https://www.toptal.com/developers/gitignore/api/macos,hugo

Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-profile"]
path = themes/hugo-profile
url = https://github.com/gurusabarish/hugo-profile.git
118 changes: 118 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
baseURL: "https://kafai-lam.github.com/kafai-lam"
languageCode: "en-us"
title: "Fai"
theme: "hugo-profile"

params:
title: "Fai"
description: "Personal Website for Ka Fai Lam"
favicon: "/favicon.png"

theme:
disableThemeToggle: true
defaultTheme: "light"

navbar:
disableSearch: true
showBrandLogo: true

hero:
enable: true
intro: "Hi, I am"
title: "Fai"
subtitle: "Specialize in creating web-based solutions"
content: "I am a dedicated web application developer who harnesses contemporary web technologies to craft websites that boast exceptional aesthetics, provide seamless user experiences, and operate flawlessly."
bottomImage:
enable: true
image: /images/fai.jpg
# roundImage: true # Make hero image circular | default false
socialLinks:
fontAwesomeIcons:
- icon: fab fa-github
url: https://github.com/kafai-lam
- icon: fab fa-x-twitter
url: https://twitter.com/Fai67640839
- icon: fab fa-linkedin-in
url: https://www.linkedin.com/in/kafailam

about:
enable: true
title: "About Me"
content: |
Passionate full stack developer embracing new technologies to drive innovation.
Possesses in-depth domain knowledge of the retail industry and enterprise resource planning software.
skills:
enable: true
title: "Here are a few technologies I've been working with recently:"
items:
- "React"
- "Angular"
- "Nestjs"
- "Kubernetes"
- "Odoo"
- "FastAPI"

# Experience
experience:
enable: true
items:
- job: "Software Engineer"
company: "Hypebeast"
companyUrl: "https://hbx.com"
date: "Jan 2023 - Feb 2024"
content: |
- Developed a comprehensive inventory management and fulfillment system for global e-commerce operations
- Engineered API integrations across various platforms such as Shopify, Sylius, and Odoo to streamline and unify order management across multiple sales channels
- job: "Software Engineer"
company: "Capsuite"
companyUrl: "https://capsuite.co"
date: "Jan 2022 - Jan 2023"
content: |
- Spearheaded the development of an ERP-related SaaS product
- Orchestrated the application deployment workflow utilizing Azure Kubernetes
- Designed a CI/CD pipeline tailored specifically for the SaaS application
- job: "Full Stack Developer"
company: "Betalabs"
companyUrl: "https://www.betalabs.ai"
date: "Apr 2021 - Jan 2022"
content: |
- Engineered a customer data platform aimed at enhancing customer retention rates, subsequently deploying it onto Azure Kubernetes
- Administered Azure Cloud Services including CosmoDB, AKS, Container Registry, and Databricks
- Facilitated data preparation from the data warehouse through the implementation of ETL pipelines tailored for data scientists and analysts
- job: "Assistant Software Engineer"
company: "ATAL"
companyUrl: "https://www.atal.com"
date: "Aug 2020 - Apr 2021"
content: |
- Developed on-premise containerized backend microservices tailored for an energy optimization application serving multiple building services
- Spearheaded testing initiatives and orchestrated CI/CD pipelines for existing microservices
- Deployed application onto multi-node Kubernetes clusters with Helm both on-premises and in cloud environments
# Education
education:
enable: true
index: false
items:
- title: "Bachelor of Science in Mathematics and information Engineering"
school:
name: "The University Of Hong Kong(CUHK), Hong Kong"
url: "https://www.cuhk.edu.hk/english/index.html"
date: "2016 - 2020"
GPA: "3.43 out of 4.0"

#Contact
contact:
enable: true
content: Don't hesitate to contact me anytime. Whether you have questions or just want to say hello, I'm here and will make sure to reply promptly!
email: [email protected]
btnName: Mail me

footer:
socialNetworks:
github: https://github.com/kafai-lam
linkedin: https://www.linkedin.com/in/kafailam/
twitter: https://twitter.com/Fai67640839
Binary file added static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/fai.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions themes/hugo-profile
Submodule hugo-profile added at 4687d5

0 comments on commit 2f92dc9

Please sign in to comment.