goals.html 3.5 KB
Newer Older
1
2
3
{{ $data := index .Site.Data .Site.Language.Lang }}

{{ if $data.goals.enable }}
4
<section class="section section-bg about-2" id="goals">
5
6
7
8
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                    <div class="title text-center wow fadeIn" data-wow-duration="1500ms">
9
                        <h2>{{ $data.goals2.heading}} <span class="color">{{ $data.goals2.headingSpan}}</span> </h2>
10
11
12
13
                        <div class="border-meghna"></div>
                    </div>
                </div>
            <div class="col-lg-6 padding-0 ">
14
                <img class="img-fluid" src="{{ $data.goals.image | absURL}}" alt="image">
15
16
            </div>
            <div class="col-lg-6">
hotwater's avatar
hotwater committed
17
18
                <div class="content-block pt-lg-0">
                    {{with $data.goals.title}} <h2 class="text-center text-lg-left">{{ . }}</h2> {{ end }}
19
20
                    {{with $data.goals.description}} <p>{{ . }}</p> {{ end }}
                    {{with $data.goals.description2}} <p>{{ . }}</p> {{ end }}
21
                    <div class="row">
22
                        {{ range $data.goals.aboutItem }}
23
                        <div class="col-lg-6">
danterolle's avatar
danterolle committed
24
                            <div class="media d-block">
25
26
27
28
                                <div class="align-self-start mr-3">
                                    {{with .icon}} <i class="{{ . }}"></i> {{ end }}
                                </div>
                                <div class="media-body">
29
                                    {{with .title}} <h4 class="media-heading" style="border-bottom: 2px solid #57cbcc; width: 70%; padding-bottom: 5px;">{{ . }}</h4>{{ end }}
30
31
32
33
34
35
36
37
38
39
40
41
42
43
                                    {{ with .content}} <p>{{ . }}</p> {{ end }}
                                </div>
                            </div>
                        </div>
                        {{ end }}
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
{{ end }}


44
{{ if $data.goals2.enable}}
45
46
47
48
<section class="bg-one about section" id="goals2">
    <div class="container">
        <div class="row">

hotwater's avatar
hotwater committed
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
            {{ range first 3 $data.goals2.aboutItem }}
            <div class="col-lg-4 text-center wow fadeInUp mb-5" data-wow-duration="500ms">
                <div class="block h-100">
                    <div class="icon-box">
                        {{with .icon}}<img width="100" style="margin-top: -30px" src="{{ . }}" />{{ end }}
                    </div>
                    <div class="content text-center">
                        {{ with .title }}<h3 class="ddd">{{ . }}</h3>{{ end }}
                        {{ with .content}}  <p>{{ . | markdownify }}</p>{{ end }}
                    </div>
                </div>
            </div>
            {{ end }}
        </div>
        <div class="row">

            {{ range after 3 $data.goals2.aboutItem }}
            <div class="col-lg-4 text-center wow fadeInUp mb-5" data-wow-duration="500ms">
                <div class="block h-100">
68
                    <div class="icon-box">
69
                        {{with .icon}}<img width="100" style="margin-top: -30px" src="{{ . }}" />{{ end }}
70
71
72
73
74
75
76
77
78
79
80
                    </div>
                    <div class="content text-center">
                        {{ with .title }}<h3 class="ddd">{{ . }}</h3>{{ end }}
                        {{ with .content}}  <p>{{ . | markdownify }}</p>{{ end }}
                    </div>
                </div>
            </div>
            {{ end }}
        </div>
    </div>
</section>
81
{{ end }}