I have a webpage that renders mdx as its content, on dev it works but when i build the website the style and half of the page dont get rendered. Is my code appropriate?
MDX FILE:
import Card from '../components/Card.astro';
import CardGroup from '../components/CardGroup.astro';
# Uses
This is the equipment I use for gaming, programming, everyday.
## PC
<CardGroup
data={[
{
title: 'MSI Optix G27C4',
description: '27" 170Hz Monitor',
href: 'https://a.co/d/9RVOkbS',
image: '/assets/pc/monitor-g27c4.png',
},
{
title: 'RTX 3060 Ti',
description: 'Graphics Card',
href: 'https://a.co/d/4jZ9uKM',
image: '/assets/pc/rtx-3060-ti.png',
},
{
title: 'i5 12400',
description: 'CPU',
href: 'https://a.co/d/0tuUfyo',
image: '/assets/pc/i5-12400.png',
},
{
title: 'Lenovo DDR4 16 GB',
description: 'RAM',
href: 'https://a.co/d/bzmfGsA',
image: '/assets/pc/lenovo-ram16gb.png',
},
]}
/>
## Coding
<CardGroup
data={[
{ title: 'Visual Studio Code', description: 'Code Editor & IDE', image: 'skill-icons:vscode-dark', has: 'icon' },
{ title: 'Github Pages', description: 'Hosting', image: 'simple-icons:githubpages', has: 'icon' },
]}
/>
## Software
<CardGroup
data={[
{
title: 'Arc',
description: 'Web browser',
image: 'arc',
has: 'icon',
},
{
title: 'Lunacy',
description: 'Design Tool',
image: 'simple-icons:lunacy',
has: 'icon',
}
/>
ASTRO FILE:
---
import Container from '../components/Container.astro';
import Layout from '../layouts/Layout.astro';
import { Content } from './uses.mdx';
import '@fontsource/poppins/600.css';
const title = 'Aryxst';
// 400+600
---
<Layout {title}>
<Container>
<div id='render'><Content /></div>
</Container>
</Layout>
The container element is just a prose with an header on top, for context.