8000 Rework footer · laravelio/laravel.io@2104eb3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2104eb3

Browse files
committed
Rework footer
1 parent 46d27a8 commit 2104eb3

File tree

5 files changed

+44
-16
lines changed

5 files changed

+44
-16
lines changed

app/views/layouts/_footer.blade.php

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
<footer>
2-
Proudly hosted by: <a class="fortrabbit home" href="http://fortrabbit.com"><em>•</em> fortrabbit</a>
3-
&amp; supported by
4-
<a class="cartalyst home" href="https://cartalyst.com/?utm_source=laravelio&amp;utm_medium=banner&amp;utm_campaign=laravelio">
5-
<img src="{{ asset('images/cartalyst.png') }}" alt="Cartalyst" height="20" />
6-
</a>
2+
<div class="container">
3+
<div class="row">
4+
<div class="span4">
5+
<p>Proudly hosted by</p>
6+
<a class="fortrabbit home" href="http://fortrabbit.com"><em>•</em> fortrabbit</a>
7+
</div>
8+
<div class="span4">
9+
<p>Supported by</p>
10+
<a class="cartalyst home" href="https://cartalyst.com/?utm_source=laravelio&amp;utm_medium=banner&amp;utm_campaign=laravelio">
11+
<img src="{{ asset('images/cartalyst.png') }}" alt="Cartalyst" height="30" />
12+
</a>
13+
</div>
14+
<div class="span4">
15+
<p>Customer Support by</p>
16+
<a href="https://besnappy.com/partner">
17+
<img src="//besnappy.com/images/badge_red.png" alt="Streamlined Customer Support" />
18+
</a>
19+
</div>
20+
<div class="clear"></div>
21+
</div>
22+
</div>
723
</footer>

app/views/layouts/_two_columns_left_sidebar.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section class="sidebar">
2-
@section('sidebar')
3-
@show
2+
@section('sidebar')
3+
@show
44
</section>
55

66
<section class="content">

app/views/layouts/default.blade.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@
4242
@include('layouts._footer')
4343

4444
@section('scripts')
45-
<script src="{{ asset('javascripts/vendor/jquery.min.js') }}"></script>
45+
<script src="{{ asset('javascripts/vendor/jquery.min.js') }}"></script>
4646
<script src="{{ asset('javascripts/forum.js') }}"></script>
4747
<script src="{{ asset('javascripts/vendor/garlic.js') }}"></script>
4848
<script src="{{ asset('javascripts/vendor/jquery.fs.naver.js') }}"></script>
4949
<script>
5050
$(".sidebar ul").naver({
5151
'maxWidth': '768px',
5252
labels: {
53-
closed: "Sections",
54-
open: "Close"
55-
},
53+
closed: "Sections",
54+
open: "Close"
55+
}
5656
});
5757
</script>
5858
@show

public/scss/modules/_footer.scss

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@
1212
footer {
1313
background: #cdcdcd;
1414
padding: 15px 15px 20px 15px;
15-
text-align: right;
1615
color: #333;
16+
font-size: 14px;
17+
font-weight: bold;
1718
margin: 25px 0 0 0;
19+
line-height: 18px;
1820

1921
.fortrabbit {
2022
font-family: Georgia, serif;
2123
font-weight: bold;
2224
font-style: italic;
2325
color: #333;
2426
text-transform: lowercase;
25-
font-size:21px;
27+
font-size: 30px;
2628
display: inline;
2729
}
2830
.fortrabbit:hover {
@@ -44,15 +46,18 @@ footer {
4446

4547
@media only screen and (min-width: 480px) {
4648

47-
.module {}
48-
4949
}
5050

5151

5252
// BREAKPOINT 2 (768) ////////////////////////////////////////////////////////////
5353

5454
@media only screen and (min-width: 768px) {
5555

56+
.span4 {
57+
float: left;
58+
text-align: center;
59+
width: 33.333333%;
60+
}
5661

5762
}
5863

@@ -61,7 +66,11 @@ footer {
6166

6267
@media only screen and (min-width: 1024px) {
6368

64-
.module {}
69+
.container{
70+
max-width: 1024px;
71+
margin: 0 auto;
72+
}
73+
6574
}
6675

6776

public/scss/modules/_global.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ body,html {
1313
.padding {
1414
padding: 15px;
1515
}
16+
.clear {
17+
clear: both;
18+
}
1619

1720

1821

0 commit comments

Comments
 (0)
0