Modernize frontend and centralize branding

This commit is contained in:
wfalkowski committed 2026-10-18 20:35:12 +00:00
1 parent bc4542d0fb
commit 2d61d80550
55 files changed
+1901 -14446

No files matched your search

@@ -5,6 +5,7 @@ import { colors } from '../../theme/colors';
import { Dropdown } from '../../components/dashboardPrimitives';
import { API_BASE_URL, WS_BASE_URL as WS_URL } from '../../config/api';
import branding from '../../branding';
function PluginDetails() {
const { pluginId } = useParams();
@@ -34,7 +35,7 @@ function PluginDetails() {
`${API_BASE_URL}/api/modrinth/project/${pluginId}`,
{
headers: {
'User-Agent': 'AnchorHost.eu/1.0'
'User-Agent': `${branding.name}/1.0`
}
}
);
File renamed without changes.
@@ -5,6 +5,7 @@ import {
import { colors, Dropdown, SectionCard, minecraftVersions } from '../../components/DashboardComponents';
import { API_BASE_URL } from '../../config/api';
import branding from '../../branding';
// Embedded Plugin Store Component for Dashboard
const PluginStoreEmbedded = ({ serverId }) => {
@@ -34,7 +35,7 @@ const PluginStoreEmbedded = ({ serverId }) => {
`${API_BASE_URL}/api/modrinth/project/${pluginId}`,
{
headers: {
'User-Agent': 'AnchorHost.eu/1.0'
'User-Agent': `${branding.name}/1.0`
}
}
);
@@ -398,4 +399,4 @@ const PluginStoreEmbedded = ({ serverId }) => {
);
};
export default PluginStoreEmbedded;
export default PluginStoreEmbedded;