11---
2- import Carousel from ' ../components/Carousel .svelte' ;
2+ import VideoPlayer from ' ../components/VideoPlayer .svelte' ;
33import ' ../styles/global.css' ;
44---
55
@@ -24,6 +24,10 @@ import '../styles/global.css';
2424 DataPup
2525 </h1 >
2626
27+ <div class =" recognition-tagline animate-fade-in" >
28+ <span >Officially recognized by ClickHouse</span >
29+ </div >
30+
2731 <p class =" hero-tagline animate-fade-in" >
2832 The database client that doesn't bite
2933 </p >
@@ -46,8 +50,14 @@ import '../styles/global.css';
4650 <span class =" badge-icon" >👨💻</span >
4751 <span >Built by engineers from Tesla, Meta, Microsoft & Amazon</span >
4852 </div >
53+
54+ <a href =" https://clickhouse.com/docs/interfaces/third-party/gui#datapup" target =" _blank" rel =" noopener noreferrer" class =" clickhouse-badge glass animate-fade-in clickable-badge" >
55+ <img src =" /images/clickhouse-logo.svg" alt =" ClickHouse" class =" clickhouse-small-logo" />
56+ <span >Featured on ClickHouse.com</span >
57+ <span class =" external-link-icon" >↗</span >
58+ </a >
4959 </div >
50- <Carousel client:load />
60+ <VideoPlayer client:load />
5161</section >
5262
5363<style >
@@ -274,10 +284,28 @@ import '../styles/global.css';
274284
275285 .hero-badge { animation-delay: 0.1s; }
276286 .hero-title { animation-delay: 0.2s; }
287+ .recognition-tagline { animation-delay: 0.25s; }
277288 .hero-tagline { animation-delay: 0.3s; }
278289 .hero-description { animation-delay: 0.4s; }
279290 .hero-cta { animation-delay: 0.5s; }
280291 .credentials-badge { animation-delay: 0.6s; }
292+ .clickhouse-badge { animation-delay: 0.65s; }
293+
294+ .recognition-tagline {
295+ display: inline-flex;
296+ align-items: center;
297+ font-size: 0.95rem;
298+ font-weight: 500;
299+ margin: 0.25rem 0 0.5rem 0;
300+ color: var(--color-text-secondary);
301+ opacity: 0.9;
302+ }
303+
304+ .clickhouse-logo {
305+ width: 18px;
306+ height: 18px;
307+ opacity: 0.8;
308+ }
281309
282310 .credentials-badge {
283311 display: inline-flex;
@@ -290,18 +318,147 @@ import '../styles/global.css';
290318 margin-top: 2rem;
291319 }
292320
321+ .clickhouse-badge {
322+ display: inline-flex;
323+ align-items: center;
324+ gap: 0.5rem;
325+ padding: 0.5rem 1rem;
326+ border-radius: 9999px;
327+ font-size: 0.875rem;
328+ font-weight: 500;
329+ margin-top: 0.75rem;
330+ margin-left: 0;
331+ text-decoration: none;
332+ color: inherit;
333+ }
334+
335+ .clickable-badge {
336+ transition: all 0.2s ease;
337+ cursor: pointer;
338+ }
339+
340+ .clickable-badge:hover {
341+ transform: translateY(-1px);
342+ box-shadow: 0 4px 12px rgba(170, 178, 255, 0.2);
343+ }
344+
345+ .external-link-icon {
346+ font-size: 0.75rem;
347+ opacity: 0.7;
348+ margin-left: 0.25rem;
349+ }
350+
351+ .clickhouse-small-logo {
352+ width: 16px;
353+ height: 16px;
354+ filter: brightness(0) invert(1);
355+ }
356+
357+ /* Tablet styles */
358+ @media (max-width: 1200px) {
359+ .hero-wrapper {
360+ flex-direction: column;
361+ align-items: center;
362+ gap: 3rem;
363+ }
364+
365+ .hero-content {
366+ max-width: 100%;
367+ text-align: center;
368+ margin-top: 2vh;
369+ }
370+ }
371+
372+ /* Mobile styles */
293373 @media (max-width: 768px) {
294374 .hero {
295- padding: 5.5rem 1rem 3rem;
375+ padding: 4rem 1rem 2rem;
376+ }
377+
378+ .hero-wrapper {
379+ flex-direction: column;
380+ align-items: center;
381+ gap: 2rem;
382+ padding: 0 1rem;
296383 }
297384
298385 .hero-content {
299- text-align: left;
386+ text-align: center;
387+ margin-top: 0;
388+ }
389+
390+ .hero-title {
391+ font-size: clamp(2.5rem, 10vw, 4rem);
392+ }
393+
394+ .hero-tagline {
395+ font-size: 1.25rem;
396+ }
397+
398+ .hero-description {
399+ font-size: 1rem;
400+ max-width: 100%;
300401 }
301402
302403 .hero-cta {
303404 flex-direction: column;
304- align-items: flex-start;
405+ align-items: center;
406+ width: 100%;
407+ }
408+
409+ .btn-large {
410+ width: 100%;
411+ max-width: 280px;
412+ justify-content: center;
413+ }
414+
415+ .recognition-tagline {
416+ font-size: 0.85rem;
417+ }
418+
419+ .clickhouse-logo {
420+ width: 16px;
421+ height: 16px;
422+ }
423+
424+ .credentials-badge {
425+ font-size: 0.75rem;
426+ text-align: center;
427+ padding: 0.4rem 0.8rem;
428+ }
429+
430+ .clickhouse-badge {
431+ font-size: 0.75rem;
432+ padding: 0.4rem 0.8rem;
433+ }
434+
435+ .clickhouse-small-logo {
436+ width: 14px;
437+ height: 14px;
438+ }
439+ }
440+
441+ /* Small mobile styles */
442+ @media (max-width: 480px) {
443+ .hero {
444+ padding: 3rem 0.5rem 1.5rem;
445+ }
446+
447+ .hero-wrapper {
448+ gap: 1.5rem;
449+ padding: 0 0.5rem;
450+ }
451+
452+ .hero-title {
453+ font-size: clamp(2rem, 12vw, 3rem);
454+ }
455+
456+ .hero-tagline {
457+ font-size: 1.1rem;
458+ }
459+
460+ .hero-description {
461+ font-size: 0.9rem;
305462 }
306463 }
307464</style >
0 commit comments