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:
@@ -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";
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
22
docs/src/app/page.tsx
Normal 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>
|
||||||
|
);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user