Skip to content

Commit

Permalink
Merge pull request #35 from CSSE6400/fitonia
Browse files Browse the repository at this point in the history
Fix light mode
  • Loading branch information
tristanduncombe authored May 3, 2024
2 parents d7d6888 + 67b6abe commit dcaba8c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 152 deletions.
19 changes: 4 additions & 15 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
import nextMDX from '@next/mdx'

import { recmaPlugins } from './src/mdx/recma.mjs'
import { rehypePlugins } from './src/mdx/rehype.mjs'
import { remarkPlugins } from './src/mdx/remark.mjs'
import withSearch from './src/mdx/search.mjs'

const withMDX = nextMDX({
options: {
remarkPlugins,
rehypePlugins,
recmaPlugins,
},
})

/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
images: {
unoptimized: true,
},
env:{
API_URL: process.env.NEXT_PUBLIC_API_URL
}
env: {
API_URL: process.env.NEXT_PUBLIC_API_URL,
},
}

export default withSearch(withMDX(nextConfig))
export default withSearch(nextConfig)
6 changes: 0 additions & 6 deletions frontend/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@

body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
}

@layer utilities {
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/mdx/recma.mjs

This file was deleted.

124 changes: 0 additions & 124 deletions frontend/src/mdx/rehype.mjs

This file was deleted.

4 changes: 0 additions & 4 deletions frontend/src/mdx/remark.mjs

This file was deleted.

0 comments on commit dcaba8c

Please sign in to comment.