Final fixes to the website which should have been committed in the previous branch :(

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
Rohit Pai 2023-03-05 19:41:02 +00:00
parent 2394f9691e
commit df61b0be85
5 changed files with 7 additions and 5 deletions

2
dist/css/main.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/js/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -64,12 +64,14 @@ h2 {
a.btn, form input[type="submit"] {
text-decoration: none;
display: inline-block;
display: inline-flex;
padding: 1em 2em;
border-radius: 0.625em;
border: 0.3215em solid var(--primaryDefault);
color: #FFFFFF;
text-align: center;
align-items: center;
max-height: 4em;
}
form input[type="submit"] {

View File

@ -112,7 +112,7 @@ function getProjectData()
<div>
<img src="${(json[i]["imgLocation"] === "") ? "../imgs/placeholder.png" : json[i]["imgLocation"]}" alt="">
<div class="flexRow">
<p>${item["information"]}</p>
<p>${json[i]["information"]}</p
<div class="flexCol">
<a href="${(json[i]["projectLink"] === "N/A") ? "#" : json[i]["projectLink"]}" class="btn btnPrimary boxShadowIn boxShadowOut" ${(json[i]["projectLink"] === "N/A") ? "disabled=\"disabled\"" : ""}>View Project</a>
<a href="${(json[i]["gitLink"] === "N/A") ? "#" : json[i]["gitLink"]}" class="btn btnOutline boxShadowIn boxShadowOut" ${(json[i]["gitLink"] === "N/A") ? "disabled=\"disabled\"" : ""}>Git</a>