Skip to content

Commit 5b1b009

Browse files
committed
Rename banners
1 parent 8846c43 commit 5b1b009

File tree

10 files changed

+87
-153
lines changed

10 files changed

+87
-153
lines changed
File renamed without changes.
File renamed without changes.

resources/css/advertising.css

Lines changed: 0 additions & 34 deletions
This file was deleted.

resources/css/alerts.css

Lines changed: 0 additions & 11 deletions
This file was deleted.

resources/css/app.css

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,82 @@
44

55
@import 'tailwindcss/utilities';
66

7-
@import './custom.css';
7+
@import 'articles.css';
8+
@import 'buttons.css';
9+
@import 'forms.css';
10+
@import 'labels.css';
11+
@import 'legals.css';
12+
@import 'modal.css';
13+
@import 'pagination.css';
14+
@import 'replies.css';
15+
@import 'tables.css';
16+
@import 'tags.css';
17+
@import 'threads.css';
18+
19+
pre .hljs {
20+
@apply text-sm rounded p-4 border-2;
21+
}
22+
23+
.forum-content code {
24+
background: #f8f8f8;
25+
color: #333;
26+
}
27+
28+
svg .primary {
29+
@apply text-gray-800 fill-current;
30+
}
31+
32+
svg .secondary {
33+
@apply text-green-primary fill-current;
34+
}
35+
36+
[x-cloak] {
37+
display: none;
38+
}
39+
40+
nav.dashboard-nav a.active {
41+
@apply border-green-primary text-green-primary;
42+
}
43+
44+
.nav a {
45+
@apply border-transparent text-gray-500;
46+
}
47+
48+
.nav a:hover {
49+
@apply text-gray-700 border-green-primary;
50+
}
51+
52+
.nav a.active {
53+
@apply border-green-primary text-gray-900;
54+
}
55+
56+
.nav a.active:focus {
57+
@apply border-green-dark;
58+
}
59+
60+
.nav .dropdown a {
61+
@apply block px-4 py-2 text-sm leading-5 text-gray-700 transition duration-150 ease-in-out;
62+
}
63+
64+
.nav .dropdown a:hover {
65+
@apply bg-gray-100;
66+
}
67+
68+
.nav .dropdown a:focus {
69+
@apply outline-none bg-gray-100;
70+
}
71+
72+
a > span > em {
73+
@apply bg-green-light;
74+
}
75+
76+
.search {
77+
@apply w-full;
78+
}
79+
80+
@screen lg {
81+
.search {
82+
width: 720px;
83+
}
84+
}
85+

resources/css/custom.css

Lines changed: 0 additions & 81 deletions
This file was deleted.

resources/css/footer.css

Lines changed: 0 additions & 18 deletions
This file was deleted.

resources/views/layouts/_ads/_footer.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
rel="noopener noreferrer"
55
>
66
{{-- Show the banner on bigger displays. --}}
7-
<img class="hidden md:block my-4 mx-auto w-full" style="max-width:1200px" src="{{ asset('/images/ads/devsquad-long.jpg') }}" alt="Devsquad">
7+
<img class="hidden md:block my-4 mx-auto w-full" style="max-width:1200px" src="{{ asset('/images/showcase/devsquad-long.jpg') }}" alt="Devsquad">
88
{{-- Show the square on mobile. --}}
9-
<img class="md:hidden my-4 mx-auto w-full" style="max-width:300px" src="{{ asset('/images/ads/devsquad-small.jpg') }}" alt="Devsquad">
9+
<img class="md:hidden my-4 mx-auto w-full" style="max-width:300px" src="{{ asset('/images/showcase/devsquad-small.jpg') }}" alt="Devsquad">
1010
</a>
1111

1212
@include('layouts._ads._cta', ['text' => 'Your banner here too?'])

resources/views/layouts/_ads/_forum_sidebar.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
target="_blank"
44
rel="noopener noreferrer"
55
>
6-
<img class="my-4 mx-auto w-full" style="max-width:300px" src="{{ asset('/images/ads/devsquad-small.jpg') }}" alt="Devsquad">
6+
<img class="my-4 mx-auto w-full" style="max-width:300px" src="{{ asset('/images/showcase/devsquad-small.jpg') }}" alt="Devsquad">
77
</a>
88

99
@include('layouts._ads._cta', ['text' => 'Your banner here too?'])
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@if (session()->has('error'))
2-
<div class="alert alert-danger" x-data="{}">
2+
<div class="w-full text-white bg-green-primary p-4 bg-red-primary" x-data="{}">
33
<div class="flex items-center justify-between container mx-auto px-4">
44
{!! session()->pull('error') !!}
55
<button
66
type="button"
7-
class="close"
7+
class="text-xl"
88
data-dismiss="alert"
99
aria-hidden="true"
1010
@click="$el.remove()"
@@ -16,12 +16,12 @@ class="close"
1616
@endif
1717

1818
@if (session()->has('success'))
19-
<div class="alert alert-primary" x-data="{}">
19+
<div class="w-full text-white bg-green-primary p-4" x-data="{}">
2020
<div class="flex items-center justify-between container mx-auto px-4">
2121
{!! session()->pull('success') !!}
2222
<button
2323
type="button"
24-
class="close"
24+
class="text-xl"
2525
data-dismiss="alert"
2626
aria-hidden="true"
2727
@click="$el.remove()"
@@ -30,4 +30,4 @@ class="close"
3030
</button>
3131
</div>
3232
</div>
33-
@endif
33+
@endif

0 commit comments

Comments
 (0)