forked from kbogdanovs/SmartlingHelp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·157 lines (128 loc) · 5.87 KB
/
index.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
---
layout: default
title: Smartling Help
home: true
---
<!-- Home Page Content -->
<div class="search-main" data-spy="affix" data-offset-top="160">
<div class="search-bar-home">
<div class="container">
<div class="home-search-left">
<span class="search-icon"></span>
<input id="help-search" class="search-input" placeholder="Search Smartling Help...">
</div>
<div class="home-search-right">
<a><i class="fa fa-user"></i>Login</a>
<a href="http://status.smartling.com/"><i class="fa fa-info-circle"></i>Status</a>
<a><i class="fa fa-life-ring"></i>Support Request</a>
</div>
</div>
</div>
</div>
<div class="container page">
<div class="content-start-homepage">
<div class="home-section">
<div class="row">
<div class="col-md-2 col-sm-2 hidden-xs-down"></div>
{% for card in site.data.homepage-content.action-cards %}
<div class="col-md-2 col-sm-2 col-xs-6 action-cards">
<div>
<a href="{{card.link}}">
<i class="fa {{card.icon}}" aria-hidden="true"></i>
<br/>
<span class="card-text">{{card.title}}</span>
</a>
</div>
</div>
{% endfor %}
<div class="col-md-2 col-sm-2 hidden-xs-down"></div>
</div>
</div>
<div class="home-section whats-new-cards">
<!-- <h2>What's New?</h2> -->
<div class="row">
<div class="col-md-5">
<div class="card" id="blog">
<h3>Blog</h3>
<h4>Test Heading</h4>
<p>Lormem ipsum dolor sit amet, consectetur adipisicing sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</p>
<a href="/" class="read-more">Read more ></a>
</div>
</div>
<div class="col-md-3">
<div class="card" id="webinars">
<h3>Webinars</h3>
<p>Attend weekly trainings, Q&A sessions, and demos.</p>
<p><a href="/" class="button-yellow">Sign-up for training</a></p>
</div>
</div>
<div class="col-md-4">
<div class="card" id="newsletter">
<h3>Newsletter</h3>
<p>Get weekly updates straight to your inbox.</p>
<p><a href="/manage-subscriptions" class="button-red">Get the Newsletter</a></p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="card" id="new-features">
<h3>New Features</h3>
<h4>Test Heading</h4>
<p>Lormem ipsum dolor sit amet, consectetur adipisicing sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</p>
<a href="/" class="read-more">Read more ></a>
</div>
</div>
<div class="col-md-6">
<div class="card" id="best-practices">
<h3>Best Practices</h3>
<h4>Test Heading</h4>
<p>Lormem ipsum dolor sit amet, consectetur adipisicing sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</p>
<a href="/" class="read-more">Read more ></a>
</div>
</div>
</div>
</div>
<div class="home-section col-md-6">
<h2>Top Articles</h2>
<ul>
{% for topic in site.data.homepage-content.popular-topics %}
{% if topic.type == 'section' %}
{% for section in site.sections %}
{% if section.title == topic.title %}
{% assign current-topic = section %}
{% endif %}
{% endfor %}
{% endif %}
{% if topic.type == 'article' %}
{% for article in site.articles %}
{% if article.title == topic.title %}
{% assign current-topic = article %}
{% endif %}
{% endfor %}
{% endif %}
{% if topic.type == 'faq' %}
{% for faq in site.faqs %}
{% if faq.title == topic.title %}
{% assign current-topic = faq %}
{% endif %}
{% endfor %}
{% endif %}
<li><a href="{{current-topic.url}}">{{current-topic.title}}</a></li>
{% endfor %}
</ul>
</div>
<div class="home-section col-md-6">
<h2>Top FAQs</h2>
<ul>
{% for home-faq in site.data.homepage-content.home-faqs %}
{% for faq in site.faqs %}
{% if faq.title == home-faq.title %}
<li><a href="{{faq.url}}">{{faq.title}}</a></li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>
</div>
</div>
</div>