add images
This commit is contained in:
@@ -128,7 +128,9 @@ function get_blog_content($dots, $project_name, $project_content_dir) {
|
||||
$image_link = str_replace("!image " , "", $line);
|
||||
$output .= "
|
||||
<div class='pb-10'><div class='relative rounded-3xl overflow-hidden h-80 lg:h-full group'>
|
||||
<img data-motion='image' src='". "$dots/$image_link" ."' class='w-full h-full object-cover group-hover:scale-105 transition-transform duration-700' style='opacity: 1; transform: scale(1); filter: blur(0px);'>
|
||||
<a href='$dots/$image_link'>
|
||||
<img data-motion='image' src='$dots/$image_link' class='w-full h-full object-cover group-hover:scale-105 transition-transform duration-700' style='opacity: 1; transform: scale(1); filter: blur(0px);'>
|
||||
</a>
|
||||
</div></div>
|
||||
";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user