skip to Main Content

Html – Having an issue to display background image with linear-gradient with css modules in Next 14

This css doesn't display background image .header { height: 85vh; background-image: linear-gradient( to right bottom, rgba(var(--color-primary-light), 0.8), rgba(var(--color-primary-dark), 0.8) ), url('/img/hero-small.jpg'); background-size: cover; background-position: top; position: relative; } The following code works without linear-gradient: .header { height: 85vh; background-image: url('/img/hero-small.jpg');…

VIEW QUESTION

Reactjs – Error: Insufficient params provided for localized pathname (getPathname()). Since I added "next-intl/routing"

Since I added the config file and replace : Navigation File import { createLocalizedPathnamesNavigation, Pathnames } from 'next-intl/navigation'; By : Config File import {Pathnames, LocalePrefix} from 'next-intl/routing';} Navigation File import { createLocalizedPathnamesNavigation } from "next-intl/navigation"; import { locales, pathnames, localePrefix…

VIEW QUESTION
Back To Top
Search