Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/sidebar #86

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
d7a13fc
chore: ํƒ€์ž…์Šคํฌ๋ฆฝํŠธ ์ข…์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜๊ณ  ๊ธฐ๋ณธ tsconfig.json์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Aug 25, 2023
90be748
chore: tsconfig.json ์„ธ๋ถ€ ์„ค์ •์„ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Aug 25, 2023
15d8cb7
chore: tsconfig.json์„ ํ”„๋กœ์ ํŠธ ๊ฐœ์ธ ์„ค์ •์„ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋ถ„๋ฆฌํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Aug 25, 2023
2add8c5
chore: eslint, prettier๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Aug 25, 2023
62a312f
rename: ์ •์  ์ž์›์„ ๋ฃจํŠธ ๋””๋ ‰ํ† ๋ฆฌ์˜ public์œผ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Aug 25, 2023
40a42a5
Merge branch 'pagers-org:main' into main
InSeong-So Aug 25, 2023
46f4c14
Chore: ํ”„๋กœ์ ํŠธ ๊ธฐ์ดˆ ํ™˜๊ฒฝ ์„ค์ •์„ ์™„๋ฃŒํ•ฉ๋‹ˆ๋‹ค. (#2)
InSeong-So Aug 31, 2023
a2a237b
Feat/solidjs router (#1)
InSeong-So Sep 2, 2023
dd249c2
Merge branch 'inseong-so' into main
InSeong-So Sep 2, 2023
a928dd4
chore: prettier order๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 2, 2023
3b800ff
feat: globalํ•˜๊ฒŒ ์‚ฌ์šฉํ•˜๋Š” utils๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 2, 2023
c856f50
style: cursor-pointer ํด๋ž˜์Šค๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 2, 2023
13962ae
feat: ๊ธ€๋กœ๋ฒŒ ํƒ€์ž… ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 2, 2023
ce0f9f9
feat: ํŽ˜์ด์ง€๋„ค์ด์…˜ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 2, 2023
dc12764
feat: ํŽ˜์ด์ง€๋„ค์ด์…˜ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 2, 2023
d24c844
rename: ํด๋” ์ปจ๋ฒค์…˜์„ ํŒŒ์Šค์นผ ์ผ€์ด์Šค์—์„œ ์ผ€๋ฐฅ ์ผ€์ด์Šค๋กœ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 10, 2023
258b93d
chore: prettier order๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 10, 2023
6925a2e
feat: sidebar์—์„œ ํ˜ธ์ถœ ํ•  ํƒœ๊ทธ API๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 10, 2023
534f08c
feat: ์ง์ ‘์ ์œผ๋กœ API๋ฅผ ํ˜ธ์ถœํ•˜๋ฏ€๋กœ template ํ•˜์œ„์— sidebar ์ปดํฌ๋„ŒํŠธ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 10, 2023
bec0277
feat: loadding-spinner๋ฅผ ๊ฐœ์„ ํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 10, 2023
7c5fdb8
feat: article API์˜ ํƒ€์ž…์„ ๋ฆฌํŒฉํ† ๋งํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 10, 2023
4e0e35f
feat: ์ถ”๊ฐ€ํ•œ ์ปดํฌ๋„ŒํŠธ๋กœ ํƒœ๊ทธ๋ฅผ ๋Œ€์ฒดํ•ฉ๋‹ˆ๋‹ค.
InSeong-So Sep 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['solid'],
extends: ['eslint:recommended', 'plugin:solid/typescript'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
env: {
es6: true,
browser: true,
node: true,
},
rules: {
indent: 'off',
'brace-style': 'off',
'arrow-parens': 'off',
'no-console': 'off',
'no-undef': 'off',
'max-len': 'off',
'sort-imports': 'off',
'no-restricted-exports': 'off',
'no-unused-vars': 'off',
'object-curly-newline': 'off',
'max-params': ['error', 3],
'jsx-quotes': 'off',
'no-confusing-arrow': 'off',
'no-nested-ternary': 'off',
'comma-spacing': 'off',
'function-paren-newline': 'off',
'implicit-arrow-linebreak': 'off',
'operator-linebreak': 'off',
'no-underscore-dangle': 'off',
'no-useless-constructor': 'off',
'no-use-before-define': 'off',
'no-param-reassign': 'off',
'no-return-await': 'off',
'prefer-regex-literals': 'off',
'lines-between-class-members': 'off',
'import/no-unresolved': 'off',
// typescript
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
// solid
'solid/reactivity': 'warn',
'solid/no-destructure': 'warn',
'solid/jsx-no-undef': 'error',
},
};
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,8 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# editor
.vscode
.idea
.DS_Store
16 changes: 16 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
plugins: [require('@trivago/prettier-plugin-sort-imports')],
singleQuote: true,
semi: true,
useTabs: false,
tabWidth: 2,
trailingComma: 'all',
printWidth: 100,
bracketSpacing: true,
arrowParens: 'always',
endOfLine: 'auto',
importOrder: ['^solidjs', '<THIRD_PARTY_MODULES>', '^@/(.*)$', '^./(.*)$', '^[@global/(./)$]'],
importOrderSortSpecifiers: true,
importOrderGroupNamespaceSpecifiers: true,
importOrderCaseInsensitive: true,
};
21 changes: 21 additions & 0 deletions @types/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
declare module '@global/solid-util-types' {
import type { Accessor } from 'solid-js';
/**
* T or a reactive/non-reactive function returning T
*/
type MaybeAccessor<T> = T | Accessor<T>;

/**
* Accessed value of a MaybeAccessor
* @example
* ```ts
* MaybeAccessorValue<MaybeAccessor<string>>
* // => string
* MaybeAccessorValue<MaybeAccessor<() => string>>
* // => string | (() => string)
* MaybeAccessorValue<MaybeAccessor<string> | Function>
* // => string | void
* ```
*/
type MaybeAccessorValue<T extends MaybeAccessor<any>> = T extends () => any ? ReturnType<T> : T;
}
10 changes: 10 additions & 0 deletions @types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

declare module "*.module.css" {
const classes: { [key: string]: string };
export default classes;
}

declare module '*.svg' {
const content: string;
export default content;
}
3 changes: 3 additions & 0 deletions README2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## ์ถ”๊ฐ€ํ•œ CSS ํด๋ž˜์Šค
- `article-preview-list`
- ์•„ํ‹ฐํด ๋ฏธ๋ฆฌ๋ณด๊ธฐ๊ฐ€ ๊ฐ ์•„์ดํ…œ๋ณ„๋กœ ์Œ“์ด๊ณ ๋งŒ ์žˆ๊ณ , ๋ฐ•์Šค๋กœ ๊ด€๋ฆฌ๋˜๊ณ  ์žˆ์ง€ ์•Š์•„ ์ด๋ฅผ ๊ฐ์‹ธ๋Š” ์ปจํ…Œ์ด๋„ˆ๋ฅผ fallback์„ ํ‘œ์‹œํ•˜๊ธฐ ์œ„ํ•ด ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
22 changes: 22 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="favicon" href="/assets/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="/styles/ionicons.min.css" rel="stylesheet" type="text/css" />
<link
href="//fonts.googleapis.com/css?family=Titillium+Web:700|Source+Serif+Pro:400,700|Merriweather+Sans:400,700|Source+Sans+Pro:400,300,600,700,300italic,400italic,600italic,700italic"
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="/styles/main.css" />
<title>Conduit</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

<script src="/src/index.tsx" type="module"></script>
</body>
</html>
31 changes: 30 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,34 @@
"bugs": {
"url": "https://github.com/pagers-org/react-world/issues"
},
"homepage": "https://github.com/pagers-org/react-world#readme"
"homepage": "https://github.com/pagers-org/react-world#readme",
"scripts": {
"start": "vite --open",
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
"dependencies": {
"@motionone/solid": "^10.16.2",
"@solidjs/router": "^0.8.3",
"@vanilla-extract/css": "^1.13.0",
"@vanilla-extract/css-utils": "^0.1.3",
"solid-js": "^1.7.11"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/node": "^20.5.6",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vanilla-extract/vite-plugin": "^3.9.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-solid": "~0.13.0",
"prettier": "^3.0.2",
"solid-devtools": "^0.27.7",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vite-plugin-solid": "^2.7.0"
}
}
Loading