chore(core): update communities icon (#4719)

This commit is contained in:
JimmFly
2023-10-25 18:45:54 +08:00
committed by GitHub
parent 780c164cc8
commit ae6376edee
10 changed files with 29 additions and 33 deletions

View File

@@ -65,7 +65,7 @@
"@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/icons": "2.1.34", "@blocksuite/icons": "2.1.35",
"@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly",
"@storybook/jest": "^0.2.3", "@storybook/jest": "^0.2.3",

View File

@@ -28,7 +28,7 @@
"@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/icons": "2.1.34", "@blocksuite/icons": "2.1.35",
"@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly",
"@dnd-kit/core": "^6.0.8", "@dnd-kit/core": "^6.0.8",

View File

@@ -15,7 +15,7 @@ export const relatedLinks = [
}, },
{ {
icon: <TwitterIcon />, icon: <TwitterIcon />,
title: 'Twitter', title: 'X',
link: 'https://twitter.com/AffineOfficial', link: 'https://twitter.com/AffineOfficial',
}, },
{ {

View File

@@ -1,3 +1,6 @@
// The icons here have been specially adjusted, theyre different from the ones in the @blocksuite/icons.
export { TwitterIcon } from '@blocksuite/icons';
export const LogoIcon = () => { export const LogoIcon = () => {
return ( return (
<svg <svg
@@ -33,23 +36,6 @@ export const DocIcon = () => {
); );
}; };
export const TwitterIcon = () => {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M22 5.88235C21.2639 6.21176 20.4704 6.42824 19.6482 6.53176C20.4895 6.03294 21.1396 5.24235 21.4455 4.29176C20.652 4.76235 19.7725 5.09176 18.8451 5.28C18.0899 4.47059 17.0287 4 15.8241 4C13.5774 4 11.7419 5.80706 11.7419 8.03765C11.7419 8.35765 11.7801 8.66824 11.847 8.96C8.4436 8.79059 5.413 7.18118 3.39579 4.74353C3.04207 5.33647 2.8413 6.03294 2.8413 6.76706C2.8413 8.16941 3.55832 9.41176 4.6673 10.1176C3.98853 10.1176 3.35755 9.92941 2.80306 9.64706V9.67529C2.80306 11.6329 4.21797 13.2706 6.09178 13.6376C5.49018 13.7997 4.8586 13.8223 4.24665 13.7035C4.50632 14.5059 5.01485 15.2079 5.70078 15.711C6.38671 16.2141 7.21553 16.4929 8.07075 16.5082C6.62106 17.6381 4.82409 18.2488 2.97514 18.24C2.6501 18.24 2.32505 18.2212 2 18.1835C3.81644 19.3318 5.97706 20 8.29063 20C15.8241 20 19.9637 13.8447 19.9637 8.50824C19.9637 8.32941 19.9637 8.16 19.9541 7.98118C20.7572 7.41647 21.4455 6.70118 22 5.88235Z"
fill="#1D9BF0"
/>
</svg>
);
};
export const GithubIcon = () => { export const GithubIcon = () => {
return ( return (
<svg <svg

View File

@@ -16,7 +16,7 @@
"dependencies": { "dependencies": {
"@affine/component": "workspace:*", "@affine/component": "workspace:*",
"@affine/sdk": "workspace:*", "@affine/sdk": "workspace:*",
"@blocksuite/icons": "2.1.34", "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45", "@toeverything/components": "^0.0.45",
"@vanilla-extract/css": "^1.13.0", "@vanilla-extract/css": "^1.13.0",
"clsx": "^2.0.0", "clsx": "^2.0.0",

View File

@@ -17,7 +17,7 @@
"dependencies": { "dependencies": {
"@affine/component": "workspace:*", "@affine/component": "workspace:*",
"@affine/sdk": "workspace:*", "@affine/sdk": "workspace:*",
"@blocksuite/icons": "2.1.34", "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45" "@toeverything/components": "^0.0.45"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -16,7 +16,7 @@
"dependencies": { "dependencies": {
"@affine/component": "workspace:*", "@affine/component": "workspace:*",
"@affine/sdk": "workspace:*", "@affine/sdk": "workspace:*",
"@blocksuite/icons": "2.1.34", "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45", "@toeverything/components": "^0.0.45",
"@toeverything/theme": "^0.7.20", "@toeverything/theme": "^0.7.20",
"clsx": "^2.0.0", "clsx": "^2.0.0",

View File

@@ -17,7 +17,7 @@
"dependencies": { "dependencies": {
"@affine/component": "workspace:*", "@affine/component": "workspace:*",
"@affine/sdk": "workspace:*", "@affine/sdk": "workspace:*",
"@blocksuite/icons": "2.1.34", "@blocksuite/icons": "2.1.35",
"@toeverything/components": "^0.0.45" "@toeverything/components": "^0.0.45"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -36,7 +36,7 @@
"@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/blocks": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/editor": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/global": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/icons": "2.1.34", "@blocksuite/icons": "2.1.35",
"@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/lit": "0.0.0-20231024064721-2aee7119-nightly",
"@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly", "@blocksuite/store": "0.0.0-20231024064721-2aee7119-nightly",
"@dnd-kit/sortable": "^7.0.2", "@dnd-kit/sortable": "^7.0.2",

View File

@@ -198,7 +198,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/icons": "npm:2.1.34" "@blocksuite/icons": "npm:2.1.35"
"@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/core": "npm:^6.0.8"
@@ -271,7 +271,7 @@ __metadata:
"@affine/component": "workspace:*" "@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*" "@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*" "@affine/sdk": "workspace:*"
"@blocksuite/icons": "npm:2.1.34" "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45" "@toeverything/components": "npm:^0.0.45"
"@types/marked": "npm:^6.0.0" "@types/marked": "npm:^6.0.0"
"@vanilla-extract/css": "npm:^1.13.0" "@vanilla-extract/css": "npm:^1.13.0"
@@ -308,7 +308,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/icons": "npm:2.1.34" "@blocksuite/icons": "npm:2.1.35"
"@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/core": "npm:^6.0.8"
@@ -486,7 +486,7 @@ __metadata:
"@affine/component": "workspace:*" "@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*" "@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*" "@affine/sdk": "workspace:*"
"@blocksuite/icons": "npm:2.1.34" "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45" "@toeverything/components": "npm:^0.0.45"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -512,7 +512,7 @@ __metadata:
"@affine/component": "workspace:*" "@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*" "@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*" "@affine/sdk": "workspace:*"
"@blocksuite/icons": "npm:2.1.34" "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45" "@toeverything/components": "npm:^0.0.45"
"@toeverything/theme": "npm:^0.7.20" "@toeverything/theme": "npm:^0.7.20"
clsx: "npm:^2.0.0" clsx: "npm:^2.0.0"
@@ -613,7 +613,7 @@ __metadata:
"@affine/component": "workspace:*" "@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*" "@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*" "@affine/sdk": "workspace:*"
"@blocksuite/icons": "npm:2.1.34" "@blocksuite/icons": "npm:2.1.35"
"@toeverything/components": "npm:^0.0.45" "@toeverything/components": "npm:^0.0.45"
jotai: "npm:^2.4.3" jotai: "npm:^2.4.3"
react: "npm:18.2.0" react: "npm:18.2.0"
@@ -768,7 +768,7 @@ __metadata:
"@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/blocks": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/editor": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/global": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/icons": "npm:2.1.34" "@blocksuite/icons": "npm:2.1.35"
"@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/lit": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly" "@blocksuite/store": "npm:0.0.0-20231024064721-2aee7119-nightly"
"@dnd-kit/sortable": "npm:^7.0.2" "@dnd-kit/sortable": "npm:^7.0.2"
@@ -3545,7 +3545,17 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@blocksuite/icons@npm:2.1.34, @blocksuite/icons@npm:^2.1.33": "@blocksuite/icons@npm:2.1.35":
version: 2.1.35
resolution: "@blocksuite/icons@npm:2.1.35"
peerDependencies:
"@types/react": ^18.0.25
react: ^18.2.0
checksum: 4a7c1d11ae573b5c2cd3fc0c570892ab3ea1b5108cf6c59759186f56022901ef99a7344d54df45d85d721d6a199c88aa12b22b5791c4357068ea3074318699c8
languageName: node
linkType: hard
"@blocksuite/icons@npm:^2.1.33":
version: 2.1.34 version: 2.1.34
resolution: "@blocksuite/icons@npm:2.1.34" resolution: "@blocksuite/icons@npm:2.1.34"
peerDependencies: peerDependencies: