<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<?php if (!isset($noContainer) || !$noContainer): ?>
<div class="col-xs-12 col-md-4">
<?php endif; ?>
<div class="card">
<a href="<?= base_url('user/' . $username) ?>">
<img src="<?= $headerImage ?>?w=350" class="card-img-top" alt="Header Image">
</a>
<img src="<?= $profilePicture ?>?w=100" class="img-fluid rounded-circle card-profile-picture" alt="Profile Picture">
<div class="card-body">
<h5 class="card-title"><?= $displayname ?></h5>
<small class="card-text"><?= $about ?></small>
</div>