feature: Home Page & Footer Mobile Friendly
Deploy DeepDrftAPI / Build, Publish & Bundle (push) Successful in 1m56s
Deploy DeepDrftManager / Build & Publish (push) Successful in 1m3s
Deploy DeepDrftPublic / Build & Publish (push) Successful in 3m22s
Deploy DeepDrftAPI / Deploy (push) Successful in 1m33s
Deploy DeepDrftManager / Deploy (push) Successful in 1m27s
Deploy DeepDrftPublic / Deploy (push) Successful in 1m29s
Deploy DeepDrftAPI / Build, Publish & Bundle (push) Successful in 1m56s
Deploy DeepDrftManager / Build & Publish (push) Successful in 1m3s
Deploy DeepDrftPublic / Build & Publish (push) Successful in 3m22s
Deploy DeepDrftAPI / Deploy (push) Successful in 1m33s
Deploy DeepDrftManager / Deploy (push) Successful in 1m27s
Deploy DeepDrftPublic / Deploy (push) Successful in 1m29s
This commit is contained in:
@@ -21,10 +21,12 @@
|
||||
</MudContainer>
|
||||
</MudMainContent>
|
||||
<DeepDrftFooter />
|
||||
<AudioPlayerBar />
|
||||
<AudioPlayerBar OnMinimized="ToggleAudioPlayerMinimized" />
|
||||
|
||||
@* Spacer to prevent content overlap *@
|
||||
<div class="player-spacer"></div>
|
||||
@* Spacer to prevent content overlap. Height tracks the fixed player
|
||||
dock's live size via the --player-height var the player publishes
|
||||
(see AudioPlayerBar / Interop/layout/spacer.ts). *@
|
||||
<div class="player-spacer @_audioPlayerClass"></div>
|
||||
</AudioPlayerProvider>
|
||||
</MudLayout>
|
||||
</div>
|
||||
@@ -37,6 +39,7 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private string _audioPlayerClass = "minimized";
|
||||
private const string DarkModeKey = "darkMode";
|
||||
private bool _isDarkMode = false;
|
||||
private PersistingComponentStateSubscription _persistingSubscription;
|
||||
@@ -76,6 +79,12 @@
|
||||
{
|
||||
_persistingSubscription.Dispose();
|
||||
}
|
||||
|
||||
private void ToggleAudioPlayerMinimized(bool isMinimized)
|
||||
{
|
||||
_audioPlayerClass = isMinimized ? "minimized" : "expanded";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user