Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit a623deb

Browse files
authored
feat(share): UI/UX basic function done (#1118)
* feat(share): basic UI * feat(share): UX wip * feat(share): switch UX * feat(share): move copy btn to top in LinkBoard * feat(share): copy btn made fancy * feat(share): function done * chore(share): use dynamic load
1 parent 56b96a6 commit a623deb

Some content is hidden

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

52 files changed

+867
-13
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ next-env.d.ts
44
*.json
55
*.lock
66
*.hbs
7-
*.svg
7+
*.svg
8+
*.png

config/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"DEFAULT_USER_AVATAR": "https://cps-oss.oss-cn-shanghai.aliyuncs.com/icons/cmd/alien_user3.svg",
5454
"GRAPHQL_ENDPOINT": "https://api.coderplanets.com/graphiql",
5555
"SITE_URL": "https://coderplanets.com",
56+
"SITE_URL_SHORT": "https://cper.co",
5657
"GITHUB": "https://github.com/coderplanets",
5758
"GITHUB_WEB_ADDR": "https://github.com/coderplanets/coderplanets_web",
5859
"GITHUB_SERVER_ADDR": "https://github.com/coderplanets/coderplanets_server",

config/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const {
2626
DEFAULT_ICON,
2727
DEFAULT_USER_AVATAR,
2828
SITE_URL,
29+
SITE_URL_SHORT,
2930
GITHUB,
3031
GITHUB_WEB_ADDR,
3132
GITHUB_SERVER_ADDR,

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,13 @@
103103
"promise-timeout": "^1.3.0",
104104
"prop-types": "^15.5.10",
105105
"pubsub-js": "^1.9.3",
106+
"qrcode-react": "^0.1.16",
106107
"ramda": "0.26.1",
107108
"react": "17.0.2",
108109
"react-animation": "^1.2.2",
109110
"react-calendar-heatmap": "1.8.1",
110111
"react-content-loader": "3.4.2",
112+
"react-copy-to-clipboard": "^5.0.3",
111113
"react-dom": "17.0.2",
112114
"react-highlight-words": "^0.16.0",
113115
"react-lazy-load-image-component": "1.5.0",
Lines changed: 1 addition & 0 deletions
Loading

public/icons/static/shape/link.svg

Lines changed: 1 addition & 0 deletions
Loading
11.8 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading
6.04 KB
Loading
Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)