m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-13 15:43:49 -05:00

Fix broken styles

This commit is contained in:
Sergio
2025-02-21 19:33:30 +02:00
parent 4d691dd5fa
commit bcb9f63735
4 changed files with 23 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import "./styles.css"; import "./styles.css"
import CopyableCode from "../CopyableCode"; import CopyableCode from "../CopyableCode";
import { Browser } from "../Browser"; import { Browser } from "../Browser";

View File

@@ -1,13 +1,3 @@
/* Override nextra styles restricting width */
:root {
--nextra-content-width: unset !important;
}
header.nextra-navbar {
--nextra-content-width: 90rem;
}
article { article {
padding-inline: 0 !important; padding-inline: 0 !important;
padding-top: 0 !important; padding-top: 0 !important;

View File

@@ -1,8 +0,0 @@
---
title: Cup - The easiest way to manage your container updates
description: Simple, fast, efficient Docker image update checking
---
import Home from "@/app/components/pages/home";
<Home />

22
docs/src/app/page.tsx Normal file
View File

@@ -0,0 +1,22 @@
import { useMDXComponents } from "@/mdx-components";
import { Heading, NextraMetadata } from "nextra";
import Home from "./components/pages/home";
const Wrapper = useMDXComponents({}).wrapper;
const toc: Heading[] = [];
export const metadata: NextraMetadata = {
title: "Cup - The easiest way to manage your container updates",
description: "Simple, fast, efficient Docker image update checking",
filePath: "",
};
export default function Page() {
return (
// @ts-ignore
<Wrapper toc={toc} metadata={metadata} className={"x:mx-auto x:flex"}>
<Home />
</Wrapper>
);
}