File size: 2,594 Bytes
4967f94
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
```php
<?php
/**
 * The header template
 *
 * @package SOGEEC
 * @since 1.0
 */
?><!DOCTYPE html>
<html lang="<?php language_attributes(); ?>">
<head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php wp_title('|', true, 'right'); ?></title>
    <link rel="icon" type="image/x-icon" href="<?php echo get_template_directory_uri(); ?>/favicon.ico">
    <?php wp_head(); ?>
    <style>
        .hero-section {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('http://static.photos/construction/1200x630/10');
            background-size: cover;
            background-position: center;
        }
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .nav-link:hover {
            color: #ecc94b;
        }
    </style>
</head>
<body <?php body_class('font-sans bg-gray-50'); ?>>
    <!-- Navigation -->
    <nav class="bg-primary text-white shadow-lg sticky top-0 z-50">
        <div class="container mx-auto px-6 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-4">
                <img src="http://static.photos/industry/200x200/5" alt="Logo" class="h-12 w-12 rounded-full">
                <span class="font-bold text-xl">SOGEEC SARL</span>
            </div>
            <div class="hidden md:flex items-center space-x-8">
                <a href="<?php echo home_url('/'); ?>" class="nav-link font-medium">Accueil</a>
                <a href="<?php echo home_url('/#services'); ?>" class="nav-link font-medium">Services</a>
                <a href="<?php echo home_url('/#projects'); ?>" class="nav-link font-medium">Projets</a>
                <a href="<?php echo home_url('/#about'); ?>" class="nav-link font-medium">À Propos</a>
                <a href="<?php echo get_permalink(get_option('page_for_posts')); ?>" class="nav-link font-medium">Blog</a>
                <a href="<?php echo home_url('/contact'); ?>" class="nav-link font-medium">Contact</a>
                <div class="flex space-x-2">
                    <span class="text-sm">FR</span>
                    <span class="text-sm text-gray-300">|</span>
                    <span class="text-sm">EN</span>
                </div>
            </div>
            <button class="md:hidden focus:outline-none">
                <i data-feather="menu" class="text-white"></i>
            </button>
        </div>
    </nav>
```