Baonq commited on
Commit
eaa52d7
·
verified ·
1 Parent(s): b5f7278

quá xấu

Browse files
Files changed (2) hide show
  1. index.html +51 -30
  2. style.css +22 -4
index.html CHANGED
@@ -14,33 +14,40 @@
14
  </head>
15
  <body class="bg-gray-50">
16
  <custom-navbar></custom-navbar>
17
-
18
  <main class="container mx-auto px-4 py-12">
19
  <!-- Hero Section -->
20
  <section class="mb-20">
21
  <div class="flex flex-col md:flex-row items-center">
22
  <div class="md:w-1/2 mb-10 md:mb-0">
23
- <h1 class="text-4xl md:text-5xl font-serif font-bold text-gray-800 mb-6">Discover Timeless Artistry</h1>
24
- <p class="text-lg text-gray-600 mb-8">Curated collection of premium paintings from emerging and established artists worldwide.</p>
25
- <a href="#featured" class="bg-gray-800 hover:bg-gray-700 text-white px-6 py-3 rounded-md transition duration-300 inline-block">Explore Gallery</a>
 
 
 
26
  </div>
27
  <div class="md:w-1/2">
28
- <img src="http://static.photos/art/1200x630/1" alt="Featured Artwork" class="rounded-lg shadow-xl w-full">
 
 
 
29
  </div>
30
  </div>
31
  </section>
32
-
33
  <!-- Featured Paintings -->
34
  <section id="featured" class="mb-20">
35
- <div class="flex justify-between items-center mb-10">
36
- <h2 class="text-3xl font-serif font-bold text-gray-800">Featured Paintings</h2>
37
- <a href="gallery.html" class="text-gray-600 hover:text-gray-800 flex items-center">
38
- View All <i data-feather="chevron-right" class="ml-1"></i>
 
 
 
39
  </a>
40
  </div>
41
 
42
- <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
43
- <art-card
44
  image="http://static.photos/art/640x360/1"
45
  title="Serene Landscape"
46
  artist="Claude Monet"
@@ -63,30 +70,44 @@
63
  </art-card>
64
  </div>
65
  </section>
66
-
67
  <!-- Artist Spotlight -->
68
- <section class="mb-20 bg-white p-10 rounded-lg shadow-sm">
69
- <h2 class="text-3xl font-serif font-bold text-gray-800 mb-10 text-center">Artist Spotlight</h2>
70
- <div class="flex flex-col md:flex-row items-center">
71
- <div class="md:w-1/3 mb-8 md:mb-0 flex justify-center">
72
- <img src="http://static.photos/people/400x400/1" alt="Featured Artist" class="rounded-full w-48 h-48 object-cover border-4 border-gray-200">
73
- </div>
74
- <div class="md:w-2/3 md:pl-10">
75
- <h3 class="text-2xl font-serif font-bold text-gray-800 mb-2">Vincent van Gogh</h3>
76
- <p class="text-gray-500 mb-4">Post-Impressionist | Netherlands</p>
77
- <p class="text-gray-600 mb-6">Known for his bold colors and dramatic, impulsive and expressive brushwork that contributed to the foundations of modern art. His work had a far-reaching influence on 20th-century art.</p>
78
- <a href="artist.html?id=1" class="border border-gray-800 text-gray-800 hover:bg-gray-800 hover:text-white px-6 py-2 rounded-md transition duration-300 inline-block">View Portfolio</a>
 
 
 
 
 
 
 
 
 
79
  </div>
80
  </div>
81
  </section>
82
-
83
  <!-- Call to Action -->
84
- <section class="bg-gray-800 text-white p-12 rounded-lg text-center">
85
- <h2 class="text-3xl font-serif font-bold mb-6">Ready to Find Your Masterpiece?</h2>
86
- <p class="text-gray-300 mb-8 max-w-2xl mx-auto">Our art consultants are available to help you find the perfect piece for your collection or space.</p>
87
- <a href="contact.html" class="bg-white hover:bg-gray-100 text-gray-800 px-8 py-3 rounded-md transition duration-300 inline-block">Schedule Consultation</a>
 
 
 
 
 
 
 
88
  </section>
89
- </main>
90
 
91
  <custom-footer></custom-footer>
92
 
 
14
  </head>
15
  <body class="bg-gray-50">
16
  <custom-navbar></custom-navbar>
 
17
  <main class="container mx-auto px-4 py-12">
18
  <!-- Hero Section -->
19
  <section class="mb-20">
20
  <div class="flex flex-col md:flex-row items-center">
21
  <div class="md:w-1/2 mb-10 md:mb-0">
22
+ <h1 class="text-4xl md:text-6xl font-serif font-bold text-gray-900 mb-6 leading-tight">Masterpieces That Speak to Your Soul</h1>
23
+ <p class="text-xl text-gray-700 mb-8">Exquisite collection of museum-quality artworks from the world's most talented contemporary artists.</p>
24
+ <div class="flex space-x-4">
25
+ <a href="#featured" class="bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-700 hover:to-purple-700 text-white px-8 py-4 rounded-lg transition duration-300 inline-block font-medium shadow-lg hover:shadow-xl">Explore Gallery</a>
26
+ <a href="artists.html" class="border-2 border-gray-900 text-gray-900 hover:bg-gray-900 hover:text-white px-8 py-4 rounded-lg transition duration-300 inline-block font-medium">Meet Artists</a>
27
+ </div>
28
  </div>
29
  <div class="md:w-1/2">
30
+ <div class="relative">
31
+ <img src="http://static.photos/art/1200x630/1" alt="Featured Artwork" class="rounded-xl shadow-2xl w-full transform rotate-1">
32
+ <div class="absolute -inset-4 bg-gradient-to-r from-indigo-100 to-purple-100 rounded-xl -z-10"></div>
33
+ </div>
34
  </div>
35
  </div>
36
  </section>
 
37
  <!-- Featured Paintings -->
38
  <section id="featured" class="mb-20">
39
+ <div class="flex justify-between items-center mb-12">
40
+ <div>
41
+ <span class="text-indigo-600 font-medium mb-2 block">CURATED SELECTION</span>
42
+ <h2 class="text-4xl font-serif font-bold text-gray-900">Featured Masterpieces</h2>
43
+ </div>
44
+ <a href="gallery.html" class="text-gray-700 hover:text-indigo-600 flex items-center font-medium group">
45
+ View Collection <i data-feather="chevron-right" class="ml-2 transition-transform group-hover:translate-x-1"></i>
46
  </a>
47
  </div>
48
 
49
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10">
50
+ <art-card
51
  image="http://static.photos/art/640x360/1"
52
  title="Serene Landscape"
53
  artist="Claude Monet"
 
70
  </art-card>
71
  </div>
72
  </section>
 
73
  <!-- Artist Spotlight -->
74
+ <section class="mb-20 bg-gradient-to-r from-indigo-50 to-purple-50 p-12 rounded-2xl">
75
+ <div class="max-w-6xl mx-auto">
76
+ <h2 class="text-4xl font-serif font-bold text-gray-900 mb-12 text-center">Artist Spotlight</h2>
77
+ <div class="flex flex-col md:flex-row items-center bg-white p-8 rounded-xl shadow-lg">
78
+ <div class="md:w-1/3 mb-8 md:mb-0 flex justify-center">
79
+ <div class="relative">
80
+ <img src="http://static.photos/people/400x400/1" alt="Featured Artist" class="rounded-full w-56 h-56 object-cover border-4 border-white shadow-xl">
81
+ <div class="absolute -inset-2 bg-gradient-to-r from-indigo-200 to-purple-200 rounded-full -z-10"></div>
82
+ </div>
83
+ </div>
84
+ <div class="md:w-2/3 md:pl-12">
85
+ <span class="text-indigo-600 font-medium mb-2 block">FEATURED ARTIST</span>
86
+ <h3 class="text-3xl font-serif font-bold text-gray-900 mb-3">Vincent van Gogh</h3>
87
+ <p class="text-gray-700 font-medium mb-4">Post-Impressionist | Netherlands</p>
88
+ <p class="text-gray-600 mb-8 text-lg leading-relaxed">Renowned for his vibrant colors and expressive brushwork that revolutionized modern art. Van Gogh's emotionally charged works continue to inspire generations of artists and collectors worldwide.</p>
89
+ <div class="flex space-x-4">
90
+ <a href="artist.html?id=1" class="bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-700 hover:to-purple-700 text-white px-8 py-3 rounded-lg transition duration-300 inline-block font-medium shadow-md">View Portfolio</a>
91
+ <a href="exhibitions.html" class="border-2 border-gray-900 text-gray-900 hover:bg-gray-900 hover:text-white px-8 py-3 rounded-lg transition duration-300 inline-block font-medium">Current Exhibitions</a>
92
+ </div>
93
+ </div>
94
  </div>
95
  </div>
96
  </section>
 
97
  <!-- Call to Action -->
98
+ <section class="bg-gradient-to-r from-indigo-900 to-purple-900 text-white p-16 rounded-2xl text-center relative overflow-hidden">
99
+ <div class="absolute -right-20 -top-20 w-64 h-64 bg-indigo-800 rounded-full opacity-20"></div>
100
+ <div class="absolute -left-20 -bottom-20 w-64 h-64 bg-purple-800 rounded-full opacity-20"></div>
101
+ <div class="relative z-10 max-w-3xl mx-auto">
102
+ <h2 class="text-4xl font-serif font-bold mb-6">Discover Your Perfect Masterpiece</h2>
103
+ <p class="text-indigo-200 text-xl mb-10 max-w-2xl mx-auto leading-relaxed">Our expert art consultants provide personalized guidance to help you find artwork that resonates with your taste and complements your space.</p>
104
+ <div class="flex justify-center space-x-6">
105
+ <a href="contact.html" class="bg-white hover:bg-gray-100 text-indigo-900 px-10 py-4 rounded-lg transition duration-300 inline-block font-medium shadow-lg hover:shadow-xl text-lg">Schedule Consultation</a>
106
+ <a href="tel:+12125551234" class="border-2 border-white text-white hover:bg-white hover:text-indigo-900 px-10 py-4 rounded-lg transition duration-300 inline-block font-medium text-lg">Call Now</a>
107
+ </div>
108
+ </div>
109
  </section>
110
+ </main>
111
 
112
  <custom-footer></custom-footer>
113
 
style.css CHANGED
@@ -11,16 +11,34 @@ body {
11
  h1, h2, h3, h4, h5, h6 {
12
  font-family: 'Playfair Display', serif;
13
  }
14
-
15
  .art-card-hover {
16
- transition: transform 0.3s ease, box-shadow 0.3s ease;
 
 
17
  }
18
 
19
  .art-card-hover:hover {
20
- transform: translateY(-5px);
21
- box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
 
 
 
 
 
 
 
 
 
22
  }
23
 
 
 
 
 
 
 
 
 
24
  /* Custom scrollbar */
25
  ::-webkit-scrollbar {
26
  width: 8px;
 
11
  h1, h2, h3, h4, h5, h6 {
12
  font-family: 'Playfair Display', serif;
13
  }
 
14
  .art-card-hover {
15
+ transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
16
+ border-radius: 12px;
17
+ overflow: hidden;
18
  }
19
 
20
  .art-card-hover:hover {
21
+ transform: translateY(-8px);
22
+ box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
23
+ }
24
+
25
+ /* Gradient text */
26
+ .gradient-text {
27
+ background: linear-gradient(90deg, #4f46e5, #7c3aed);
28
+ -webkit-background-clip: text;
29
+ background-clip: text;
30
+ color: transparent;
31
+ display: inline-block;
32
  }
33
 
34
+ /* Custom button animations */
35
+ .btn-hover-grow {
36
+ transition: all 0.3s ease;
37
+ }
38
+
39
+ .btn-hover-grow:hover {
40
+ transform: scale(1.05);
41
+ }
42
  /* Custom scrollbar */
43
  ::-webkit-scrollbar {
44
  width: 8px;