Fix CSS lint warning

This commit is contained in:
choibk 2026-01-19 18:24:42 +09:00
parent 39f66f2966
commit e715f1c91c
9 changed files with 4 additions and 8 deletions

View File

@ -1,6 +1,5 @@
import React from 'react';
import { Link } from 'react-router-dom';
import './PostCard.css';
const PostCard = ({ post }) => {
const { title, excerpt, slug, _embedded } = post;

View File

@ -1,6 +1,5 @@
import React from 'react';
import { Link } from 'react-router-dom';
import './ResourceListItem.css';
const ResourceListItem = ({ post }) => {
const { title, date, slug, _embedded } = post;

View File

@ -1,5 +1,4 @@
import consultantProfile from '../assets/consultant_profile.png';
import './About.css';
const About = () => {
return (

View File

@ -1,5 +1,5 @@
import React from 'react';
import './Cases.css';
const Cases = () => {
const caseStudies = [

View File

@ -1,7 +1,7 @@
import React from 'react';
import { usePosts } from '../hooks/usePosts';
import PostCard from '../components/PostCard';
import './News.css';
const News = () => {
// Pass the category slug 'news' to filter posts

View File

@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import { useParams, Link } from 'react-router-dom';
import { wpApi } from '../api/wordpress';
import './NewsDetail.css';
const NewsDetail = () => {
const { slug } = useParams();

View File

@ -1,7 +1,6 @@
import React, { useState } from 'react';
import { usePosts } from '../hooks/usePosts';
import ResourceListItem from '../components/ResourceListItem';
import './Resources.css';
// IMPORTANT: Slugs must match your WordPress Category Slugs
const CATEGORIES = {

View File

@ -1,6 +1,5 @@
import React from 'react';
import { useNavigate } from 'react-router-dom';
import './ServiceDetail.css';
const ServiceDetail = () => {
const navigate = useNavigate();

View File

@ -355,6 +355,7 @@ body {
flex: 1;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}