Skip to content

Commit 7b67d8c

Browse files
committed
Expanded theme background options
Added new blank divs to allow for more complex parralax and other backgrounds
1 parent a095099 commit 7b67d8c

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

resources/views/littlelink.blade.php

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<link rel="stylesheet" href="themes/{{$info->theme}}/share.button.css">
6363
<link rel="stylesheet" href="themes/{{$info->theme}}/brands.css">
6464
<link rel="stylesheet" href="themes/{{$info->theme}}/skeleton-auto.css">
65-
@if(file_exists(asset('themes/' . $info->theme . '/animations.css')))
65+
@if(file_exists(base_path('themes/' . $info->theme . '/animations.css')))
6666
<link rel="stylesheet" href="<?php echo asset('themes/' . $info->theme . '/animations.css') ?>">
6767
@else
6868
<link rel="stylesheet" href="{{ asset('littlelink/css/animations.css') }}">
@@ -85,13 +85,26 @@
8585
</head>
8686
<body>
8787

88+
@if($info->theme != '' and $info->theme != 'default')
8889
<!-- Enables parallax background animations -->
90+
<div class="background-container">
8991
<section class="parallax-background">
90-
<div id="object1"></div>
91-
<div id="object2"></div>
92-
<div id="object3"></div>
92+
<div id="object1" class="object1"></div>
93+
<div id="object2" class="object2"></div>
94+
<div id="object3" class="object3"></div>
95+
<div id="object4" class="object4"></div>
96+
<div id="object5" class="object5"></div>
97+
<div id="object6" class="object6"></div>
98+
<div id="object7" class="object7"></div>
99+
<div id="object8" class="object8"></div>
100+
<div id="object9" class="object9"></div>
101+
<div id="object10" class="object10"></div>
102+
<div id="object11" class="object11"></div>
103+
<div id="object12" class="object12"></div>
93104
</section>
105+
</div>
94106
<!-- End of parallax background animations -->
107+
@endif
95108

96109
<?php ////begin share button//// ?>
97110
<?php

0 commit comments

Comments
 (0)