Skip to main content

4 posts tagged with "CSS"

CSS・CSS Modules・SVG・アイコンなど、スタイリングとUIデザインに関する記事。

View all tags

Optimizing Decap CMS UX with config.yml and index.html Improvements

· 7 min read
hiroaki
Individual Developer

In a previous article, I explained how to integrate Decap CMS into a Docusaurus site. While the integration established a foundation for content updates, I felt there was room for improvement in daily use, especially regarding mobile usability and the efficiency of routine data entry.

This article is a record from when it was written. For the continuously maintained procedure, see the technical documentation version.

This article introduces the practical customizations I applied to static/admin/config.yml and static/admin/index.html to address these challenges.

  • Optimizing config.yml: Settings to reduce manual input and prevent errors.
  • Modifying index.html: Adding CSS and JavaScript to improve mobile usability.

These tunings have created an environment where I can comfortably update articles not only from a PC but also from a smartphone. I hope this serves as a useful example of leveraging the high customizability of a Git-based CMS.

Implementing Share Buttons in Docusaurus: A Log and Troubleshooting Guide

· 6 min read
hiroaki
Individual Developer

Implementing the Share Buttons

I've added share buttons to each article on this site for social media sharing. This post documents the implementation process and the technical decisions behind it.

A key feature of the final component is its ability to automatically fetch the page title and URL. This means that once it's set up, there's no need for special configurations on a per-article basis, which minimizes maintenance.

This article is a record from when it was written. For the continuously maintained procedure, see the technical documentation version.

Creating a Multilingual News Links Page in Docusaurus

· 5 min read
hiroaki
Individual Developer

This article outlines the key considerations and technical details involved in implementing a "News Page" on a Docusaurus site, designed to list domestic and international news sources.

This article is a record from when it was written. For the continuously maintained procedure, see the technical documentation version.

1. Page Purpose and Key Features

The primary goal was to build a personal information hub for quick access to reliable news sources. The page is built as a static site, emphasizing fast performance, usability, and maintainability.

Editing Docusaurus Navigation Icons: Three Approaches

· 5 min read
hiroaki
Individual Developer

This article outlines three main patterns for displaying icons or specific symbols in the navigation bar of a Docusaurus site.

This article is a record from when it was written. For the continuously maintained procedure, see the technical documentation version.

1. Displaying with Text and Symbols

This is the most direct and simple method for displaying icons or symbols in navigation items. It is achieved by writing directly into the label property within the Docusaurus configuration file.