Skip to content

Commit

Permalink
Merge tag 'v0.3.1' into develop
Browse files Browse the repository at this point in the history
# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQQFGZ3a4WBtF++z3CH7zgFPfM5esAUCY7QEtwAKCRD7zgFPfM5e
# sNrYAP48ezPwNazts/AjugUamKFXRo0VRj3ReM7qO+jG/fdbDgD8C0nwJPrzrIND
# JkWSbbZe+NFnOCDolVsTcwf5OgPKnAA=
# =te60
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jan  3 18:34:31 2023 CST
# gpg:                using EDDSA key 05199DDAE1606D17EFB3DC21FBCE014F7CCE5EB0
# gpg: Good signature from "Frad LEE (Personal) <fradser@gmail.com>" [ultimate]
  • Loading branch information
FradSer committed Jan 3, 2023
2 parents 4c0de9b + 40c6753 commit 90331d9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 59 deletions.
41 changes: 0 additions & 41 deletions components/WebXR/XIGLogo.tsx

This file was deleted.

7 changes: 5 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/**
* @type {import('next').NextConfig}
*/

const withTM = require('next-transpile-modules')([
'@react-three/fiber',
'@react-three/xr',
Expand All @@ -10,5 +14,4 @@ const nextConfig = {
reactStrictMode: true,
};

module.exports = withTM();
module.exports = nextConfig;
module.exports = withTM(nextConfig);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frad-me",
"version": "0.3.0",
"version": "0.3.1",
"author": "Frad LEE <hey@frad.me> (http://frad.me)",
"private": false,
"homepage": "https://github.com/FradSer/frad-me",
Expand Down
1 change: 0 additions & 1 deletion pages/webxr.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const Html = dynamic(() => import('../components/WebXR/Html'), { ssr: false });

import Hero from '../components/Landing/Hero';
import Model from '../components/WebXR/Model';
import XIGLogo from '../components/WebXR/XIGLogo';

const WebXR = () => {
const deg2rad = (degrees: number) => degrees * (Math.PI / 180);
Expand Down
15 changes: 1 addition & 14 deletions utils/mdx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,6 @@ const getCompiledMDX = async (content: string) => {
esbuildOptions: (options) => {
options.minify = true;
options.target = ['es2020'];
options.define = {
'process.env.__NEXT_TRAILING_SLASH': JSON.stringify(
process.env.__NEXT_TRAILING_SLASH
),
'process.env.__NEXT_IMAGE_OPTS': JSON.stringify(
process.env.__NEXT_IMAGE_OPTS
),
'process.env.__NEXT_REACT_ROOT': JSON.stringify(
process.env.__NEXT_REACT_ROOT
),
'process.env.__NEXT_OPTIMIZE_FONTS': JSON.stringify(
process.env.__NEXT_OPTIMIZE_FONTS
),
};
return options;
},
cwd: POSTS_PATH,
Expand All @@ -80,6 +66,7 @@ export const getSinglePost = async (slug: string) => {
frontmatter,
};
};

export const getAllPosts = () => {
return fs
.readdirSync(POSTS_PATH)
Expand Down

0 comments on commit 90331d9

Please sign in to comment.