diff --git a/backend/osudb.cs b/backend/osudb.cs index 7a453da..e88d7b7 100644 --- a/backend/osudb.cs +++ b/backend/osudb.cs @@ -1,12 +1,6 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Logging; using Microsoft.Win32; -using OsuParsers.Beatmaps; using OsuParsers.Database; -using OsuParsers.Database.Objects; using shitweb; -using System.Collections; -using System.Net; using System.Text.RegularExpressions; public class Osudb diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 7ef6981..f8fd572 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,20 +1,20 @@ - + + - - - + + + + + + + + + + + + + + + + + - diff --git a/frontend/src/assets/main.css b/frontend/src/assets/main.css index cc632d3..5331c76 100644 --- a/frontend/src/assets/main.css +++ b/frontend/src/assets/main.css @@ -1,12 +1,5 @@ @import './base.css'; -#app { - max-width: 1280px; - margin: 0 auto; - font-weight: normal; - background-color: rgba(--background-color); -} - a, .green { text-decoration: none; @@ -20,16 +13,3 @@ a, background-color: hsla(160, 100%, 37%, 0.2); } } - -@media (min-width: 1024px) { - body { - display: flex; - place-items: center; - } - - #app { - display: grid; - grid-template-columns: 1fr 1fr; - padding: 0 2rem; - } -} diff --git a/frontend/src/components/Footer.vue b/frontend/src/components/Footer.vue index ca4f131..008cd43 100644 --- a/frontend/src/components/Footer.vue +++ b/frontend/src/components/Footer.vue @@ -1,8 +1,17 @@ + + - + - + { + return window.innerWidth < 640; +}; + +export const isTablet = () => { + return window.innerWidth >= 640 && window.innerWidth < 1024; +}; + +export const isPc = () => { + return window.innerWidth >= 1024 && window.innerWidth <= 1980; +}; + +export const matchesBreakpoint = (min, max = Infinity) => { + return window.innerWidth >= min && window.innerWidth <= max; +}; diff --git a/frontend/src/views/FavouritView.vue b/frontend/src/views/FavouritView.vue index be8aea2..ae3e6f0 100644 --- a/frontend/src/views/FavouritView.vue +++ b/frontend/src/views/FavouritView.vue @@ -4,6 +4,6 @@ import SongItem from '../components/SongItem.vue' - + Coming Soon... diff --git a/frontend/src/views/MenuView.vue b/frontend/src/views/MenuView.vue index b5817e7..e37bd2f 100644 --- a/frontend/src/views/MenuView.vue +++ b/frontend/src/views/MenuView.vue @@ -13,7 +13,7 @@ const headerStore = useHeaderStore(); - + diff --git a/frontend/src/views/NowPlayingView.vue b/frontend/src/views/NowPlayingView.vue index 4ad9fc1..aff8c14 100644 --- a/frontend/src/views/NowPlayingView.vue +++ b/frontend/src/views/NowPlayingView.vue @@ -32,7 +32,7 @@ const audioStore = useAudioStore(); - + @@ -43,7 +43,7 @@ const audioStore = useAudioStore(); - + {{ audioStore.title }}
Coming Soon...
{{ audioStore.title }}