mirror of
https://github.com/neosubhamoy/neosubhamoy-portfolio.git
synced 2025-12-20 03:29:35 +05:30
(refactor): devided large project names with name and shortdes
This commit is contained in:
@@ -635,10 +635,6 @@ video {
|
|||||||
z-index: 50;
|
z-index: 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
.m-1 {
|
|
||||||
margin: 0.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.m-2 {
|
.m-2 {
|
||||||
margin: 0.5rem;
|
margin: 0.5rem;
|
||||||
}
|
}
|
||||||
@@ -894,8 +890,8 @@ video {
|
|||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-\[59vh\] {
|
.h-\[50vh\] {
|
||||||
height: 59vh;
|
height: 50vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-\[60vh\] {
|
.h-\[60vh\] {
|
||||||
@@ -914,10 +910,6 @@ video {
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-\[50vh\] {
|
|
||||||
height: 50vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.w-0 {
|
.w-0 {
|
||||||
width: 0px;
|
width: 0px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ $years = create_project_years_array($conn);
|
|||||||
//fetch all projects by year and show it
|
//fetch all projects by year and show it
|
||||||
while ($project = $projects -> fetch_assoc()) {
|
while ($project = $projects -> fetch_assoc()) {
|
||||||
echo "
|
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>
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user