diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml new file mode 100644 index 0000000..4cb1fe4 --- /dev/null +++ b/.github/workflows/hugo.yaml @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7dcf232 --- /dev/null +++ b/.gitignore @@ -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 + diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..41cc572 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-profile"] + path = themes/hugo-profile + url = https://github.com/gurusabarish/hugo-profile.git diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..a69a54b --- /dev/null +++ b/hugo.yaml @@ -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: lamkafai1997@gmail.com + btnName: Mail me + + footer: + socialNetworks: + github: https://github.com/kafai-lam + linkedin: https://www.linkedin.com/in/kafailam/ + twitter: https://twitter.com/Fai67640839 diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000..86d56e3 Binary files /dev/null and b/static/favicon.png differ diff --git a/static/images/fai.jpg b/static/images/fai.jpg new file mode 100644 index 0000000..2b29068 Binary files /dev/null and b/static/images/fai.jpg differ diff --git a/themes/hugo-profile b/themes/hugo-profile new file mode 160000 index 0000000..4687d53 --- /dev/null +++ b/themes/hugo-profile @@ -0,0 +1 @@ +Subproject commit 4687d533368288e9f71d358dca30099f29535531