68
68
< div class ="circle " style ="background-color: #fff; left: 504px; top: 59px; scale: 0.8; "> </ div >
69
69
< div class ="circle " style ="background-color: #fff; left: 504px; top: 59px; scale: 0.8; "> </ div >
70
70
< div class ="circle " style ="background-color: #fff; left: 504px; top: 59px; scale: 0.8; "> </ div >
71
- </ div >
71
+ </ div >
72
72
73
73
< header class ="header ">
74
- < a href ="# " class ="logo "> < img src ="./images/logomain.png " alt ="" style ="width: 100px; height: 70px " /> </ a >
74
+ < a href ="# " class ="logo "> < img src ="./images/logomain.png " alt ="" style ="width: 185px; " /> </ a >
75
75
< div class ="fas fa-bars "> </ div >
76
76
< nav class ="navbar ">
77
77
< ul >
78
- < i class ='icons bx bxs-home '> </ i >
79
- < li style ="margin-left: 1px; "> < a href ="#home "> home</ a > </ li >
80
-
81
- < i class ='icons bx bx-laptop '> </ i >
82
- < li style ="margin-left: 1px; "> < a href ="./backend/public/index.html "> Projects</ a > </ li >
83
-
84
- < i class ='icons bx bxs-contact '> </ i >
85
- < li style ="margin-left: 1px; "> < a href ="#contact "> contact</ a > </ li >
86
-
87
- < button id ="login "> Log In</ button >
78
+ < li >
79
+ < i class ='icons bx bxs-home '> </ i >
80
+ < a href ="#home "> Home</ a >
81
+ </ li >
82
+
83
+ < li >
84
+ < i class ='icons bx bx-laptop '> </ i >
85
+ < a href ="./backend/public/index.html "> Projects</ a >
86
+ </ li >
87
+
88
+ < li >
89
+ < i class ='icons bx bxs-contact '> </ i >
90
+ < a href ="#contact "> Contact</ a >
91
+ </ li >
92
+
93
+ < li > < button id ="login "> Log In</ button > </ li >
88
94
< h3 id ="name "> </ h3 >
89
95
< img id ="image " onclick ="ProfileClicked() " />
90
96
< button onclick ="logout() " id ="logout "> Logout</ button >
@@ -145,13 +151,9 @@ <h6>Mobile-App Projects</h6>
145
151
< h6 > Data Analytics Projects</ h6 >
146
152
147
153
< p class ="text-black ">
148
- The Project will include Visualizating of Data and the
149
- Rescanning. As per the Statistics and the giving space. This
150
- </ p >
151
-
152
- < p class ="text-trans-none ">
153
- The project will include Visualizating of Data and Rescanning.
154
- As per the Statistics and the giving space.
154
+ The Project will include the Visualization of Data, which will involve creating interactive and
155
+ informative graphs, charts, and other visual representations to help stakeholders understand and analyze
156
+ the data.
155
157
</ p >
156
158
</ div >
157
159
</ div >
@@ -363,136 +365,133 @@ <h3 class="chatbox__title">Precious IT Services</h3>
363
365
< script >
364
366
//Custom Cursor
365
367
366
- const coords = { x : 0 , y : 0 } ;
367
- const circles = document . querySelectorAll ( ".circle" ) ;
368
-
369
- const colors = [
370
- "#55a5ea" ,
371
- "#55a5ea" ,
372
- "#55a5ea" ,
373
- "#55a5ea" ,
374
- "#55a5ea" ,
375
- "#55a5ea" ,
376
- "#55a5ea" ,
377
- "#55a5ea" ,
378
- "#3fbcc0c6" ,
379
- "#3fbcc0c6" ,
380
- "#3fbcc0c6" ,
381
- "#3fbcc0c6" ,
382
- "#3fbcc0c6" ,
383
- "#3fbcc0c6" ,
384
- "fff" ,
385
- "fff" ,
386
- "fff" ,
387
- "fff" ,
388
- "fff" ,
389
- "fff" ,
390
- "fff" ,
391
- ] ;
392
-
393
- circles . forEach ( function ( circle , index ) {
394
- circle . x = 0 ;
395
- circle . y = 0 ;
396
- circle . style . backgroundColor = colors [ index % colors . length ] ;
397
- } ) ;
398
-
399
- window . addEventListener ( "mousemove" , function ( e ) {
400
- coords . x = e . clientX ;
401
- coords . y = e . clientY ;
402
- } ) ;
403
-
404
- function animateCircles ( ) {
405
- let x = coords . x ;
406
- let y = coords . y ;
407
-
408
- circles . forEach ( function ( circle , index ) {
409
- circle . style . left = x - 12 + "px" ;
410
- circle . style . top = y - 12 + "px" ;
411
-
412
- circle . style . scale = ( circles . length - index ) / circles . length ;
413
-
414
- circle . x = x ;
415
- circle . y = y ;
416
-
417
- const nextCircle = circles [ index + 1 ] || circles [ 0 ] ;
418
- x += ( nextCircle . x - x ) * 0.3 ;
419
- y += ( nextCircle . y - y ) * 0.3 ;
420
- } ) ;
421
-
422
- requestAnimationFrame ( animateCircles ) ;
423
- }
424
-
425
- animateCircles ( ) ;
426
-
427
- // Function to toggle dark mode
428
- function toggleDarkMode ( ) {
429
- const isDarkMode = isDarkModePreferred ( ) ;
430
- setDarkModePreference ( ! isDarkMode ) ;
431
- applyDarkModePreference ( ) ;
432
- }
433
-
434
- // Function to apply dark mode preference
435
- function applyDarkModePreference ( ) {
436
- const isDarkMode = isDarkModePreferred ( ) ;
437
- if ( isDarkMode ) {
438
- document . body . classList . add ( "dark-mode" ) ;
439
- document . getElementById ( "theme-icon" ) . src = "assets/images/icons8-sun.svg" ;
440
- } else {
441
- document . body . classList . remove ( "dark-mode" ) ;
442
- document . getElementById ( "theme-icon" ) . src = "assets/images/moon_solid.svg" ;
443
- }
444
- }
445
-
446
- // Function to set dark mode preference
447
- document . addEventListener ( "DOMContentLoaded" , ( ) => {
448
- const currentTheme = localStorage . getItem ( "theme" ) ;
449
- const switchCheckbox = document . getElementById ( "switch" ) ; // Define switchCheckbox here
450
- const starRating = document . querySelector ( ".star_rating" ) ;
451
- const thankYouMessage = document . querySelector ( ".thank_you_message" ) ;
452
- if ( switchCheckbox ) {
453
- // Check if switchCheckbox is not null
454
- function applyDarkModeStyles ( ) {
455
- document . body . classList . remove ( "light-mode" ) ;
456
- document . body . classList . add ( "dark-mode" ) ;
457
- starRating . style . backgroundColor = "#2d2828" ;
458
- thankYouMessage . style . backgroundColor = "#2d2828" ;
459
- }
460
-
461
- function applyLightModeStyles ( ) {
462
- document . body . classList . remove ( "dark-mode" ) ;
463
- document . body . classList . add ( "light-mode" ) ;
464
- starRating . style . backgroundColor = "white" ;
465
- thankYouMessage . style . backgroundColor = "white" ;
466
- }
467
-
468
- if ( currentTheme ) {
469
- if ( currentTheme === "dark-mode" ) {
470
- applyDarkModeStyles ( ) ;
471
- switchCheckbox . checked = true ;
472
- } else {
473
- applyLightModeStyles ( ) ;
474
- }
475
- }
476
-
477
- switchCheckbox . addEventListener ( "change" , ( ) => {
478
- if ( switchCheckbox . checked ) {
479
- applyDarkModeStyles ( ) ;
480
- localStorage . setItem ( "theme" , "dark-mode" ) ;
481
- } else {
482
- applyLightModeStyles ( ) ;
483
- localStorage . setItem ( "theme" , "light-mode" ) ;
368
+ const coords = { x : 0 , y : 0 } ;
369
+ const circles = document . querySelectorAll ( ".circle" ) ;
370
+
371
+ const colors = [
372
+ "#55a5ea" ,
373
+ "#55a5ea" ,
374
+ "#55a5ea" ,
375
+ "#55a5ea" ,
376
+ "#55a5ea" ,
377
+ "#55a5ea" ,
378
+ "#55a5ea" ,
379
+ "#55a5ea" ,
380
+ "#3fbcc0c6" ,
381
+ "#3fbcc0c6" ,
382
+ "#3fbcc0c6" ,
383
+ "#3fbcc0c6" ,
384
+ "#3fbcc0c6" ,
385
+ "#3fbcc0c6" ,
386
+ "fff" ,
387
+ "fff" ,
388
+ "fff" ,
389
+ "fff" ,
390
+ "fff" ,
391
+ "fff" ,
392
+ "fff" ,
393
+ ] ;
394
+
395
+ circles . forEach ( function ( circle , index ) {
396
+ circle . x = 0 ;
397
+ circle . y = 0 ;
398
+ circle . style . backgroundColor = colors [ index % colors . length ] ;
399
+ } ) ;
400
+
401
+ window . addEventListener ( "mousemove" , function ( e ) {
402
+ coords . x = e . clientX ;
403
+ coords . y = e . clientY ;
404
+ } ) ;
405
+
406
+ function animateCircles ( ) {
407
+ let x = coords . x ;
408
+ let y = coords . y ;
409
+
410
+ circles . forEach ( function ( circle , index ) {
411
+ circle . style . left = x - 12 + "px" ;
412
+ circle . style . top = y - 12 + "px" ;
413
+
414
+ circle . style . scale = ( circles . length - index ) / circles . length ;
415
+
416
+ circle . x = x ;
417
+ circle . y = y ;
418
+
419
+ const nextCircle = circles [ index + 1 ] || circles [ 0 ] ;
420
+ x += ( nextCircle . x - x ) * 0.3 ;
421
+ y += ( nextCircle . y - y ) * 0.3 ;
422
+ } ) ;
423
+
424
+ requestAnimationFrame ( animateCircles ) ;
484
425
}
485
- } ) ;
486
- } else {
487
- console . error ( "Switch checkbox not found!" ) ; // Log an error if switchCheckbox is null
488
- }
489
- } ) ;
490
426
491
- </ script >
492
- </ body >
427
+ animateCircles ( ) ;
428
+
429
+ // Function to toggle dark mode
430
+ function toggleDarkMode ( ) {
431
+ const isDarkMode = isDarkModePreferred ( ) ;
432
+ setDarkModePreference ( ! isDarkMode ) ;
433
+ applyDarkModePreference ( ) ;
434
+ }
493
435
436
+ // Function to apply dark mode preference
437
+ function applyDarkModePreference ( ) {
438
+ const isDarkMode = isDarkModePreferred ( ) ;
439
+ if ( isDarkMode ) {
440
+ document . body . classList . add ( "dark-mode" ) ;
441
+ document . getElementById ( "theme-icon" ) . src = "assets/images/icons8-sun.svg" ;
442
+ } else {
443
+ document . body . classList . remove ( "dark-mode" ) ;
444
+ document . getElementById ( "theme-icon" ) . src = "assets/images/moon_solid.svg" ;
445
+ }
446
+ }
494
447
495
- </ html >
448
+ // Function to set dark mode preference
449
+ document . addEventListener ( "DOMContentLoaded" , ( ) => {
450
+ const currentTheme = localStorage . getItem ( "theme" ) ;
451
+ const switchCheckbox = document . getElementById ( "switch" ) ; // Define switchCheckbox here
452
+ const starRating = document . querySelector ( ".star_rating" ) ;
453
+ const thankYouMessage = document . querySelector ( ".thank_you_message" ) ;
454
+ if ( switchCheckbox ) {
455
+ // Check if switchCheckbox is not null
456
+ function applyDarkModeStyles ( ) {
457
+ document . body . classList . remove ( "light-mode" ) ;
458
+ document . body . classList . add ( "dark-mode" ) ;
459
+ starRating . style . backgroundColor = "#2d2828" ;
460
+ thankYouMessage . style . backgroundColor = "#2d2828" ;
461
+ }
462
+
463
+ function applyLightModeStyles ( ) {
464
+ document . body . classList . remove ( "dark-mode" ) ;
465
+ document . body . classList . add ( "light-mode" ) ;
466
+ starRating . style . backgroundColor = "white" ;
467
+ thankYouMessage . style . backgroundColor = "white" ;
468
+ }
469
+
470
+ if ( currentTheme ) {
471
+ if ( currentTheme === "dark-mode" ) {
472
+ applyDarkModeStyles ( ) ;
473
+ switchCheckbox . checked = true ;
474
+ } else {
475
+ applyLightModeStyles ( ) ;
476
+ }
477
+ }
478
+
479
+ switchCheckbox . addEventListener ( "change" , ( ) => {
480
+ if ( switchCheckbox . checked ) {
481
+ applyDarkModeStyles ( ) ;
482
+ localStorage . setItem ( "theme" , "dark-mode" ) ;
483
+ } else {
484
+ applyLightModeStyles ( ) ;
485
+ localStorage . setItem ( "theme" , "light-mode" ) ;
486
+ }
487
+ } ) ;
488
+ } else {
489
+ console . error ( "Switch checkbox not found!" ) ; // Log an error if switchCheckbox is null
490
+ }
491
+ } ) ;
496
492
493
+ </ script >
494
+ </ body >
497
495
498
496
497
+ </ html >
0 commit comments