1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 01:09:35 +05:30

(refactor): devided large project names with name and shortdes

This commit is contained in:
2023-11-19 13:33:02 +05:30
parent f66655cdc0
commit 764f7702d3
2 changed files with 3 additions and 11 deletions

View File

@@ -90,7 +90,7 @@ $years = create_project_years_array($conn);
//fetch all projects by year and show it
while ($project = $projects -> fetch_assoc()) {
echo "
<a class='projectitem my-2 ml-7 last:mb-3' href='".$project['link']."' target='_blank'>".$project['name']."</a>
<a class='projectitem my-2 ml-7 last:mb-3' href='".$project['link']."' target='_blank'>".$project['name'].($project['shortdes'] != "" ? ' - '. $project['shortdes'] : '')."</a>
";
}