Skip to content

Commit

Permalink
chore: update ui and project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
alsiam committed Oct 17, 2023
1 parent 8202a59 commit 57704a5
Show file tree
Hide file tree
Showing 41 changed files with 491 additions and 493 deletions.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Dev Portfolio
# Al Siam - Portfolio Web

![Version](https://img.shields.io/github/v/release/alsiam/dev-portfolio)
![License](https://img.shields.io/github/license/alsiam/dev-portfolio?color=blue)
![Stars](https://img.shields.io/github/stars/alsiam/dev-portfolio)
![Forks](https://img.shields.io/github/forks/alsiam/dev-portfolio)
![Version](https://img.shields.io/github/v/release/alsiam/alsiam.github.io)
![License](https://img.shields.io/github/license/alsiam/alsiam.github.io?color=blue)
![Stars](https://img.shields.io/github/stars/alsiam/alsiam.github.io)
![Forks](https://img.shields.io/github/forks/alsiam/alsiam.github.io)

A stunning portfolio website showcasing your skills and projects using HTML, CSS, and JavaScript.

Visit the [Live Preview](https://dev-portfolio.netlify.app)
Visit the [Live Preview](https://alsiam.github.io)

![Dev Portfolio](https://github.com/alsiam/dev-portfolio/blob/main/images/readme/alportfolio.gif)
![Al Siam](https://github.com/alsiam/alsiam.github.io/blob/main/assets/imgs/preview.gif)

## Features

Expand All @@ -32,8 +32,7 @@ A portfolio is more than just a resume; it's a powerful tool that:

```bash
# Clone the repository
$ git clone https://github.com/alsiam/dev-portfolio.git
$ git clone https://github.com/alsiam/alsiam.github.io.git

# Navigate to the project folder
$ cd dev-portfolio
# Remove the original remote repository
$ git remote remove origin
$ cd alsiam.github.io
62 changes: 62 additions & 0 deletions assets/css/panel.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
.style-switcher {
position: fixed;
top: 20px;
right: 0;
z-index: 10;
background-color: #fff;
padding: 15px;
border: 1px solid #d4d4e3;
border-right: none;
border-radius: 0 0 0 5px;
-webkit-transform: translateX(100%);
transform: translateX(100%);
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.style-switcher.open {
-webkit-transform: translateX(0%);
transform: translateX(0%);
}
.style-switcher h5 {
font-size: 16px;
color: #302e4d;
margin-bottom: 8px;
padding-bottom: 5px;
border-bottom: 1px solid #e8dfec;
}
.style-switcher ul {
margin: 0;
padding: 0;
display: block;
margin-bottom: 5px;
list-style: none;
}
.style-switcher ul li {
display: inline-block;
}
.style-switcher ul li a {
height: 30px;
width: 30px;
display: block;
border-radius: 50%;
cursor: pointer;
text-decoration: none;
margin-right: 3px;
}
.style-switcher .toggle-style-switcher {
position: absolute;
height: 45px;
width: 45px;
background-color: #fff;
left: -46px;
top: -1px;
border: 1px solid #d4d4e3;
border-right: none;
text-align: center;
cursor: pointer;
border-radius: 5px 0 0 5px;
}
.style-switcher .toggle-style-switcher .fa {
font-size: 20px;
line-height: 43px;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
63 changes: 32 additions & 31 deletions css/style.css → assets/css/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
/*Font Awesome Free Icon*/
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/*Google fonts*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Rubik:500,700,900&display=swap");

/* General style */
/* General style
======================================================== */
html {
scroll-behavior: smooth;
}
Expand Down Expand Up @@ -226,7 +222,8 @@ select {
}
}

/* Aside */
/* Aside bar Style
================================================================ */
.aside {
width: 270px;
background-color: #fdf9ff;
Expand Down Expand Up @@ -362,7 +359,9 @@ select {
font-size: 14px;
color: #7d7d7d;
}
/* Home */

/* Home Section
====================================================*/
.home {
min-height: 100vh;
display: -ms-flexbox;
Expand All @@ -376,8 +375,7 @@ select {
height: 200px;
border-radius: 50%;
display: inline-block;
border: 8px solid #444;
object-fit: cover;
border: 8px solid #ffffff;
}
.home .intro h1 {
font-size: 30px;
Expand Down Expand Up @@ -413,7 +411,8 @@ select {
transform: scale(1.1);
}

/* ABout Section */
/* ABout Section
========================================================== */

.about .about-content {
-ms-flex: 0 0 100%;
Expand All @@ -438,7 +437,6 @@ select {
margin: 0;
}
.about .about-content .personal-info {
/* background-color: red; */
-ms-flex: 0 0 60%;
flex: 0 0 60%;
max-width: 60%;
Expand Down Expand Up @@ -594,7 +592,8 @@ select {
margin: 0;
}

/* Service Section started here */
/* Service Section
============================================================== */

.service .container {
padding-bottom: 40px;
Expand Down Expand Up @@ -624,7 +623,6 @@ select {
.service .service-item .service-item-inner .icon {
height: 60px;
width: 60px;
/* background-color: red; */
display: block;
margin: 0 auto 30px;
text-align: center;
Expand Down Expand Up @@ -654,16 +652,19 @@ select {
color: #504e70;
line-height: 25px;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Portfolio Section */

/* Portfolio Section
================================================================ */
.portfolio .container {
padding-bottom: 40px;
}

.portfolio .portfolio-filter {
/* background-color: red; */
-ms-flex: 0 0 100%;
flex: 0 0 100%;
max-width: 100%;
Expand All @@ -686,7 +687,6 @@ select {
transition: all 0.3 ease;
}
.portfolio .portfolio-item {
/* background-color: red; */
flex: 0 0 33.33%;
max-width: 33.33%;
margin-bottom: 30px;
Expand Down Expand Up @@ -728,10 +728,13 @@ select {
overflow: hidden;
cursor: pointer;
position: relative;
width: 100%;
}
.portfolio .portfolio-item-inner .portfolio-img img {
width: 100%;
display: block;
width: 100%;
height: 14rem;
object-fit: fill;
}
.portfolio .portfolio-item .portfolio-info {
position: absolute;
Expand Down Expand Up @@ -788,7 +791,6 @@ select {
.portfolio .portfolio-item .portfolio-info .icon .fa {
line-height: 40px;
}
/* Portfolio Section End */

/* Lightbox */

Expand Down Expand Up @@ -852,7 +854,6 @@ select {
position: absolute;
height: 40px;
width: 40px;
/* background-color: red; */
top: 0;
right: 0px;
font-size: 32px;
Expand Down Expand Up @@ -911,14 +912,12 @@ select {
line-height: 40px;
}

/* Lightbox Ended */

/* Blog Section started */
/* Blog Section started
========================================================================== */
.blog .container {
padding-bottom: 40px;
}
.blog .blog-item {
/* background-color: red; */
-ms-flex: 0 0 33.33%;
flex: 0 0 33.33%;
max-width: 33.33%;
Expand Down Expand Up @@ -972,6 +971,10 @@ select {
color: #504e70;
font-weight: 400;
margin-bottom: 15px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.blog .blog-item-inner .blog-info .blog-tags {
font-size: 14px;
Expand All @@ -985,8 +988,8 @@ select {
font-weight: 600;
}

/* Contact Section */

/* Contact Section
====================================================== */
.contact .contact-info-item {
flex: 0 0 33.33%;
-ms-flex: 0 0 33.33%;
Expand Down Expand Up @@ -1062,7 +1065,7 @@ body.dark .section {
background-color: #151515;
}
body.dark .contact .contact-form .form-item .form-control,
body.dark .blog .blog-item-inner .blog-info,
body.dark .blog .blog-item-inner,
body.dark .service .service-item .service-item-inner,
body.dark .about .about-content .timeline,
body.dark .aside {
Expand Down Expand Up @@ -1108,6 +1111,7 @@ body.dark .about .about-content .personal-info .info-item p,
body.dark .aside .nav li a {
border-color: #393939;
}

body.dark .contact .contact-form .form-item input::placeholder,
body.dark .contact .contact-form .form-item textarea::placeholder {
color: #fff;
Expand Down Expand Up @@ -1192,6 +1196,3 @@ body.dark .shadow-dark {
max-width: 100%;
}
}
/* ======================================================
--------------- Responsive Css Ended
====================================================== */
Binary file added assets/docs/resume.pdf
Binary file not shown.
Binary file added assets/imgs/alsiam.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 assets/imgs/blog/1.jpg
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 assets/imgs/blog/2.jpg
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 assets/imgs/blog/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file added assets/imgs/portfolio/1.jpg
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 assets/imgs/portfolio/2.jpg
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 assets/imgs/portfolio/3.jpg
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 assets/imgs/portfolio/4.jpg
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 assets/imgs/portfolio/5.jpg
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 assets/imgs/portfolio/6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
32 changes: 32 additions & 0 deletions assets/js/panel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
const links = document.querySelectorAll(".alternate-style"),
totalLinks = links.length;

function setActiveStyle(color) {
for (let i = 0; i < totalLinks; i++) {
if (color === links[i].getAttribute("title")) {
links[i].removeAttribute("disabled");
} else {
links[i].setAttribute("disabled", "true");
}
}
}

//

const bodySkin = document.querySelectorAll(".body-skin"),
totalBodySkin = bodySkin.length;
for (let i = 0; i < totalBodySkin; i++) {
bodySkin[i].addEventListener("change", function () {
if (this.value === "dark") {
document.body.className = "dark";
} else {
document.body.className = "";
}
});
}

document
.querySelector(".toggle-style-switcher")
.addEventListener("click", () => {
document.querySelector(".style-switcher").classList.toggle("open");
});
Loading

0 comments on commit 57704a5

Please sign in to comment.