Skip to content

Commit

Permalink
Merge branch 'SUGAM-ARORA:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagpreet153 authored Jun 15, 2024
2 parents b169e26 + 1c13b58 commit b50aa4a
Show file tree
Hide file tree
Showing 13 changed files with 391 additions and 5 deletions.
18 changes: 18 additions & 0 deletions branchupdate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Make Sure that your branch is up to date with the master branch(remotely) before you push your code to the remote repository.

```bash
#!/bin/bash
# This script will update your branch with the master branch
# Make sure that you are in the branch that you want to update
# Usage: ./branchupdate.sh
git checkout master/main
git pull
git checkout {your-branch-name}
git merge master/main
```

Follow the above steps to create a script file and run the script file to update your branch with the master branch.
You can either directly use these steps in terminal for branch update or create a script file for the same.
Make sure that you are in the branch that you want to update before running the script file.
This is a simple script that will update your branch with the master branch. You can modify the script according to your requirements.
Hope this helps.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
"last 1 safari version"
]
}
}
}
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import Pricing from "./Components/footer_section/Pricing/pricing";
import MyProjects from "./Components/menu_section/my_projects/MyProjects";
import NewProject from "./Components/menu_section/new_project/NewProject";
import Error from "./Components/404_page/Error";
import Profile from "./Components/Profile/profile";
import Licensing from "./Components/footer_section/Legal/Licensing";
import TermsConditions from "./Components/footer_section/Legal/TermsandConditions";
import PrivacyPolicy from "./Components/footer_section/Legal/PrivacyPolicy";
Expand Down Expand Up @@ -46,6 +47,7 @@ function App() {
<Route path="/pricing" element={<Pricing />} />
<Route path="/projects" element={<MyProjects />} />
<Route path="/new/project" element={<NewProject />} />
<Route path="/profile" element={<Profile />} />

</Routes>
<Footer />
Expand Down
Binary file added src/Components/Profile/Avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/Profile/instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/Profile/linkedin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Components/Profile/location.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
263 changes: 263 additions & 0 deletions src/Components/Profile/profile.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
/* Keyframes for fade-in effect */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

/* Keyframes for slide-in effect */
@keyframes slideIn {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}

@keyframes slideInRight {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}

/* Apply slide-in animation to .first section */
.first {
animation: slideIn 0.8s ease forwards;
}

/* Apply slide-in-from-right animation to .second section */
.second {
animation: slideInRight 0.8s ease forwards;
}

/* Apply fade-in animation to .aboutPageProfile */
.aboutPageProfile {
animation: fadeIn 1s ease forwards;
}

/* Ensuring that aboutPageProfile hides and shows smoothly */
.aboutPageProfile {
transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
opacity: 0;
visibility: hidden;
}

.aboutPageProfile.visible {
opacity: 1;
visibility: visible;
}

/* Other existing styles */
.boxProfile {
margin: 50px 25px;
display: flex;
gap: 40px;
}

.first {
width: 400px;
outline: 3px solid #ff21bc;
height: 100vh;
padding: 40px 40px;
border-radius: 30px;
}

.profilephoto {
width: 250px;
height: 250px;
margin: auto;
border-radius: 50%;
outline: 3px solid #ff21bc;
background-image: url(./Avatar.png);
background-size: 100%;
margin-bottom: 40px;
}

.Name {
font-size: 25px;
font-weight: bold;
}

.usernameProfile {
font-size: larger;
color: #8d96a0;
margin-bottom: 24px;
cursor: pointer;
}

.usernameProfile:hover {
text-decoration: underline;
}

.descriptionProfile {
font-size: larger;
margin-bottom: 6px;
}

.editProfile {
width: 100%;
font-size: large;
margin-bottom: 50px;
}

.locationProfile {
display: flex;
gap: 10px;
margin-bottom: 25px
}

.locationIcon {
background-image: url(location.png);
height: 24px;
width: 24px;
background-size: 100%;
}

.linkedinProfile,
.instaProfile {
display: flex;
gap: 10px;
}

.linkedinIcon {
width: 24px;
height: 24px;
background-image: url(linkedin.png);
background-size: 100%;
}

.instaIcon {
width: 24px;
height: 24px;
background-image: url(instagram.png);
background-size: 100%;
}

.socialProfile {
display: flex;
flex-direction: column;
gap: 5px;
margin-bottom: 30px;
}

.memberProfile {
font-weight: bold;
font-size: large;
text-align: center
}

.second {
width: 70%;
outline: 3px solid #ff21bc;
border-radius: 30px;
}

.navProfile {
width: 100%;
height: auto;
padding: 20px;
background-color: #140043;
}

.navProfile ul {
display: flex;
gap: 40px;
font-weight: bold;
cursor: pointer;
}

.navProfile ul li {
width: 90px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20px;
transition: background-color 0.3s ease;
}

.navProfile ul li:hover {
background-color: #e55347;
transform: scale(1.05);
transition: background-color 0.3s ease, transform 0.3s ease;
}

.active {
background-color: #e55347;
}

.aboutProfile {
width: 100%;
height: 100%;
}

.aboutPageProfile {
height: 100%;
padding: 30px;
display: none;
}

.aboutPageProfile h1 {
font-size: 30px;
text-align: left;
margin-bottom: 30px;
font-weight: bold;
text-decoration: underline;
}

.aboutDetails li {
list-style: disc;
font-size: 22px;
list-style-position: inside;
}

.aboutDetails ol{
list-style-position: inside;
margin-left: 15px;
margin-bottom: 25px;
}

.aboutDetails ol li{
list-style-type:lower-roman;
font-size: 18px;
}

.headingAbout{
margin-bottom: 15px;
font-weight: bold;
text-decoration: underline;
}

#name{
color: #ff21bc;
}

.descriptionProfileabout{
margin-bottom: 45px;
font-size: 20px;
}

.headAbout{
font-weight: 700;
color: white;
}

.projectsPageProfile{
height: 100%;
display: none;
}

.visible{
display: block;
}
Loading

0 comments on commit b50aa4a

Please sign in to comment.