304
304
}
305
305
306
306
.about-card h4 {
307
- color : # 409B44 ;
307
+ color : # 28a745
308
308
font-weight: 600 ;
309
309
white-space : nowrap;
310
310
}
1508
1508
transform : none !important ;
1509
1509
box-shadow : none !important ;
1510
1510
}
1511
-
1512
- /*Dark Mode*/
1511
+
1512
+ .arrow-slide-btn {
1513
+ width : 60px ;
1514
+ height : 60px ;
1515
+ border-radius : 50% ;
1516
+ background : rgba (255 , 255 , 255 , 0.9 );
1517
+ border : 2px solid # fff ;
1518
+ color : # 3498db ;
1519
+ cursor : pointer;
1520
+ position : absolute;
1521
+ right : 20px ;
1522
+ top : 40% ; /* Changed from 50% to position it higher */
1523
+ transform : translateY (-50% );
1524
+ overflow : hidden;
1525
+ transition : all 0.3s ease;
1526
+ box-shadow : 0 4px 15px rgba (0 , 0 , 0 , 0.2 );
1527
+ display : flex;
1528
+ align-items : center;
1529
+ justify-content : center;
1530
+ z-index : 10 ;
1531
+ }
1532
+
1533
+ .arrow-slide-btn : hover {
1534
+ transform : translateY (-50% ) translateX (5px );
1535
+ box-shadow : 0 6px 20px rgba (0 , 0 , 0 , 0.3 );
1536
+ background : # fff ;
1537
+ }
1538
+
1539
+ .arrow-slide-btn : active {
1540
+ transform : translateY (-50% );
1541
+ }
1542
+
1543
+ .arrow-icon {
1544
+ font-size : 24px ;
1545
+ transition : all 0.3s ease;
1546
+ color : # 3498db ;
1547
+ }
1548
+
1549
+ .arrow-slide-btn : hover .arrow-icon {
1550
+ transform : translateX (3px );
1551
+ color : # 8e44ad ;
1552
+ }
1553
+
1554
+ /* Optional pulse animation */
1555
+ @keyframes pulse {
1556
+ 0% { transform : translateY (-50% ) scale (1 ); }
1557
+ 50% { transform : translateY (-50% ) scale (1.05 ); }
1558
+ 100% { transform : translateY (-50% ) scale (1 ); }
1559
+ }
1560
+
1561
+ .arrow-slide-btn {
1562
+ animation : pulse 2s infinite;
1563
+ }
1564
+
1565
+ /* Make sure the container has relative positioning */
1566
+ .container {
1567
+ position : relative;
1568
+ padding-right : 90px ; /* Add space for the button */
1569
+ }
1570
+
1513
1571
</ style >
1514
1572
<!-- END: Custom CSS changes -->
1515
1573
</ head >
@@ -1666,7 +1724,7 @@ <h6 class="mb-0">Cyber Analyst</h6>
1666
1724
< div class ="carousel-caption d-block ">
1667
1725
< h2 > Website Development</ h2 >
1668
1726
< div class ="redirect-btns m-4 ">
1669
- < a href ="#learn " class ="btn btn-primary m-1 fade-in "> Learn more </ a >
1727
+ < a href ="src/web.html " class ="btn btn-primary m-1 fade-in "> Learn More </ a >
1670
1728
< a href ="learn/webdev.html " class ="btn btn-custom-purple m-1 fade-in "> Portfolio</ a >
1671
1729
</ div >
1672
1730
</ div >
@@ -1682,7 +1740,7 @@ <h2>Website Development</h2>
1682
1740
< div class ="carousel-caption d-block ">
1683
1741
< h2 > Graphic Design</ h2 >
1684
1742
< div class ="redirect-btns m-4 ">
1685
- < a href ="#learn " class ="btn btn-primary m-1 fade-in "> Learn more </ a >
1743
+ < a href ="src/graphic_design.html " class ="btn btn-primary m-1 fade-in "> Learn More </ a >
1686
1744
< a href ="learn/graphic.html " class ="btn btn-custom-purple m-1 fade-in "> Portfolio</ a >
1687
1745
</ div >
1688
1746
</ div >
@@ -1698,7 +1756,7 @@ <h2>Graphic Design</h2>
1698
1756
< div class ="carousel-caption d-block ">
1699
1757
< h2 > Digital Marketing</ h2 >
1700
1758
< div class ="redirect-btns m-4 ">
1701
- < a href ="src/digital-marketing.html " class ="btn btn-primary m-1 fade-in "> Learn more </ a >
1759
+ < a href ="src/digital-marketing.html " class ="btn btn-primary m-1 fade-in "> Learn More </ a >
1702
1760
< a href ="learn/marketing.html " class ="btn btn-custom-purple m-1 fade-in "> Portfolio</ a >
1703
1761
</ div >
1704
1762
</ div >
@@ -1714,7 +1772,7 @@ <h2>Digital Marketing</h2>
1714
1772
< div class ="carousel-caption d-block ">
1715
1773
< h2 > Social Media Management</ h2 >
1716
1774
< div class ="redirect-btns m-4 ">
1717
- < a href ="#learn " class ="btn btn-primary m-1 fade-in "> Learn more </ a >
1775
+ < a href ="src/social-media.html " class ="btn btn-primary m-1 fade-in "> Learn More </ a >
1718
1776
< a href ="learn/socialmedia.html " class ="btn btn-custom-purple m-1 fade-in "> Portfolio</ a >
1719
1777
</ div >
1720
1778
</ div >
@@ -1730,7 +1788,7 @@ <h2>Social Media Management</h2>
1730
1788
< div class ="carousel-caption d-block ">
1731
1789
< h2 > Content Writing</ h2 >
1732
1790
< div class ="redirect-btns m-4 ">
1733
- < a href ="#learn " class ="btn btn-primary m-1 fade-in "> Learn more </ a >
1791
+ < a href ="src/content-writing.html " class ="btn btn-primary m-1 fade-in "> Learn More </ a >
1734
1792
< a href ="learn/contentwriting.html " class ="btn btn-custom-purple m-1 fade-in "> Portfolio</ a >
1735
1793
</ div >
1736
1794
</ div >
@@ -1745,11 +1803,17 @@ <h2>Content Writing</h2>
1745
1803
< div class ="carousel-caption d-block ">
1746
1804
< h2 > Cyber Analyst</ h2 >
1747
1805
< div class ="redirect-btns m-4 ">
1748
- < a href ="#learn " class ="btn btn-primary m-1 fade-in "> Learn more </ a >
1806
+ < a href ="src/cyber-analyst.html " class ="btn btn-primary m-1 fade-in "> Learn More </ a >
1749
1807
< a href ="learn/cyberanalyst.html " class ="btn btn-custom-purple m-1 fade-in "> Portfolio</ a >
1750
1808
</ div >
1751
1809
</ div >
1752
1810
</ div >
1811
+ < button class ="arrow-slide-btn " id ="customNextButton ">
1812
+ < span class ="arrow-icon ">
1813
+ < i class ="fas fa-arrow-right "> </ i >
1814
+ </ span >
1815
+ </ button >
1816
+
1753
1817
</ div >
1754
1818
1755
1819
</ div >
@@ -2292,7 +2356,20 @@ <h5 class="footer-title">Newsletter</h5>
2292
2356
yearSpan . textContent = new Date ( ) . getFullYear ( ) ;
2293
2357
} ) ;
2294
2358
</ script >
2295
-
2359
+ < script >
2360
+ document . addEventListener ( 'DOMContentLoaded' , function ( ) {
2361
+ // Get the custom button and Bootstrap carousel
2362
+ const customNextButton = document . getElementById ( 'customNextButton' ) ;
2363
+ const carousel = new bootstrap . Carousel ( document . getElementById ( 'carouselExampleDark' ) ) ;
2364
+
2365
+ // Add click event to custom button
2366
+ if ( customNextButton ) {
2367
+ customNextButton . addEventListener ( 'click' , function ( ) {
2368
+ carousel . next ( ) ; // Go to next slide
2369
+ } ) ;
2370
+ }
2371
+ } ) ;
2372
+ </ script >
2296
2373
</ body >
2297
2374
2298
2375
</ html >
0 commit comments