Skip to content

Commit 8e44992

Browse files
authored
Merge pull request #153 from akeneo/product-model-on-home
Add link to product models on homepage and correct entities links layout
2 parents cc26eab + bb31bd0 commit 8e44992

File tree

2 files changed

+18
-23
lines changed

2 files changed

+18
-23
lines changed

src/index.handlebars

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -128,55 +128,53 @@
128128
<div class="col-xs-12 col-lg-offset-2 col-lg-8">
129129
<h3 class="text-center">Community & Enterprise Editions</h3>
130130
<div class="row">
131-
<div class="col-xs-12">
132-
<a href="/api-reference-index.html#Products" class="link-resource center-block">
133-
<img class="center-block" width="200px" src="img/illustrations/illus--Products.svg"></img>
131+
<div class="col-xs-12 access-resources">
132+
<a href="/api-reference-index.html#Products" class="link-resource">
133+
<img class="img-responsive center-block" src="img/illustrations/illus--Products.svg"></img>
134134
<p class="text-center">Product</p>
135135
</a>
136-
</div>
137-
<div class="col-xs-12 access-resources">
136+
<a href="/api-reference-index.html#Productmodels" class="link-resource">
137+
<img class="img-responsive center-block" src="img/illustrations/illus--Productmodels.svg"></img>
138+
<p class="text-center">Product model</p>
139+
</a>
138140
<a href="/api-reference-index.html#Categories" class="link-resource">
139-
<img class="img-responsive" src="img/illustrations/illus--Categories.svg"></img>
141+
<img class="img-responsive center-block" src="img/illustrations/illus--Categories.svg"></img>
140142
<p class="text-center">Category</p>
141143
</a>
142144
<a href="/api-reference-index.html#Families" class="link-resource">
143-
<img class="img-responsive" src="img/illustrations/illus--Families.svg"></img>
145+
<img class="img-responsive center-block" src="img/illustrations/illus--Families.svg"></img>
144146
<p class="text-center">Family</p>
145147
</a>
146148
<a href="/api-reference-index.html#Attributes" class="link-resource">
147-
<img class="img-responsive" src="img/illustrations/illus--Attributes.svg"></img>
149+
<img class="img-responsive center-block" src="img/illustrations/illus--Attributes.svg"></img>
148150
<p class="text-center">Attribute</p>
149151
</a>
150152
<a href="/api-reference-index.html#Attributegroups" class="link-resource">
151-
<img class="img-responsive" src="img/illustrations/illus--Attributegroups.svg"></img>
153+
<img class="img-responsive center-block" src="img/illustrations/illus--Attributegroups.svg"></img>
152154
<p class="text-center">Attribute group</p>
153155
</a>
154156
<a href="/api-reference-index.html#Associationtypes" class="link-resource">
155-
<img class="img-responsive" src="img/illustrations/illus--Associationtypes.svg"></img>
157+
<img class="img-responsive center-block" src="img/illustrations/illus--Associationtypes.svg"></img>
156158
<p class="text-center">Association type</p>
157159
</a>
158-
</div>
159-
</div>
160-
<div class="row">
161-
<div class="col-xs-12 access-resources">
162160
<a href="/api-reference-index.html#Channels" class="link-resource">
163-
<img class="img-responsive" src="img/illustrations/illus--Channels.svg"></img>
161+
<img class="img-responsive center-block" src="img/illustrations/illus--Channels.svg"></img>
164162
<p class="text-center">Channel</p>
165163
</a>
166164
<a href="/api-reference-index.html#Locales" class="link-resource">
167-
<img class="img-responsive" src="img/illustrations/illus--Locales.svg"></img>
165+
<img class="img-responsive center-block" src="img/illustrations/illus--Locales.svg"></img>
168166
<p class="text-center">Locale</p>
169167
</a>
170168
<a href="/api-reference-index.html#Mediafiles" class="link-resource">
171-
<img class="img-responsive" src="img/illustrations/illus--Mediafiles.svg"></img>
169+
<img class="img-responsive center-block" src="img/illustrations/illus--Mediafiles.svg"></img>
172170
<p class="text-center">Media file</p>
173171
</a>
174172
<a href="/api-reference-index.html#Currencies" class="link-resource">
175-
<img class="img-responsive" src="img/illustrations/illus--Currencies.svg"></img>
173+
<img class="img-responsive center-block" src="img/illustrations/illus--Currencies.svg"></img>
176174
<p class="text-center">Currency</p>
177175
</a>
178176
<a href="/api-reference-index.html#Measurefamilies" class="link-resource">
179-
<img class="img-responsive" src="img/illustrations/illus--Measurefamilies.svg"></img>
177+
<img class="img-responsive center-block" src="img/illustrations/illus--Measurefamilies.svg"></img>
180178
<p class="text-center">Measure family</p>
181179
</a>
182180
</div>

styles/landing-page.less

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
display: flex;
33
flex-wrap: wrap;
44
a {
5-
@media (max-width: @screen-md-max) {
6-
min-width: 100px;
7-
max-width: 120px;
8-
}
5+
min-width: 120px;
96
margin: 0 @spacing-base/3;
107
flex: 1;
118
}

0 commit comments

Comments
 (0)