From 994e5c0c4573eaa518c66ac52780c02a3ddf1372 Mon Sep 17 00:00:00 2001 From: MIF Date: Sun, 30 Jun 2024 12:33:20 +0600 Subject: [PATCH] update --- docs/index.html | 45 ++++++++++++++--------- docs/resources/icons/location.svg | 7 ++++ docs/resources/profile/2426.png | Bin 0 -> 7065 bytes docs/script.js | 48 +++++++++++------------- docs/style.css | 59 +++++++++++++++++++++++------- 5 files changed, 101 insertions(+), 58 deletions(-) create mode 100644 docs/resources/icons/location.svg create mode 100644 docs/resources/profile/2426.png diff --git a/docs/index.html b/docs/index.html index 25d7a69..cb8d27d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -19,29 +19,38 @@

-
-

Hey, I'm Iftekhar

-

I am a self-taught developer that is passionate about programming and eager to learn new skills.
I'm also a privacy - advocate.

-
-
- - - - +
+
+ Profile Picture +
+

Hey, I'm Iftekhar 👋

+

I am a self-taught developer passionate about programming and eager to learn new skills. I'm + also a privacy advocate.

+
+
+
+ Location Icon +

Somewhere / Earth 🌏

+
+
- Repository + Repository diff --git a/docs/resources/icons/location.svg b/docs/resources/icons/location.svg new file mode 100644 index 0000000..b9f1038 --- /dev/null +++ b/docs/resources/icons/location.svg @@ -0,0 +1,7 @@ + + + + + + location Created with Sketch Beta. + \ No newline at end of file diff --git a/docs/resources/profile/2426.png b/docs/resources/profile/2426.png new file mode 100644 index 0000000000000000000000000000000000000000..97d83c0d5907d50894b0ea910eafb4ce15a77e8c GIT binary patch literal 7065 zcmb7nWmHsu*Y*TMgF`n0!zj%F5)#tgIl#~j0#ZYXfFPli(kUI%rF3_93lh>DB8bR~ z_y4)?_kEua&sxtuUw-H8>+G}FI{Vt!-gonNs{p8yoT3~62m}HY?k~XI58mjAWgbpnX60SABsFpvoVA_9VmfOp*h8UO$U z{+sRpH6RFlpD)(Ellc_y zY0rwcSEsjmGB2aS(U@;YsAYPnY`|Xiv&ds3O>0Ni^1ab8!Q6h4Thph)7t`K;RmT^< zmow%4@hXgukkYK}%cHw;G>q{0)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F^#k#;-Jo5nV^ zbTiPGV5<1RE8udM~@Q* oQsrtBhpR5Hj4j?4tb(Ed^y38IcqbI4$AYmBv9E6)R@^Q8A61T_FaQ7m literal 0 HcmV?d00001 diff --git a/docs/script.js b/docs/script.js index 33ab0fd..31d2eda 100644 --- a/docs/script.js +++ b/docs/script.js @@ -42,36 +42,30 @@ document.addEventListener('DOMContentLoaded', function () { function setupScrollEffect() { window.addEventListener('scroll', () => { const header = document.querySelector('header'); - if (window.scrollY > 50) { - header.style.backgroundColor = 'rgba(0, 0, 0, 0.8)'; - } else { - header.style.backgroundColor = 'transparent'; - } + header.style.opacity = 1 - window.scrollY / 500; }); } - // Function to update the current time and date - function updateDateTime() { - const now = new Date(); - const time = now.toLocaleTimeString(); - const date = now.toLocaleDateString(); - - document.getElementById('current-time').textContent = time; - document.getElementById('current-date').textContent = date; + // Display current time and date + function displayDateTime() { + const timeElement = document.getElementById('current-time'); + const dateElement = document.getElementById('current-date'); + const options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; + const updateTime = () => { + const now = new Date(); + timeElement.textContent = now.toLocaleTimeString(); + dateElement.textContent = now.toLocaleDateString(undefined, options); + }; + updateTime(); // Initial call + setInterval(updateTime, 1000); // Update every second } // Initialize all functions - function init() { - animateHeaderText(); - setupRepoButton(); - addHoverEffectsToSocialButtons(); - setupScrollEffect(); - updateDateTime(); - setInterval(updateDateTime, 1000); // Update the time every second - // Uncomment the line below to dynamically load a font - // loadFont('Ubuntu', 'resources/fonts/Ubuntu-Bold.ttf'); - } - - // Run the initialization function on DOM content loaded - init(); -}); \ No newline at end of file + animateHeaderText(); + setupRepoButton(); + addHoverEffectsToSocialButtons(); + setupScrollEffect(); + displayDateTime(); + // Uncomment the line below to dynamically load the font (optional) + // loadFont('Ubuntu', 'resources/fonts/Ubuntu-Bold.ttf'); +}); diff --git a/docs/style.css b/docs/style.css index 1d7d71d..560940b 100644 --- a/docs/style.css +++ b/docs/style.css @@ -46,14 +46,32 @@ header { flex: 1; } -/* Styles for the header content */ +/* Styles for the profile section */ +.profile-section { + margin-top: 3rem; +} + +.profile { + display: flex; + align-items: center; + gap: 1.5rem; + margin-bottom: 1rem; +} + +.profile-pic { + width: 100px; + height: 100px; + border-radius: 50%; + border: 2px solid var(--emerald-color); +} + .content h1 { - font-size: 3rem; + font-size: 2rem; /* Large font size for header text */ font-weight: 700; /* Bold text */ - line-height: 4rem; - margin-bottom: 1rem; + line-height: 3rem; + margin-bottom: 0.5rem; } /* Emerald color class */ @@ -67,14 +85,25 @@ header { /* Make bio text bold */ } +/* Styles for the location section */ +.location { + display: flex; + align-items: center; + gap: 0.5rem; + margin-top: 1rem; +} + +.location-icon { + width: 20px; + height: 20px; +} + /* Button container styles */ .button-container { display: flex; - justify-content: center; - /* Center the buttons */ gap: 20px; /* Space between buttons */ - margin-top: 1.5rem; + margin-top: 1rem; } /* Social button styles */ @@ -84,15 +113,17 @@ header { justify-content: center; background-color: var(--button-background); /* Use button background color from variables */ - padding: 10px; + padding: 5px; border-radius: 50%; transition: background-color 0.3s ease; /* Smooth transition for background color */ + width: 30px; + height: 30px; } .social-button img { - width: 30px; - height: 30px; + width: 20px; + height: 20px; } .social-button:hover { @@ -110,15 +141,17 @@ header { justify-content: center; background-color: var(--button-background); /* Use button background color from variables */ - padding: 10px; + padding: 5px; border-radius: 50%; transition: background-color 0.3s ease; /* Smooth transition for background color */ + width: 30px; + height: 30px; } .repo-source-button img { - width: 30px; - height: 30px; + width: 20px; + height: 20px; } .repo-source-button:hover {