Skip to content

Commit 96f2a80

Browse files
authored
Merge pull request #9 from gogglesgogs:portfolio-done
Portfolio: Complete!
2 parents 4f05c39 + 50bb950 commit 96f2a80

21 files changed

+5280
-1178
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Goggles
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

content.config.ts

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
import type Content from './types/content.config';
22

3-
//! this file is used for the content of the website
4-
export default {
3+
//* this file is used for the content of the website
4+
const Content: Content = {
55
name: 'goggles.gogs',
6+
hover_name: 'nguyen khoa',
67
addr: 'hung yen, vietnam',
78
job: 'high school student @ Greenfield School',
89
bio: "i'm a 16 y/o teenager whos good at problem solving and interested in computer science. currently learning web development to pursue my career.",
9-
github: 'https://github.com/gogglesgogs',
10-
email: 'ngkhoa0075@gmail.com',
11-
//todo add logic to implement discord id links
12-
discord: '799597159661699112',
13-
kofi: 'https://ko-fi.com/gogglesgogs',
10+
links: {
11+
email: 'mailto:ngkhoa0075@gmail.com',
12+
discord: 'https://discordapp.com/users/799597159661699112',
13+
'support me': 'https://ko-fi.com/gogglesgogs',
14+
github: 'https://github.com/gogglesgogs',
15+
},
1416
skills: [
1517
{
1618
mainHeading: 'react',
@@ -55,10 +57,38 @@ export default {
5557
link: 'https://github.com/gogglesinc',
5658
},
5759
],
60+
blogs: {
61+
'quik-vs-solid': {
62+
title: 'Quik vs SolidJS: Which one is better?',
63+
date: '10 Jul, 2024',
64+
author: 'Goggles',
65+
desc: "Quik's fast-loading, minimal-JS approach and SolidJS's high-performance, reactive design. Who's gonna win?",
66+
},
67+
claude: {
68+
title: 'The new Claude 3.5 Sonnet is here!',
69+
date: '25 Jun, 2024',
70+
author: 'Goggles',
71+
desc: 'Discover Claude 3.5, an AI thats packed with new features and capabilities.',
72+
},
73+
'tech-trend-2024': {
74+
title: 'The Hottest Tech Trends Right Now! 🔥',
75+
date: '20 Mar, 2024',
76+
author: 'Goggles',
77+
desc: 'The current tech landscape with the rapid rise of AI, Web3, serverless architectures, and cybersecurity.',
78+
},
79+
'finished-portfolio': {
80+
title: "I Finished My Portfolio! 🚀 Here's What I Used",
81+
date: '10 Sep, 2023',
82+
author: 'Goggles',
83+
desc: 'My journey of creating my portfolio website and what I used in the process.',
84+
},
85+
},
5886
footer: {
5987
quote:
6088
'"Any application that can be written in JavaScript, will eventually be written in JavaScript."',
6189
author: 'Jeff Atwood',
6290
title: 'co-founder of Stack Overflow',
6391
},
64-
} satisfies Content;
92+
};
93+
94+
export default Content;

eslint.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,19 @@ import globals from 'globals';
33
import reactHooks from 'eslint-plugin-react-hooks';
44
import reactRefresh from 'eslint-plugin-react-refresh';
55
import tseslint from 'typescript-eslint';
6+
import * as mdx from 'eslint-plugin-mdx';
67

78
export default tseslint.config(
89
{ ignores: ['dist'] },
910
{
11+
...mdx.flat,
12+
...mdx.flatCodeBlocks,
1013
settings: { react: { version: '18.3' } },
11-
1214
extends: [
1315
tseslint.configs.recommendedTypeChecked,
1416
...tseslint.configs.stylisticTypeChecked,
1517
],
16-
files: ['**/*.{ts,tsx}'],
18+
files: ['**/*.{ts,tsx, mdx, md}'],
1719
languageOptions: {
1820
ecmaVersion: 2020,
1921
globals: globals.browser,
@@ -28,6 +30,7 @@ export default tseslint.config(
2830
react,
2931
},
3032
rules: {
33+
...mdx.flatCodeBlocks.rules,
3134
...react.configs.recommended.rules,
3235
...react.configs['jsx-runtime'].rules,
3336
...reactHooks.configs.recommended.rules,

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
2-
"name": "test",
2+
"name": "goggles-portfolio",
33
"private": true,
44
"version": "0.0.0",
5+
"description": "goggles portfolio source code",
6+
"license": "MIT",
7+
"author": {
8+
"name": "Goggles",
9+
"url": "https://goggles.pages.dev/"
10+
},
511
"type": "module",
612
"scripts": {
713
"dev": "vite",
@@ -15,16 +21,20 @@
1521
"react": "^18.3.1",
1622
"react-dom": "^18.3.1",
1723
"react-router-dom": "^6.27.0",
24+
"remark-gfm": "^4.0.0",
1825
"tailwind-merge": "^2.5.4"
1926
},
2027
"devDependencies": {
2128
"@eslint/js": "^9.13.0",
29+
"@mdx-js/rollup": "^3.1.0",
2230
"@tailwindcss/typography": "^0.5.15",
31+
"@types/mdx": "^2.0.13",
2332
"@types/react": "^18.3.11",
2433
"@types/react-dom": "^18.3.1",
2534
"@vitejs/plugin-react": "^4.3.3",
2635
"autoprefixer": "^10.4.20",
2736
"eslint": "^9.13.0",
37+
"eslint-plugin-mdx": "^3.1.5",
2838
"eslint-plugin-react": "^7.37.2",
2939
"eslint-plugin-react-hooks": "^5.0.0",
3040
"eslint-plugin-react-refresh": "^0.4.13",

0 commit comments

Comments
 (0)