Frontend Developer

LedyerFrontend Developer

March 2023 to August 2023

When I joined the team at Ledyer, they needed some help to improve the official website. Built with SvelteKit, the site was hard-coded, requiring developer intervention to update content, which was time-consuming and inefficient.

Implementing a Headless CMS

I started by implementing a headless CMS, specifically Storyblok, to streamline content management. This transformation allowed the team to manage and update content without the need for constant developer involvement, significantly improving workflow efficiency.

I designed the content model and component schemas, and set up Storyblok's visual editor with live preview, so editors could see their changes in place before publishing. I also added a news content type, making it easier for the editors to keep content fresh and relevant.

In addition to the CMS implementation, I focused on optimizing the site for SEO and page speed. I built an image component that generates srcsets with AVIF and WebP versions, created on the fly by Storyblok's image service, so visitors get images optimized for their screen sizes. Meta tags, Open Graph and sitemaps were taken care of, and the results were measured with Lighthouse and Core Web Vitals.

Now, all content is fetched through Storyblok’s API, and a completely static site is generated at build time. This approach not only results in quick loading times but also creates better conditions for SEO. Whenever new content is published, a build in GitHub Actions is triggered by a webhook, ensuring that the site remains up-to-date effortlessly.

Ensuring Quality with End-to-End Testing

To further enhance the reliability of the website, I implemented end-to-end tests using Playwright. These tests are run in the pipeline directly against the static build, ensuring that all functionality is secured before any pull request can be merged into production.

My time at Ledyer

Despite the short duration of my contract, I believe I was able to deliver significant value. It was my first time working with SvelteKit and Storyblok, both of which proved to be great tools. The developer experience was great and I was able to pick them up quickly.

Technologies

SvelteKit
Storyblok headless CMS
SEO
Core Web Vitals
Playwright
TypeScript
Svelte
Content modeling
Web performance
GitHub Actions
Netlify
CI/CD
Git
Jira
Static site generation (SSG)
Responsive design
Agile (Scrum, Kanban)

Selected WorksOther companies I've had the pleasure of working with