Skip to content

Commit ba8ca6c

Browse files
author
Palash Patel
committed
merge conflict changes
2 parents 1a072bb + 85e31b0 commit ba8ca6c

14 files changed

+14087
-198
lines changed

LICENSE

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
MIT License
1+
# LICENSE
2+
3+
## cs-2340-team-website
24

35
Copyright (c) 2025 Aryamann Sheoran, James Kerrane, Michael Wittland Jr.,
46
Palash Patel, Shane Hanley
@@ -21,8 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2123
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2224
SOFTWARE.
2325

24-
[twbs/examples](https://github.com/twbs/examples/)
25-
26+
## [Bootstrap Examples](https://github.com/twbs/examples/)
2627
MIT License
2728

2829
Copyright (c) 2022 Bootstrap
@@ -44,3 +45,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4445
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4546
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4647
SOFTWARE.
48+
49+
## Dots world map
50+
[Dots world map](https://www.deviantart.com/snowfleikun/art/Dots-world-map-179891314)
51+
by [sNowFleikuN](https://www.deviantart.com/snowfleikun) is licensed under
52+
[CC BY 3.0](https://creativecommons.org/licenses/by/3.0/).

mdx-components.tsx

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { MDXComponents } from 'mdx/types'
2+
3+
export function useMDXComponents(components: MDXComponents): MDXComponents {
4+
return {
5+
...components,
6+
}
7+
}

next.config.js

+25-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1+
import createMDX from '@next/mdx'
2+
13
/** @type {import('next').NextConfig} */
24
const nextConfig = {
5+
// Configure `pageExtensions` to include markdown and MDX files
6+
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],
7+
38
// Allow for static publishing on GitHub Pages at subdomain https://thatrobotdev.github.io/cs-2340-team-website/
49
basePath: "/cs-2340-team-website",
10+
511
/**
612
* Enable static export to allow for HTML/CSS/JS static assets hosting on GitHub Pages
713
* @see https://nextjs.org/docs/pages/building-your-application/deploying/static-exports
814
*/
915
output: "export",
16+
1017
/**
1118
* Disable server-based image optimization. Next.js does not support
1219
* dynamic features with static exports.
@@ -16,7 +23,24 @@ const nextConfig = {
1623
images: {
1724
unoptimized: true,
1825
},
26+
1927
reactStrictMode: true,
28+
29+
webpack(config, { isServer }) {
30+
// Allow importing of `.txt` files using raw-loader
31+
config.module.rules.push({
32+
test: /LICENSE$/, // Specify the file type to match
33+
use: 'raw-loader', // Use raw-loader to load the file
34+
});
35+
36+
// Return the modified config
37+
return config;
38+
},
2039
}
2140

22-
module.exports = nextConfig
41+
const withMDX = createMDX({
42+
// Add markdown plugins here if needed
43+
})
44+
45+
// Merge MDX config with Next.js config and export
46+
export default withMDX(nextConfig)

0 commit comments

Comments
 (0)