File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ export default function Home() {
2222 const shouldShowToggle = ( text : string ) => {
2323 return text . length > 10
2424 }
25-
25+
26+ const basePath = process . env . NEXT_PUBLIC_BASE_PATH || "https://visual-ds.github.io/group-seminar.github.io/" ;
27+ console . log ( "base Path" , basePath ) ;
2628
2729 return (
2830 < div className = "max-w-7xl mx-auto text-gray-800 p-4" >
@@ -60,7 +62,7 @@ export default function Home() {
6062 key = { index }
6163 className = "flex gap-6 items-start text-sm border rounded-lg p-4 mb-4 bg-white shadow"
6264 >
63- < img src = { talk . image } className = "rounded-full w-40 h-40" />
65+ < img src = { ` ${ basePath } / ${ talk . image } ` } className = "rounded-full w-40 h-40" />
6466 < div className = "flex flex-col gap-2" >
6567 < h3 className = "font-bold md:text-lg text-xs" > { talk . topic } </ h3 >
6668 < p className = "italic md:text-md text-xs" >
You can’t perform that action at this time.
0 commit comments