Skip to content

Commit a2edb2a

Browse files
authored
feat: new design (#1)
feat: new design
2 parents 4889958 + 42c6ce8 commit a2edb2a

File tree

209 files changed

+6753
-3560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+6753
-3560
lines changed

.editorconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ root = true
22

33
[*]
44
end_of_line = lf
5-
insert_final_newline = true
5+
insert_final_newline = true
6+
indent_size = 2

.eslintignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22
node_modules
33
/build
44
/.svelte-kit
5+
/.vercel
56
/package
67
.env
78
.env.*
89
!.env.example
910

11+
.idea/*
12+
!.idea/codeStyles
13+
!.idea/inspectionProfiles
14+
!.idea/jsLinters
15+
!.idea/prettier.xml
16+
17+
.vscode
18+
19+
yarn-error.log
20+
1021
# Ignore files for PNPM, NPM and YARN
1122
pnpm-lock.yaml
1223
package-lock.json

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
'@typescript-eslint/no-non-null-assertion': 'off',
1010
'svelte/no-at-html-tags': 'off',
1111
'svelte/html-self-closing': 'off',
12+
'no-inner-declarations': 'off',
1213
},
1314
parserOptions: {
1415
sourceType: 'module',

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
node_modules
33
/build
44
/.svelte-kit
5+
/.vercel
56
/package
67
.env
78
.env.*
@@ -16,3 +17,7 @@ node_modules
1617
.vscode
1718

1819
yarn-error.log
20+
.vercel
21+
22+
# Static Deps
23+
static/motion-canvas

.idea/codeStyles/Project.xml

Lines changed: 4 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.prettierignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@
22
node_modules
33
/build
44
/.svelte-kit
5+
/.vercel
56
/package
67
.env
78
.env.*
89
!.env.example
910

11+
.idea/*
12+
!.idea/codeStyles
13+
!.idea/inspectionProfiles
14+
!.idea/jsLinters
15+
!.idea/prettier.xml
16+
17+
.vscode
18+
19+
yarn-error.log
20+
1021
# Ignore files for PNPM, NPM and YARN
1122
pnpm-lock.yaml
1223
package-lock.json

README.md

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,7 @@
1-
# create-svelte
1+
# koding.dev
22

3-
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
3+
The improved version:tm:
44

5-
## Creating a project
5+
## TODO
66

7-
If you're seeing this, you've probably already done this step. Congrats!
8-
9-
```bash
10-
# create a new project in the current directory
11-
npm create svelte@latest
12-
13-
# create a new project in my-app
14-
npm create svelte@latest my-app
15-
```
16-
17-
## Developing
18-
19-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20-
21-
```bash
22-
npm run dev
23-
24-
# or start the server and open the app in a new browser tab
25-
npm run dev -- --open
26-
```
27-
28-
## Building
29-
30-
To create a production version of your app:
31-
32-
```bash
33-
npm run build
34-
```
35-
36-
You can preview the production build with `npm run preview`.
37-
38-
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
7+
- [ ] Make commissions use the optimized images & adjust their layout

mdsvex.config.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
import { defineMDSveXConfig } from 'mdsvex';
22
import rehypeSlug from 'rehype-slug';
3-
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
43

54
const config = defineMDSveXConfig({
65
extensions: ['.md', '.svx'],
76
smartypants: {
87
dashes: 'oldschool',
98
},
109

11-
rehypePlugins: [
12-
rehypeSlug,
13-
[
14-
rehypeAutolinkHeadings,
15-
{
16-
behavior: 'wrap',
17-
},
18-
],
19-
],
10+
rehypePlugins: [rehypeSlug],
2011
});
2112

2213
export default config;

package.json

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,59 @@
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
6-
"dev": "vite dev",
7-
"dev:open": "vite dev --open",
8-
"build": "vite build",
6+
"dev": "vite dev --host",
7+
"dev:projects": "concurrently \"pnpm run build:projects\" \"vite dev --host\"",
8+
"dev:open": "concurrently \"pnpm run build:projects\" \"vite dev --host --open\"",
9+
"build": "pnpm run build:projects && vite build",
910
"preview": "vite preview",
1011
"lint": "prettier --plugin-search-dir . --check . && eslint .",
1112
"format": "prettier --plugin-search-dir . --write . && eslint . --fix",
12-
"tunnel": "cloudflared tunnel run --url http://localhost:5173"
13+
"tunnel": "cloudflared tunnel run --url http://localhost:5173",
14+
"build:projects": "pnpm run -r --filter ./projects/* build"
1315
},
1416
"devDependencies": {
15-
"@sveltejs/adapter-vercel": "^1.0.0-next.81",
16-
"@sveltejs/kit": "next",
17+
"@iconify-json/material-symbols": "^1.1.29",
18+
"@iconify-json/mdi": "^1.1.47",
19+
"@iconify-json/vscode-icons": "^1.1.22",
20+
"@iconify/tailwind": "^0.1.1",
21+
"@koding-dev/motion-canvas": "workspace:^0.0.0",
22+
"@sveltejs/adapter-vercel": "^2.1.0",
23+
"@sveltejs/kit": "^1.6.0",
1724
"@tailwindcss/line-clamp": "^0.4.2",
1825
"@tailwindcss/typography": "^0.5.7",
26+
"@types/lodash": "^4.14.191",
1927
"@types/nprogress": "^0.2.0",
2028
"@typescript-eslint/eslint-plugin": "^5.27.0",
2129
"@typescript-eslint/parser": "^5.27.0",
2230
"autoprefixer": "^10.4.7",
31+
"concurrently": "^7.6.0",
2332
"eslint": "^8.16.0",
2433
"eslint-config-prettier": "^8.3.0",
2534
"eslint-plugin-prettier": "^4.2.1",
2635
"eslint-plugin-svelte": "^2.14.1",
36+
"imagetools-core": "^3.3.1",
37+
"lodash": "^4.17.21",
2738
"mdsvex": "^0.10.6",
2839
"postcss": "^8.4.14",
2940
"postcss-load-config": "^4.0.1",
3041
"prettier": "^2.6.2",
3142
"prettier-plugin-svelte": "^2.7.0",
3243
"prettier-plugin-tailwindcss": "^0.2.1",
33-
"rehype-autolink-headings": "^6.1.1",
3444
"rehype-slug": "^5.1.0",
45+
"sass": "^1.59.2",
3546
"svelte": "^3.44.0",
3647
"svelte-check": "^2.7.1",
37-
"svelte-icons": "^2.1.0",
3848
"svelte-preprocess": "^4.10.7",
3949
"tailwindcss": "^3.1.5",
4050
"tslib": "^2.3.1",
4151
"typescript": "^4.7.4",
42-
"vite": "^3.1.0"
52+
"vite": "^4.1.1",
53+
"vite-imagetools": "^4.0.18"
4354
},
4455
"type": "module",
4556
"dependencies": {
57+
"@fontsource/poppins": "^4.5.10",
58+
"@motion-canvas/core": "^3.2.0",
4659
"@notionhq/client": "^2.2.2",
4760
"clsx": "^1.2.1",
4861
"nprogress": "^0.2.0"

0 commit comments

Comments
 (0)