1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 22:53:03 +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

@@ -635,10 +635,6 @@ video {
z-index: 50;
}
.m-1 {
margin: 0.25rem;
}
.m-2 {
margin: 0.5rem;
}
@@ -894,8 +890,8 @@ video {
height: 50px;
}
.h-\[59vh\] {
height: 59vh;
.h-\[50vh\] {
height: 50vh;
}
.h-\[60vh\] {
@@ -914,10 +910,6 @@ video {
height: 100vh;
}
.h-\[50vh\] {
height: 50vh;
}
.w-0 {
width: 0px;
}

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>
";
}