diff --git a/plugins/artists/plugin.php b/plugins/artists/plugin.php
index 0db69e8..a867f04 100644
--- a/plugins/artists/plugin.php
+++ b/plugins/artists/plugin.php
@@ -53,7 +53,10 @@ Shortcodes::register('new-artists', static function (array $attrs = []): string
. '';
}
- return '';
+ return ''
+ . 'New Artists
'
+ . '' . $cards . '
'
+ . '';
});
return function (Router $router): void {
diff --git a/plugins/releases/plugin.php b/plugins/releases/plugin.php
index 1c4a57a..eb3c43b 100644
--- a/plugins/releases/plugin.php
+++ b/plugins/releases/plugin.php
@@ -75,7 +75,10 @@ Shortcodes::register('releases', static function (array $attrs = []): string {
. '';
}
- return '';
+ return ''
+ . 'Latest Releases
'
+ . '' . $cards . '
'
+ . '';
});
Shortcodes::register('latest-releases', static function (array $attrs = []): string {
diff --git a/views/site/layout.php b/views/site/layout.php
index b5722eb..e12f8c2 100644
--- a/views/site/layout.php
+++ b/views/site/layout.php
@@ -283,6 +283,29 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
color: var(--muted);
font-size: 13px;
}
+ .ac-shortcode-releases,
+ .ac-shortcode-artists,
+ .ac-shortcode-sale-chart,
+ .ac-shortcode-newsletter-form {
+ border: 1px solid rgba(255,255,255,0.12);
+ background: rgba(255,255,255,0.02);
+ border-radius: 14px;
+ padding: 12px;
+ }
+ .ac-shortcode-block-head {
+ font-family: 'IBM Plex Mono', monospace;
+ text-transform: uppercase;
+ font-size: 10px;
+ letter-spacing: 0.22em;
+ color: rgba(255,255,255,0.58);
+ margin: 2px 0 10px;
+ }
+ .page-content {
+ display: grid;
+ grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
+ gap: 16px;
+ align-items: start;
+ }
.page-content > .ac-shortcode-hero,
.page-content > .ac-shortcode-releases,
.page-content > .ac-shortcode-artists,
@@ -292,6 +315,20 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
margin: 0 0 16px;
line-height: normal;
}
+ .page-content > .ac-shortcode-hero {
+ grid-column: 1 / -1;
+ }
+ .page-content > .ac-shortcode-releases {
+ grid-column: 1;
+ }
+ .page-content > .ac-shortcode-artists {
+ grid-column: 2;
+ }
+ .page-content > .ac-shortcode-sale-chart,
+ .page-content > .ac-shortcode-newsletter-form,
+ .page-content > .ac-shortcode-empty {
+ grid-column: 1 / -1;
+ }
.page-content > .ac-shortcode-hero:last-child,
.page-content > .ac-shortcode-releases:last-child,
.page-content > .ac-shortcode-artists:last-child,
@@ -302,7 +339,7 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
}
.ac-shortcode-release-grid {
display: grid;
- grid-template-columns: repeat(auto-fill, minmax(190px, 240px));
+ grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
justify-content: start;
gap: 12px;
}
@@ -623,6 +660,16 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
.ac-shortcode-newsletter-row {
grid-template-columns: 1fr;
}
+ .page-content {
+ grid-template-columns: 1fr;
+ }
+ .page-content > .ac-shortcode-releases,
+ .page-content > .ac-shortcode-artists,
+ .page-content > .ac-shortcode-sale-chart,
+ .page-content > .ac-shortcode-newsletter-form,
+ .page-content > .ac-shortcode-empty {
+ grid-column: 1;
+ }
}