change new.humas to humas
This commit is contained in:
parent
67b662dfc7
commit
9acdba3400
|
|
@ -73,7 +73,7 @@ export default function NewsDetailPage(props: { datas: any }) {
|
|||
</div>
|
||||
|
||||
<div className="bg-gray-50 text-black dark:bg-black dark:text-white lg:px-24 my-4 lg:my-8 pt-3 lg:pb-4 rounded-lg shadow-md h-fit ">
|
||||
<RelatedNews categories={props.datas.categories} />
|
||||
<RelatedNews categories={props?.datas?.categories} />
|
||||
</div>
|
||||
<div className="md:hidden text-black">
|
||||
<SidebarDetail />
|
||||
|
|
|
|||
|
|
@ -180,7 +180,16 @@ export default function DetailNews(props: { data: any; listArticle: any }) {
|
|||
/>
|
||||
) : (
|
||||
filteredFiles?.length > 0 && (
|
||||
<Image
|
||||
// <Image
|
||||
// // classNames={{
|
||||
// // wrapper: "!w-full !max-w-full",
|
||||
// // img: "!w-full",
|
||||
// // }}
|
||||
// alt="Main Image"
|
||||
// src={filteredFiles[imageNow]?.file_url}
|
||||
// className="object-cover w-auto h-[360px] md:h-[480px] mx-auto rounded-md"
|
||||
// />
|
||||
<img
|
||||
// classNames={{
|
||||
// wrapper: "!w-full !max-w-full",
|
||||
// img: "!w-full",
|
||||
|
|
@ -257,7 +266,12 @@ export default function DetailNews(props: { data: any; listArticle: any }) {
|
|||
onClick={() => setImageNow(index)}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<Image
|
||||
{/* <Image
|
||||
alt="NextUI hero Image"
|
||||
src={file?.file_url}
|
||||
className="object-cover w-[75px] lg:w-[150px] h-[50px] lg:h-[100px] rounded-md"
|
||||
/> */}
|
||||
<img
|
||||
alt="NextUI hero Image"
|
||||
src={file?.file_url}
|
||||
className="object-cover w-[75px] lg:w-[150px] h-[50px] lg:h-[100px] rounded-md"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,7 +1,7 @@
|
|||
import axios from "axios";
|
||||
|
||||
// const baseURL = "http://10.200.202.141:8802";
|
||||
const baseURL = "https://new.humas.polri.go.id/api";
|
||||
const baseURL = "https://humas.polri.go.id/api";
|
||||
|
||||
const axiosInterceptorInstance = axios.create({
|
||||
baseURL,
|
||||
|
|
|
|||
|
|
@ -2,11 +2,7 @@
|
|||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*|*MINGW*|*MSYS*)
|
||||
if command -v cygpath > /dev/null 2>&1; then
|
||||
basedir=`cygpath -w "$basedir"`
|
||||
fi
|
||||
;;
|
||||
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue