HTMLify

profile-page-template.html
Views: 189 | Author: abh
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>User profile</title>
</head>
<body>
    <main class="profile-container">
        <section class="profile-header">
            <img src="/abh/dp-dark.png" alt="User's Profile Picture" class="profile-picture">
            <div class="profile-info">
                <h1 class="profile-name">User's Name</h1>
                <p class="total-files">122 Files</p>
                <p class="total-views">1234 Views</p>
            </div>
        </section>
        <p>User commented something @user/file.ext</p>
        <section>
            <h2>Latest files</h2>
            File template will go here
        </section>
    </main>

</body>
</html>
<style>
/* Profile page style */
.profile-container {
    padding: 20px;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-header {
    display: flex;
    align-items: center;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
}

.profile-info {
    text-align: left;
}

.profile-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.total-files {
    color: #666;
}

</style>

Comments