feat: update fixing header news
This commit is contained in:
parent
fb92cfeff2
commit
4939ba3b09
|
|
@ -30,7 +30,7 @@ export default function HeaderNews() {
|
||||||
<div className="w-auto lg:w-[25%] p-2 bg-[#020101] text-white rounded-md mb-2 md:mb-0 md:h-[636px]">
|
<div className="w-auto lg:w-[25%] p-2 bg-[#020101] text-white rounded-md mb-2 md:mb-0 md:h-[636px]">
|
||||||
<p className="text-lg font-bold h-10 text-center">Berita Terkini</p>
|
<p className="text-lg font-bold h-10 text-center">Berita Terkini</p>
|
||||||
<ScrollShadow hideScrollBar className="md:h-[530px] gap-3">
|
<ScrollShadow hideScrollBar className="md:h-[530px] gap-3">
|
||||||
{article.map((data: any) => (
|
{article?.map((data: any) => (
|
||||||
<div
|
<div
|
||||||
className="text-xs text-left m-2 p-2 bg-[#1E1616] rounded-md"
|
className="text-xs text-left m-2 p-2 bg-[#1E1616] rounded-md"
|
||||||
key={data.id}
|
key={data.id}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,9 @@ const nextConfig = {
|
||||||
eslint: {
|
eslint: {
|
||||||
ignoreDuringBuilds: true,
|
ignoreDuringBuilds: true,
|
||||||
},
|
},
|
||||||
|
images: {
|
||||||
|
domains: ['38.47.180.165'],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = nextConfig
|
module.exports = nextConfig
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
const baseURL = "https://38.47.180.165:8802";
|
const baseURL = "http://38.47.180.165:8802";
|
||||||
|
|
||||||
const axiosBaseInstance = axios.create({
|
const axiosBaseInstance = axios.create({
|
||||||
baseURL,
|
baseURL,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue