Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
avnendv committed Nov 20, 2023
1 parent 8adc136 commit 80dc4a1
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# Structure with Gulp + HTML + SCSS + Bootstrap 5
# Profile for AVNENDV
Binary file added app/assets/images/img_right.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/js/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
console.warn("Welcome to console AVNENDV");

const typed = new Typed(".typed__text", {
strings: ["Frontend Develop", "Backend Develop"],
strings: ["Frontend Developer", "Backend Developer", "Fullstack Developer"],
typeSpeed: 100,
backSpeed: 100,
backDelay: 1000,
Expand Down
16 changes: 15 additions & 1 deletion app/assets/scss/pages/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,25 @@

html {
font-size: 16px;
width: 100%;
max-width: 1400px;
margin: auto;
}

body {
overflow: hidden;
width: 100%;
background-color: var(--primary-0F);
color: var(--gray-EE);
}

.header {
position: fixed;
top: 0;
left: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
max-width: 1400px;
padding: 20px 10%;
background: transparent;
display: flex;
Expand Down Expand Up @@ -179,3 +185,11 @@ body {
}
}
}

footer {
position: fixed;
width: 100%;
bottom: 10px;
left: 0;
text-align: center;
}
7 changes: 2 additions & 5 deletions app/pages/partitals/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,9 @@ <h3 class="position">
><i class="bx bxl-gmail"></i
></a>
</div>
<a href="#" class="btn__download">Download CV</a>
<a href="javascript:void(0)" class="btn__download">Download CV</a>
</div>
<div class="home__image">
<img
src="https://images.pexels.com/photos/4709286/pexels-photo-4709286.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
alt=""
/>
<img src="@@webRoot/assets/images/img_right.jpeg" alt="" />
</div>
</section>
3 changes: 3 additions & 0 deletions app/pages/partitals/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="copyright">
© Copyright <strong><span>AVNENDV</span></strong>. All Rights Reserved
</div>
</footer>
<!-- End Footer -->

Expand Down
10 changes: 4 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const fileInclude = require("gulp-file-include");
const minifyCss = require("gulp-clean-css");
const rename = require("gulp-rename");
const image = require("gulp-image");
const ghPages = require('gulp-gh-pages');
const ghPages = require("gulp-gh-pages");

const pathRoot = "./app/";
const pathDestBuild = "./build/";
Expand Down Expand Up @@ -88,7 +88,7 @@ exports.buildJsPageMin = buildJsPageMin;

// Task optimize images
function optimizeImages() {
const imgSrc = `${pathRoot}assets/images/**/*.+(png|jpg|webp|svg|gif)`;
const imgSrc = `${pathRoot}assets/images/**/*.+(png|jpeg|jpg|webp|svg|gif)`;
const imgDst = `${pathDestBuild}assets/images`;

return src(imgSrc)
Expand Down Expand Up @@ -177,8 +177,6 @@ function watchTask() {
}
exports.watchTask = watchTask;


exports.deploy = () => {
return src(`${pathDestBuild}/**/*`)
.pipe(ghPages());
}
return src(`${pathDestBuild}/**/*`).pipe(ghPages());
};

0 comments on commit 80dc4a1

Please sign in to comment.