Merge branch 'main' of https://github.com/grublox/grublox-site
This commit is contained in:
commit
87760f7795
|
|
@ -134,9 +134,12 @@ $getitstarted->header();
|
|||
?>
|
||||
<div class="position-relative col">
|
||||
<div class="card shadow-sm h-100 d-inline-block">
|
||||
<a href="item.php?id=<?php echo (int)htmlspecialchars($item["id"]); ?>"><img src="<?php if (!empty($item["thumbnail"])) {echo htmlspecialchars($item["thumbnail"]);} else {echo "assets/placeholder.png";} ?>" height=150 width=150 class="card-img-top"></a>
|
||||
<a href="item.php?id=<?php echo (int)htmlspecialchars($item["id"]); ?>">
|
||||
<div class="d-inline-block card-img-top border border-1">
|
||||
<img src="<?php if (!empty($item["thumbnail"])) {echo htmlspecialchars($item["thumbnail"]);} else {echo "assets/placeholder.png";} ?>" height=150 width=150></a>
|
||||
<p class="me-1 mt-1 position-absolute top-0 end-0"><?php if($item['limited'] == 1) { echo '<span class="badge bg-success">Limited</span>'; }; ?></p>
|
||||
<span class="fs-6 mt-2 ms-2 opacity-75 position-absolute top-50 start-0 translate-middle-y bg-success badge">$<?php echo (int)htmlspecialchars($item["price"]); ?></span></img>
|
||||
</div>
|
||||
<span class="fs-6 mt-2 ms-2 opacity-75 position-absolute top-50 start-0 translate-middle-y bg-success badge">$<?php echo (int)htmlspecialchars($item["price"]); ?></span>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title"><?php echo htmlspecialchars($item["name"]); ?></h5>
|
||||
<p class="card-text">
|
||||
|
|
|
|||
14
user.php
14
user.php
|
|
@ -54,6 +54,20 @@ $getitstarted->header();
|
|||
<a class="btn btn-primary float-end mt-4">Add friend</a>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-body">
|
||||
<ul class="nav justify-content-center">
|
||||
<li class="nav-item fs-5" style="margin-right: 25%">
|
||||
<a class="nav-link" href="#about">About</a>
|
||||
</li>
|
||||
<li class="nav-item fs-5" style="margin-left: 25%">
|
||||
<a class="nav-link" href="#games">Creations</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in New Issue