Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit a953c81

Browse files
committed
Add moonshine admin
1 parent 1582f31 commit a953c81

File tree

9 files changed

+98
-20
lines changed

9 files changed

+98
-20
lines changed

public/assets/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/app.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
21.3 KB
Loading
2.17 KB
Loading

public/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"/assets/app.js": "/assets/app.js?id=7f937023e867c60e5687dc01090d4368",
3-
"/assets/app.css": "/assets/app.css?id=540a70c7871690249a2f82465d785a3c"
3+
"/assets/app.css": "/assets/app.css?id=de36691709d562777d7fa62c89554049"
44
}

resources/css/kernel/_colors.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $color-disabled-filled-text: $color-extra-light-silver; // Text outside disab
6060
// Main color
6161
//
6262
$color-main: $color-red !default;
63-
$color-main-hover: lighten($color-red, 2%) !default;
63+
$color-main-hover: lighten($color-red, 8%) !default;
6464
$color-main-text: desaturate(darken($color-red, 10%), 20%) !default;
6565

6666
//

resources/css/layout/_home.scss

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
line-height: 32px;
6363

6464
.container {
65-
padding: 160px 0;
65+
padding: 120px 0;
6666
position: relative;
6767

6868
span {
@@ -98,11 +98,48 @@
9898
opacity: 0;
9999
}
100100
}
101+
102+
.button {
103+
margin-top: 30px;
104+
width: 140px;
105+
line-height: 40px;
106+
}
101107
}
102108

103-
&.orchid {
109+
&.idea,
110+
&.moonshine {
104111
background: $color-dark-white url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBoZWlnaHQ9JzEyMScgd2lkdGg9JzEyMScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNMSA2MGg2MGwtLjAyNC02MEg2MnY2MGg1OXYxSDYydjU5aC0xVjYxSDF6TTAgMGgxdjEyMUgwem0xIDEyMGgxMjB2MUgxeicgZmlsbD0nI0VGRjFGMycgZmlsbC1ydWxlPSdldmVub2RkJy8+PC9zdmc+) top center repeat fixed;
105112

113+
.container {
114+
display: flex;
115+
justify-content: flex-end;
116+
}
117+
}
118+
119+
&.orchid,
120+
&.sleeping-owl {
121+
background: #fff;
122+
}
123+
124+
&.moonshine {
125+
.moonshine-image {
126+
left: 10px;
127+
}
128+
129+
.moonshine-description {
130+
.moonshine-description-market {
131+
text-decoration: none;
132+
}
133+
}
134+
135+
@include media-breakpoint-down(lg) {
136+
.moonshine-image {
137+
left: -210px;
138+
}
139+
}
140+
}
141+
142+
&.orchid {
106143
.orchid-image {
107144
right: -250px;
108145
}
@@ -121,13 +158,6 @@
121158
}
122159

123160
&.idea {
124-
background: #fff;
125-
126-
.container {
127-
display: flex;
128-
justify-content: flex-end;
129-
}
130-
131161
.idea-image {
132162
left: 10px;
133163
}
@@ -146,8 +176,6 @@
146176
}
147177

148178
&.sleeping-owl {
149-
background: $color-dark-white;
150-
151179
.sleeping-owl-image {
152180
right: 10px;
153181
}

resources/css/ui/_button.scss

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ input[type=reset],
66
font-family: $font-family;
77
border: none;
88
outline: none;
9-
border-radius: 2px;
9+
border-radius: 3px;
1010
line-height: $ui-height;
1111
padding: 0 10px;
1212
display: block;
@@ -16,7 +16,7 @@ input[type=reset],
1616
text-transform: uppercase;
1717
text-align: center;
1818
font-weight: bold;
19-
box-shadow: 0 0 0 1px darken($color-main, 20%);
19+
box-shadow: 0 0 0 1px darken($color-main, 14%);
2020

2121
&:hover {
2222
text-decoration: none;
@@ -26,5 +26,22 @@ input[type=reset],
2626

2727
&:active {
2828
background: darken($color-main, 10%);
29+
box-shadow: 0 0 0 1px darken($color-main, 24%);
30+
}
31+
32+
&.button-outer {
33+
background: rgba(#fff, 0);
34+
color: darken($color-main, 14%);
35+
36+
&:hover {
37+
background: rgba($color-text, .02);
38+
color: darken($color-main, 20%);
39+
box-shadow: 0 0 0 2px $color-main;
40+
}
41+
42+
&:active {
43+
background: rgba(darken($color-main, 10%), .1);
44+
box-shadow: 0 0 0 1px darken($color-main, 24%);
45+
}
2946
}
3047
}

resources/views/page/home.blade.php

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,30 @@
1818
</div>
1919
</section>
2020

21+
<section class="section moonshine">
22+
<div class="container">
23+
<article class="moonshine-description section-description">
24+
<a href="https://moonshine.cutcode.dev" target="_blank" rel="nofollow"
25+
class="moonshine-description-github">
26+
<img src="/images/moonshine/website.png" alt="Moonshine Website" />
27+
</a>
28+
<h2>Moonshine Admin</h2>
29+
<span>
30+
Moonshine &mdash; самостоятельное производство напитка в
31+
нелегальных условиях под покровом ночи :) Так получилось, что
32+
админка и была разработана ночью в свободное время под луной ;)
33+
<br /><br />
34+
Все уже готово для использования в ваших проектах!
35+
</span>
36+
<a href="https://moonshine.cutcode.dev" target="_blank" rel="nofollow"
37+
class="button button-outer">Вперёд!</a>
38+
</article>
39+
40+
<img class="moonshine-image section-image"
41+
src="/images/moonshine/moonshine.png" alt="Moonshine Admin Panel" />
42+
</div>
43+
</section>
44+
2145
<section class="section orchid">
2246
<div class="container">
2347
<article class="orchid-description section-description">
@@ -32,9 +56,12 @@ class="orchid-description-github">
3256
бизнес-приложений, чтобы разработчикам было легко реализовывать
3357
красивые и элегантные интерфейсы без особых усилий.
3458
</span>
59+
<a href="https://orchid.software" target="_blank" rel="nofollow"
60+
class="button button-outer">Вот это да!</a>
3561
</article>
3662

37-
<img class="orchid-image section-image" src="/images/orchid/orchid.png?v2" alt="Orchid Admin Panel" />
63+
<img class="orchid-image section-image"
64+
src="/images/orchid/orchid.png?v2" alt="Orchid Admin Panel" />
3865
</div>
3966
</section>
4067

@@ -51,9 +78,12 @@ class="idea-description-market">
5178
Прекрасное автозаполнение магии Laravel, навигация по коду, генераторы кода, автокомплит
5279
валидаторов и роутов, и многое другое.
5380
</span>
81+
<a href="https://laravel-idea.com" target="_blank" rel="nofollow"
82+
class="button button-outer">Хочу себе!</a>
5483
</article>
5584

56-
<img class="idea-image section-image" src="/images/idea/idea.png" alt="Laravel IDEA Plugin" />
85+
<img class="idea-image section-image"
86+
src="/images/idea/idea.png" alt="Laravel IDEA Plugin" />
5787
</div>
5888
</section>
5989

@@ -70,9 +100,12 @@ class="sleeping-owl-description-github">
70100
пятилетнюю историю &mdash; эта система зарекомендовала себя как мощное решение для разработки
71101
интерфейса любого уровня.
72102
</span>
103+
<a href="https://github.com/laravelrus/sleepingowladmin/" target="_blank" rel="nofollow"
104+
class="button button-outer">То что надо!</a>
73105
</article>
74106

75-
<img class="sleeping-owl-image section-image" src="/images/sleeping-owl/sleeping-owl.png" alt="SleepingOwl Admin Panel" />
107+
<img class="sleeping-owl-image section-image"
108+
src="/images/sleeping-owl/sleeping-owl.png" alt="SleepingOwl Admin Panel" />
76109
</div>
77110
</section>
78111
@endsection

0 commit comments

Comments
 (0)