Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile page added #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion controllers/grindController.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ import "github.com/gofiber/fiber/v2"
func GrindPage(c *fiber.Ctx) error {
return c.Render("home/grind", fiber.Map{})
}

1 change: 1 addition & 0 deletions controllers/homeController.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package controllers
import (
"html/template"
"time"

"github.com/dhanrajchaurasia/CP-GRIND/initializers"
"github.com/dhanrajchaurasia/CP-GRIND/models"
"github.com/gofiber/fiber/v2"
Expand Down
15 changes: 14 additions & 1 deletion controllers/profileController.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package controllers
import (
"encoding/json"
"fmt"
"html/template"
"io"
"net/http"
"time"
Expand All @@ -11,7 +12,19 @@ import (
)

func UserProfile(c *fiber.Ctx) error {
return c.Render("profile/index", fiber.Map{})
msg := c.Cookies("message")
cfProfile := template.HTML(c.Cookies("cfProfile"))
c.ClearCookie("message")
c.ClearCookie("cfProfile")
data := fiber.Map{
"User": c.Cookies("username"),
"fname": c.Cookies("fname"),
"CF_Profile": cfProfile,
"Message": msg,
}
return c.Render("profile/index", fiber.Map{
"Data": data,
})
}

func GetCFProfile(c *fiber.Ctx) error {
Expand Down
19 changes: 0 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,9 @@ require (

require (
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/bep/godartsass v1.2.0 // indirect
github.com/bep/godartsass/v2 v2.0.0 // indirect
github.com/bep/golibsass v1.1.1 // indirect
github.com/cli/safeexec v1.0.1 // indirect
github.com/cosmtrek/air v1.44.0 // indirect
github.com/creack/pty v1.1.18 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gofiber/template v1.8.2 // indirect
github.com/gofiber/utils v1.1.0 // indirect
github.com/gohugoio/hugo v0.116.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gravityblast/fresh v0.0.0-20190826141211-0fa698148017 // indirect
github.com/howeyc/fsnotify v0.9.0 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgx/v5 v5.4.1 // indirect
Expand All @@ -37,23 +25,16 @@ require (
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pilu/config v0.0.0-20131214182432-3eb99e6c0b9a // indirect
github.com/pilu/fresh v0.0.0-20190826141211-0fa698148017 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/savsgio/dictpool v0.0.0-20221023140959-7bf2e61cea94 // indirect
github.com/savsgio/gotils v0.0.0-20230208104028-c358bd845dee // indirect
github.com/spf13/afero v1.9.5 // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/tdewolff/parse/v2 v2.6.7 // indirect
github.com/tinylib/msgp v1.1.8 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.48.0 // indirect
github.com/valyala/tcplisten v1.0.0 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
)
460 changes: 0 additions & 460 deletions go.sum

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func Routes() {
App.Get("/404", controllers.NotFound)
App.Get("/login", controllers.LoginPage)
App.Get("/grind", controllers.GrindPage)
App.Get("/uprofile", controllers.UserProfile)

// Post Requests
App.Post("/signup", controllers.Signup)
Expand Down
Empty file added migrate.go
Empty file.
176 changes: 176 additions & 0 deletions public/css/profile.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@


* {
margin: 0;
padding: 0;
}

body {

background-color: rgb(0, 0, 0);
color:#fff;
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: Arial, Helvetica, sans-serif;
}

.box {
background-color: #14213d;
margin: 10px auto;
width: 300px;
height: 415px;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 40px 0px;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

}

.edit-button {
position:absolute ;
top: 20px;
/* right: 10px; */
}

.edit-button button {
background-color: #18a0fb;
color: white;
border: none;
border-radius: 5px;
padding: 5px 10px;
cursor: pointer;
font-weight: bold;
margin-top: 100px;
margin-left: 230px;
}

.edit-button button:hover {
background-color: #0e6ca4;
}

.dropdown {
color: black;
display: none;
position: relative;
margin-left: 100px;
background-color: whitesmoke;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown ul {
list-style-type: none;
padding: 0;
}

.dropdown li {
padding: 10px;
cursor: pointer;
}

.dropdown li:hover {
background-color: #f2f2f2;
}


.imgBx {
width: 100%;
display: flex;
align-items: center;
flex-direction: column;
}

.img {
width: 130px;
height: 130px;
border-radius: 50%;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

img {
width: 100%;
height: 100%;
border-radius: 50%;
}

.names {
margin-top: 20px;
color: white;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 5px;
}

.names h1 {
font-size: 25px;
}

.names p {
font-size: 18px;
color: rgb(18, 255, 196);
}

.icons {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.icons .icon {
width: 40px;
height: 40px;
background-color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 25px;
color: #14213d;
}

.icons .icon:hover {
margin-top: -15px;
transition: 0.5s;
cursor: pointer;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.bio {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: 50px;
color: white;
gap: 15px;
}


@keyframes html {
100% {
width: 80%;
}
}

@keyframes css {
100% {
width: 70%;
}
}

@keyframes js {
100% {
width: 50%;
}
}
20 changes: 20 additions & 0 deletions public/js/profile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const editButton = document.getElementById("edit-btn");
const editDropdown = document.getElementById("edit-dropdown");

editButton.addEventListener("click", function () {
if (editDropdown.style.display === "none" || editDropdown.style.display === "") {
editDropdown.style.display = "block";
} else {
editDropdown.style.display = "none";
}
});

const dropdownLinks = editDropdown.querySelectorAll("a");

dropdownLinks.forEach(link => {
link.addEventListener("click", function() {
// You can add your own logic here to handle the click action
// For example, you can navigate to the linked page using JavaScript:
// window.location.href = link.href;
});
});
1 change: 1 addition & 0 deletions views/home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<li><a href="/grind">Grind</a></li>
<li><a href="/dasboard">Dashboard</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/uprofile"><i class="fa fa-user" aria-hidden="true"></i>Profile</a></li>
</ul>
</nav>
</header>
Expand Down
47 changes: 47 additions & 0 deletions views/profile/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile</title>
<link rel="stylesheet" href="/css/profile.css">
</head>
<body>
<div class="box">
<div class="edit-button">
<button id="edit-btn">Edit</button>
<div class="dropdown" id="edit-dropdown">
<ul>
<li><a href= "./upphoto.html">Update Profile Photo</a></li>
<li><a href= "./uppersonal.html">Edit Personal Details</a></li>
<li><a href= "./uppassword.html">Update Password</a></li>
</ul>
</div>
</div>
<div class="imgBx">
<div class="img">
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBYWFRgWFRYYGBgYGBoYHBgYGhgYGBgYGBgaGRgaGBgcIS4lHB4rIRoYJjgmKy8xNTU1GiQ7QDs0Py40NTEBDAwMEA8QHxISHzQrJSs0NDQ0NDQ0NDQ0NDQ0NDQ0NjQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NP/AABEIARgAtAMBIgACEQEDEQH/xAAbAAABBQEBAAAAAAAAAAAAAAADAAECBAUGB//EADoQAAEDAgMFBgUDAwMFAAAAAAEAAhEDIQQSMQVBUWFxBhMigZGhMrHB4fAHQtEUUnIVYvEWFyMzsv/EABoBAAMBAQEBAAAAAAAAAAAAAAABAgMEBQb/xAAkEQACAgMAAQQDAQEAAAAAAAAAAQIRAxIhMQQiQVETMmFxBf/aAAwDAQACEQMRAD8ApZUsqnCeF71Hy9g8qWVEyp8qA2BZUsqLlSyoDYFlSyouVLKgNgWVPlRMqUIoNgeVLKiwlCBbAoSyosJoQPYHlSyokJQgLB5UsqJlThqA2BZU+VEhKEBsDypZUSE+VFBsDhJEypIoLHypZVNNCZnZHKllU0kBZCE8KSSAshCeFJNCAsaEoUkkBZHKlCkkgLIwllUkkBZGEsqeE8IHZGEoUoShArI5UoUoShA7IwlClCeEBZCE6eEkBY6UKRUS5BIoShQL03eJATTqAepByLHQ6ScJEIsKGSTwnyoCiCSdxUSiwokkhgqXeQlsVqShKFHOpNMp2LVjpoUwE5Yi0LVg4SUgnclsh6MhKSrvJUWPTsVFpJJjhCSBA3E8FBwO9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BoBLnHlAjzXF1axzi0CA1oOoYLN87SeZKoMIacwCMKhLpPJcmWLtr4ohpJ0aLhYeaqY1hLCG6mFcqWAHJQcV58XrJMvwUqVN5Z4iSRYSZtOl+SiyrEjirY+p+apYhviP5uXVCW8mpESvyNntKG+oZAUSNOaW+V1RikQW6ZEfEkqrG2SU6L7ZVlraH7ZFr3nkLKuzDnKHEOaHaGDEbrpJLoRrqmybcOIOpRGhJJM0UUgrHxPMfb6qtkGbokksspXwdf2WLAzOAWvAILjIDgZMA79L8FyzqlkkleMhJAcbIgOaQYmCIMHRCwhAewu0zCekpJLKX7FG5sTChzg5w8LT0zO3eQ1W/iXhz2QS0AhwsZJPhECN0k9QkkugxnFNmrlg2PnEeqy+1LM+Ge6ZcCwxpYPDfkSkkudSdlRgkzhQwmwWjSoiRbcP5SSXJ6ibuiH+zC1TJQHVfFl5JJLngk27+gZJQdhw4kkpJIi2nwTKuIo5SNSP4VZj+SdJehhk5R6OMURz8kkkl0UitEf/2Q=="
alt="">
</div>
<div class="names" >
<h1>Hello {{.Data.FirstName}}</h1>
<p>Username: {{.Data.User}}</p>
<p>Contest Rating: </p>
<p>Email:</p>
</div>
<div class="icons">
<div class="icon">
<i class="fa fa-Codeforces"></i>
</div>
<div class="icon">
<i class="fa fa-github"></i>
</div>
<br>
</div>
<div class="bio">
<p>About me!!!!!</P>
</div>
</div>
<script src="/js/profile.js"></script>
</body>
</html>
11 changes: 11 additions & 0 deletions views/profile/uppassword.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Update Password</h1>
</body>
</html>
11 changes: 11 additions & 0 deletions views/profile/uppersonal.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Update Personal details</h1>
</body>
</html>
11 changes: 11 additions & 0 deletions views/profile/upphoto.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Update Photo</h1>
</body>
</html>