Skip to content

Commit 96f7db9

Browse files
Merge pull request #2 from Rathanak-Phan/Update1
Update commite
2 parents bf8ada6 + 9095c29 commit 96f7db9

File tree

4 files changed

+62
-14
lines changed

4 files changed

+62
-14
lines changed

src/components/Carousel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
navigation
2323
pagination
2424
loop
25-
class="mySwiper rounded-lg shadow-lg max-w-5xl mx-auto mt-8"
25+
class="mySwiper rounded-lg shadow-lg max-w-4xl mx-auto mt-8"
2626
>
2727
<SwiperSlide>
2828
<img

src/components/Footer.vue

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,44 @@
88
<p class="text-sm">© {{ currentYear }} Rathanak Phan. All rights reserved.</p>
99
</div>
1010

11-
<!-- Right: Navigation Links -->
11+
<!-- Right: Social Media Links -->
1212
<div class="flex space-x-4">
13-
<router-link to="/" class="footer-link hover:underline">Home</router-link>
14-
<router-link to="/description" class="footer-link hover:underline">Description</router-link>
15-
<router-link to="/demo" class="footer-link hover:underline">Demo</router-link>
16-
<router-link to="/about" class="footer-link hover:underline">About</router-link>
13+
<a
14+
href="https://facebook.com/"
15+
target="_blank"
16+
rel="noopener"
17+
aria-label="Facebook"
18+
class="rounded-full bg-white/10 hover:bg-blue-500 transition-colors duration-200 p-2 text-xl text-white hover:text-white shadow-md"
19+
>
20+
<i class="fab fa-facebook-f"></i>
21+
</a>
22+
<a
23+
href="https://twitter.com/"
24+
target="_blank"
25+
rel="noopener"
26+
aria-label="Twitter"
27+
class="rounded-full bg-white/10 hover:bg-sky-400 transition-colors duration-200 p-2 text-xl text-white hover:text-white shadow-md"
28+
>
29+
<i class="fab fa-twitter"></i>
30+
</a>
31+
<a
32+
href="https://instagram.com/"
33+
target="_blank"
34+
rel="noopener"
35+
aria-label="Instagram"
36+
class="rounded-full bg-white/10 hover:bg-pink-500 transition-colors duration-200 p-2 text-xl text-white hover:text-white shadow-md"
37+
>
38+
<i class="fab fa-instagram"></i>
39+
</a>
40+
<a
41+
href="https://linkedin.com/"
42+
target="_blank"
43+
rel="noopener"
44+
aria-label="LinkedIn"
45+
class="rounded-full bg-white/10 hover:bg-blue-700 transition-colors duration-200 p-2 text-xl text-white hover:text-white shadow-md"
46+
>
47+
<i class="fab fa-linkedin-in"></i>
48+
</a>
1749
</div>
1850
</div>
1951
</div>

src/components/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<header class="bg-white dark:bg-gray-900 shadow-md sticky top-0 z-50">
2+
<header class="bg-white dark:bg-gray-900 shadow-md sticky top-0 z-50 transition-colors duration-300 ease-in-out">
33
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-0">
44
<div class="flex justify-between items-center h-16">
55
<!-- Logo / Brand -->

src/views/Home.vue

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,28 @@
33
class="min-h-screen bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-200 transition-colors duration-300 ease-in-out"
44
>
55
<!-- Header Section -->
6-
<UniversityHero />
6+
<!-- <UniversityHero /> -->
77

88
<!-- Welcome Section -->
99
<section
10-
class="text-center py-16 px-4 sm:px-6 md:px-20 bg-gray-50 dark:bg-gray-800 duration-300 ease-in-out"
10+
class="text-center py-16 px-4 sm:px-6 md:px-20 bg-none bg-gray-50 dark:bg-[#0F172A] duration-300 ease-in-out"
1111
>
12+
<!-- Background Video -->
13+
<video
14+
autoplay
15+
muted
16+
loop
17+
playsinline
18+
class="absolute top-0 left-0 w-full h-full object-cover z-0 opacity-70 dark:opacity-20"
19+
>
20+
<source
21+
src="https://media.istockphoto.com/id/1027718724/video/handwritten-formulas-spinning-in-3d-space-on-a-bright-background.mp4?s=mp4-640x640-is&k=20&c=OZhq1lBjCn5IOD_h79W3NqOtVFgpP54Ia6_fT3y3mN0="
22+
type="video/mp4"
23+
/>
24+
Your browser does not support the video tag.
25+
</video>
26+
27+
<!-- Content Layer -->
1228
<div
1329
data-aos="fade-zoom-in"
1430
data-aos-easing="ease-in-back"
@@ -22,7 +38,7 @@
2238
Welcome to Number Theory & Cryptography
2339
</h1>
2440
<p
25-
class="text-lg sm:text-xl max-w-4xl mx-auto text-gray-600 dark:text-gray-300 leading-relaxed mb-8"
41+
class="text-lg sm:text-xl max-w-4xl mx-auto text-gray-100 dark:text-gray-300 leading-relaxed mb-8"
2642
>
2743
Explore the fascinating intersection where mathematical elegance meets
2844
digital security. Number theory, the mother of modern cryptography,
@@ -96,7 +112,7 @@
96112

97113
<!-- Real-World Applications -->
98114
<section
99-
class="py-16 px-4 sm:px-6 md:px-20 bg-gray-50 dark:bg-gray-800 duration-300 ease-in-out"
115+
class="py-16 px-4 sm:px-6 md:px-20 bg-gray-50 dark:bg-gray-900 duration-300 ease-in-out"
100116
>
101117
<div class="max-w-7xl mx-auto">
102118
<h2
@@ -111,7 +127,7 @@
111127
data-aos="zoom-in-right"
112128
data-aos-delay="300"
113129
data-aos-duration="500"
114-
class="bg-white dark:bg-gray-700 p-6 rounded-lg shadow-md hover:shadow-2xl hover:scale-105 transition-transform duration-300 border border-transparent hover:border-gray-300 dark:hover:border-gray-500 "
130+
class="bg-white dark:bg-gray-700 p-6 rounded-lg shadow-md hover:shadow-2xl hover:scale-105 transition-transform duration-300 border border-transparent hover:border-gray-300 dark:hover:border-gray-500"
115131
>
116132
<div
117133
class="w-12 h-12 bg-green-500 rounded-full flex items-center justify-center mb-4"
@@ -315,7 +331,7 @@
315331

316332
<!-- Key Algorithms Section -->
317333
<section
318-
class="py-16 px-4 sm:px-6 md:px-20 bg-gray-50 dark:bg-gray-800 duration-300 ease-in-out"
334+
class="py-16 px-4 sm:px-6 md:px-20 bg-gray-50 dark:bg-gray-900 duration-300 ease-in-out"
319335
>
320336
<div class="max-w-7xl mx-auto">
321337
<h2
@@ -442,7 +458,7 @@
442458
</section>
443459

444460
<!-- Future of Number Theory in Cryptography -->
445-
<section class="py-20 px-4 sm:px-6 md:px-20 relative overflow-hidden">
461+
<section class="py-20 px-4 sm:px-6 md:px-20 relative overflow-hidden rounded-tl-[10%] rounded-br-[10%]">
446462
<div
447463
class="absolute inset-0 bg-gradient-to-r from-blue-600/10 to-purple-600/10 dark:from-blue-500/20 dark:to-purple-500/20"
448464
></div>

0 commit comments

Comments
 (0)