Skip to content

Commit df73130

Browse files
committed
photo change
1 parent c4cdaa3 commit df73130

File tree

7 files changed

+92
-7
lines changed

7 files changed

+92
-7
lines changed

.DS_Store

0 Bytes
Binary file not shown.

assets/.DS_Store

0 Bytes
Binary file not shown.

assets/css/style.css

+10-2
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@ body.active { overflow: hidden; }
209209
border-color: var(--raw-seinna);
210210
color: var(--black);
211211
}
212+
.btn-secondaryy {
213+
background: var(--raw-seinna);
214+
border-color: var(--raw-seinna);
215+
color: var(--black);
216+
margin-top: 144px;
217+
}
212218

213219
.btn-secondary:is(:hover, :focus) { --raw-seinna: hsl(24, 74%, 64%); }
214220

@@ -465,13 +471,14 @@ main { overflow-x: hidden; }
465471

466472
:is(.hero-social-list, .scroll-down) { display: none; }
467473

468-
.hero-content { max-width: 450px; }
474+
.hero-content { max-width: max-content; }
469475

470476
.hero-title {
471477
text-align: center;
472478
margin-bottom: 30px;
473479
}
474480

481+
475482
.hero .btn-primary { margin-inline: auto; }
476483

477484

@@ -1310,4 +1317,5 @@ textarea.input-field {
13101317

13111318
.about-banner { max-width: 450px; }
13121319

1313-
}
1320+
}
1321+

assets/images/.DS_Store

-2 KB
Binary file not shown.

assets/js/script.js

+11-1
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,14 @@ if (localStorage.getItem("theme") === "light_theme") {
102102
themeToggleBtn.classList.remove("active");
103103
document.body.classList.remove("light_theme");
104104
document.body.classList.add("dark_theme");
105-
}
105+
}
106+
107+
// var typed = new Typed(".text", {
108+
// strings: ["Frontend Developer . . ." , "Programmer . . ." , "Web Developer . . ."],
109+
// typeSpeed: 70,
110+
// backSpeed: 50,
111+
// backDelay: 1000,
112+
// loop: true
113+
// })
114+
115+

index.html

+25-4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<title>Joy - personal portfolio</title>
9+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
10+
11+
912

1013
<!--
1114
- favicon
@@ -25,6 +28,14 @@
2528
<link
2629
href="https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Roboto:wght@400;700&family=Saira+Stencil+One&display=swap"
2730
rel="stylesheet">
31+
<style>
32+
.text {
33+
color:hsl(24, 74%, 64%);
34+
font-size: 30px;
35+
font-weight: bold;
36+
text-align: left;
37+
}
38+
</style>
2839
</head>
2940

3041
<body id="top" class="dark_theme">
@@ -119,11 +130,10 @@ <h1 class="h1 logo">
119130

120131
<div class="hero-content">
121132

122-
<h2 class="h2 hero-title">I Design & Build Creative AI</h2>
123-
124-
<a href="#contact" class="btn btn-primary">Get in touch</a>
125-
133+
<h2 class="h2 hero-title">I Design & Build</h2>
134+
<h2><span class="text"></span></h2>
126135
</div>
136+
<div class="hero-content"><a href="#contact" class="btn btn-secondaryy">Get in touch</a></div>
127137

128138
<ul class="hero-social-list">
129139

@@ -939,6 +949,17 @@ <h3 class="h4 contact-item-title">Email:</h3>
939949
-->
940950
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
941951
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
952+
<script>
953+
document.addEventListener('DOMContentLoaded', function () {
954+
var typed = new Typed(".text", {
955+
strings: ["Creative AI . . .", "Creative AI . . .", "Creative AI . . ."],
956+
typeSpeed: 70,
957+
backSpeed: 50,
958+
backDelay: 10,
959+
loop: true
960+
});
961+
});
962+
</script>
942963

943964
</body>
944965

lara.html

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<title>Typed.js Animation</title>
8+
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
9+
<style>
10+
body {
11+
font-family: 'Arial', sans-serif;
12+
background-color: #f0f0f0;
13+
display: flex;
14+
justify-content: center;
15+
align-items: center;
16+
height: 100vh;
17+
margin: 0;
18+
}
19+
20+
.text {
21+
color: #4CAF50;
22+
font-size: 24px;
23+
font-weight: bold;
24+
}
25+
</style>
26+
</head>
27+
28+
<body>
29+
30+
<span class="text"></span>
31+
32+
<script>
33+
document.addEventListener('DOMContentLoaded', function () {
34+
var typed = new Typed(".text", {
35+
strings: ["Frontend Developer . . .", "Programmer . . .", "Web Developer . . ."],
36+
typeSpeed: 70,
37+
backSpeed: 50,
38+
backDelay: 1000,
39+
loop: true
40+
});
41+
});
42+
</script>
43+
44+
</body>
45+
46+
</html>

0 commit comments

Comments
 (0)