-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
102 lines (99 loc) · 4.46 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Light Dark Mode</title>
<link rel="icon" type="image/gif" href="jt.gif">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css"/>
<link rel="stylesheet" href="style.css">
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
</head>
<body>
<!-- Dark Mode Switch -->
<div class="theme-switch-wrapper">
<span id="toggle-icon">
<span class="toggle-text">Light Mode</span>
<i class="fas fa-sun"></i>
</span>
<label class="theme-switch">
<input type="checkbox">
<div class="slider round"></div>
</label>
</div>
<!-- Navigation -->
<nav id="nav">
<a href="#home">HOME</a>
<a href="#about">ABOUT</a>
<a href="#projects">PROJECTS</a>
<a href="#contact">CONTACT</a>
</nav>
<!-- Home Section -->
<section id="home">
<div class="title-group" data-aos="flip-right" data-aos-delay="200">
<h1>Dark And Light Mode</h1>
<h2>Switch the mode of background at the top right corner</h2>
</div>
</section>
<!-- About Section -->
<section id="about">
<div class="title-group">
<h1>Undraw Illustrations</h1>
<div class="about-container">
<div class="image-container" data-aos="flip-right">
<h2>Web Innovation</h2>
<img src="img/undraw_proud_coder_light.svg" alt="Proud Coder" id="image1">
</div>
<div class="image-container" data-aos="flip-down">
<h2>Web Innovation</h2>
<img src="img/undraw_feeling_proud_light.svg" alt="Feeling proud" id="image2">
</div>
<div class="image-container" data-aos="flip-left">
<h2>High Concept</h2>
<img src="img/undraw_conceptual_idea_light.svg" alt="Idea" id="image3">
</div>
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects" >
<h1>Buttons</h1>
<div class="buttons" data-aos="zoom-in-up">
<button class="primary">Primary</button>
<button class="secondary">Secondary</button>
<button class="primary" disabled>Disabled</button>
<button class="outline">Outline</button>
<button class="secondary outline">Alt Outline</button>
<button class="outline" disabled>disabled</button>
</div>
<div class="text-box" id="text-box" data-aos="zoom-in-down">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Modi autem enim molestiae veniam iure animi deleniti, sequi non, officiis qui, quae omnis. Laboriosam cum quos perspiciatis architecto exercitationem enim eaque?</p>
</div>
</section>
<!-- Contact Section -->
<section id="contact">
<div class="social-icons">
<i class="fab fa-github" data-aos="zoom-in" data-aos-delay="200"></i>
<i class="fab fa-codepen" data-aos="zoom-in" data-aos-delay="400"></i>
<i class="fab fa-linkedin" data-aos="zoom-in" data-aos-delay="600"></i>
<i class="fab fa-medium" data-aos="zoom-in" data-aos-delay="800"></i>
<i class="fab fa-instagram" data-aos="zoom-in" data-aos-delay="1000"></i>
<i class="fab fa-youtube" data-aos="zoom-in" data-aos-delay="1200"></i>
</div>
</section>
<!-- AOS aos.js -->
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
AOS.init({
delay: 200, // values from 0 to 3000, with step 50ms
duration: 400, // values from 0 to 3000, with step 50ms
easing: 'ease', // default easing for AOS animations
once: false, // whether animation should happen only once - while scrolling down
mirror: false, // whether elements should animate out while scrolling past them
anchorPlacement: 'top-bottom', // defines which position of the element regarding to window should trigger the animation
});
</script>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>