-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a615511
commit ea3597d
Showing
313 changed files
with
10,740 additions
and
7,132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
{ | ||
"extends": "next/core-web-vitals", | ||
"extends": ["next/core-web-vitals"], | ||
"rules": { | ||
"@next/next/no-img-element": "off" | ||
"@next/next/no-img-element": "off", | ||
"react/jsx-uses-vars": "error", | ||
"react/jsx-sort-props": 2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.woff2 | ||
*.woff2 | ||
*.ttf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"printWidth": 120, | ||
"endOfLine": "auto", | ||
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports"] | ||
"jsxBracketSameLine": true, | ||
"trailingComma": "all", | ||
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports", "react"] | ||
} |
Binary file added
BIN
+52.1 KB
assets/font-css/fang-zheng-xiao-biao-song/012fcda26e65acb32ac06b34c85f5a7e.woff2
Binary file not shown.
Binary file added
BIN
+46.7 KB
assets/font-css/fang-zheng-xiao-biao-song/015f85eb16eadc231c8c90e5053a4790.woff2
Binary file not shown.
Binary file added
BIN
+48.5 KB
assets/font-css/fang-zheng-xiao-biao-song/01ab39a10133c17b93335b58aa50cad6.woff2
Binary file not shown.
Binary file added
BIN
+58.6 KB
assets/font-css/fang-zheng-xiao-biao-song/01d8a0a07fc1e733ab9f3c60bf938bd3.woff2
Binary file not shown.
Binary file added
BIN
+40 KB
assets/font-css/fang-zheng-xiao-biao-song/0c18fcd9b3e394d717bf56ac316fde17.woff2
Binary file not shown.
Binary file added
BIN
+51.9 KB
assets/font-css/fang-zheng-xiao-biao-song/0c77f4501a25c5acad2f6f2ad999bef5.woff2
Binary file not shown.
Binary file added
BIN
+47 KB
assets/font-css/fang-zheng-xiao-biao-song/0ed1614c76c992fd1342fa18e358d48b.woff2
Binary file not shown.
Binary file added
BIN
+45.5 KB
assets/font-css/fang-zheng-xiao-biao-song/0fb9b4eae1b91f691ac9d08f9707f3c3.woff2
Binary file not shown.
Binary file added
BIN
+53.6 KB
assets/font-css/fang-zheng-xiao-biao-song/109b17241d1815554576b7581cc83826.woff2
Binary file not shown.
Binary file added
BIN
+34.2 KB
assets/font-css/fang-zheng-xiao-biao-song/117e2d1472e3a4dd337da4bcd0c2cb9a.woff2
Binary file not shown.
Binary file added
BIN
+48.1 KB
assets/font-css/fang-zheng-xiao-biao-song/1657e4ea8f0f221688592f48e443ecce.woff2
Binary file not shown.
Binary file added
BIN
+48.3 KB
assets/font-css/fang-zheng-xiao-biao-song/1705fa5b6890fe72da00fcb713ddde42.woff2
Binary file not shown.
Binary file added
BIN
+47 KB
assets/font-css/fang-zheng-xiao-biao-song/18014c639c33343e83e509e58abbff2f.woff2
Binary file not shown.
Binary file added
BIN
+52.6 KB
assets/font-css/fang-zheng-xiao-biao-song/196f227572c62c35fff4e7ea239069a4.woff2
Binary file not shown.
Binary file added
BIN
+53.4 KB
assets/font-css/fang-zheng-xiao-biao-song/1b628ebf9adc1bc638fa4faa20a703a3.woff2
Binary file not shown.
Binary file added
BIN
+44.7 KB
assets/font-css/fang-zheng-xiao-biao-song/1cbc2518ede62fe1708d6d1a483201bd.woff2
Binary file not shown.
Binary file added
BIN
+46.8 KB
assets/font-css/fang-zheng-xiao-biao-song/1d8cfdcece71a59067dcda38c794a8ec.woff2
Binary file not shown.
Binary file added
BIN
+47.7 KB
assets/font-css/fang-zheng-xiao-biao-song/23abecd290cf1b35a2327d8ea3707f6a.woff2
Binary file not shown.
Binary file added
BIN
+45.8 KB
assets/font-css/fang-zheng-xiao-biao-song/243ae58d55351560b77e108f553fa0b9.woff2
Binary file not shown.
Binary file added
BIN
+57 KB
assets/font-css/fang-zheng-xiao-biao-song/257561bd7e76ffe52896bbe5d9b7d86f.woff2
Binary file not shown.
Binary file added
BIN
+28.3 KB
assets/font-css/fang-zheng-xiao-biao-song/263e2004c3b49e37facae7438bcb2b6c.woff2
Binary file not shown.
Binary file added
BIN
+49.5 KB
assets/font-css/fang-zheng-xiao-biao-song/26b5cc82dbcd8bf8efc6ba4181b6a910.woff2
Binary file not shown.
Binary file added
BIN
+39.1 KB
assets/font-css/fang-zheng-xiao-biao-song/27f4f964b36955fefb482cbab40f05a1.woff2
Binary file not shown.
Binary file added
BIN
+44 KB
assets/font-css/fang-zheng-xiao-biao-song/28e1fad42c5c9d2f16eb7a2950b5fe4c.woff2
Binary file not shown.
Binary file added
BIN
+49.7 KB
assets/font-css/fang-zheng-xiao-biao-song/2a392e7367901e10f56db68b6b9709ad.woff2
Binary file not shown.
Binary file added
BIN
+50.8 KB
assets/font-css/fang-zheng-xiao-biao-song/2cbb559ba52b52080937d25292fba751.woff2
Binary file not shown.
Binary file added
BIN
+24.9 KB
assets/font-css/fang-zheng-xiao-biao-song/36a9d1a08b4238960c3afa03ff8b1a80.woff2
Binary file not shown.
Binary file added
BIN
+46.7 KB
assets/font-css/fang-zheng-xiao-biao-song/36b38d7f3e94f7f4187b4db1ec6a6275.woff2
Binary file not shown.
Binary file added
BIN
+49.3 KB
assets/font-css/fang-zheng-xiao-biao-song/3a3244fa64b631490e5fc81b76cf13d2.woff2
Binary file not shown.
Binary file added
BIN
+55.5 KB
assets/font-css/fang-zheng-xiao-biao-song/3b24c73b104c965fdf60c4e87e408ddc.woff2
Binary file not shown.
Binary file added
BIN
+43.1 KB
assets/font-css/fang-zheng-xiao-biao-song/3cbadb64017716df8130fc5b5ce3424c.woff2
Binary file not shown.
Binary file added
BIN
+45.1 KB
assets/font-css/fang-zheng-xiao-biao-song/3cc772f1d5a79ff16365aa90fdd30285.woff2
Binary file not shown.
Binary file added
BIN
+52.9 KB
assets/font-css/fang-zheng-xiao-biao-song/3ed93cad5df187d4f656b67bc19e216e.woff2
Binary file not shown.
Binary file added
BIN
+56.9 KB
assets/font-css/fang-zheng-xiao-biao-song/4014ec20189a4f298c439caac34ddcb1.woff2
Binary file not shown.
Binary file added
BIN
+55.1 KB
assets/font-css/fang-zheng-xiao-biao-song/41aea5bd6c573a36be3b7f50cd376f57.woff2
Binary file not shown.
Binary file added
BIN
+36.2 KB
assets/font-css/fang-zheng-xiao-biao-song/43abb6c9e67382cc82fb94af4dbde0e3.woff2
Binary file not shown.
Binary file added
BIN
+45.7 KB
assets/font-css/fang-zheng-xiao-biao-song/47cc3ff9d1e8d4665d4d215d839ab3a6.woff2
Binary file not shown.
Binary file added
BIN
+44.7 KB
assets/font-css/fang-zheng-xiao-biao-song/47e3ea44689518c1265e1a5abafeb0ee.woff2
Binary file not shown.
Binary file added
BIN
+51.7 KB
assets/font-css/fang-zheng-xiao-biao-song/496fe2ff15e74f995288bef461489d77.woff2
Binary file not shown.
Binary file added
BIN
+41.7 KB
assets/font-css/fang-zheng-xiao-biao-song/4ae974986fb3546a47ed703536f00612.woff2
Binary file not shown.
Binary file added
BIN
+57 KB
assets/font-css/fang-zheng-xiao-biao-song/4e9744a0e01aee1ca53e907684f45479.woff2
Binary file not shown.
Binary file added
BIN
+56.8 KB
assets/font-css/fang-zheng-xiao-biao-song/530428e6579786e9f5dfde3956cc465e.woff2
Binary file not shown.
Binary file added
BIN
+37.8 KB
assets/font-css/fang-zheng-xiao-biao-song/571d02fd7494fc10998531858340c728.woff2
Binary file not shown.
Binary file added
BIN
+42.7 KB
assets/font-css/fang-zheng-xiao-biao-song/59a09abe8d82f416286a464dcd2322cd.woff2
Binary file not shown.
Binary file added
BIN
+52.6 KB
assets/font-css/fang-zheng-xiao-biao-song/5a30c8dd359c8beabaff6d852b7f9dae.woff2
Binary file not shown.
Binary file added
BIN
+51.7 KB
assets/font-css/fang-zheng-xiao-biao-song/5a500b3ee647b7de890ced72e8aa08ab.woff2
Binary file not shown.
Binary file added
BIN
+46 KB
assets/font-css/fang-zheng-xiao-biao-song/5c62a27bb90b2c1e6c845a4e18453156.woff2
Binary file not shown.
Binary file added
BIN
+46 KB
assets/font-css/fang-zheng-xiao-biao-song/6849fe85b18e58baaf53b09db4122c25.woff2
Binary file not shown.
Binary file added
BIN
+43.3 KB
assets/font-css/fang-zheng-xiao-biao-song/6c58df804e873e8f9a38c1d37880494d.woff2
Binary file not shown.
Binary file added
BIN
+18.3 KB
assets/font-css/fang-zheng-xiao-biao-song/702e24e2a10fdedad58c9145a4ca65f7.woff2
Binary file not shown.
Binary file added
BIN
+34.6 KB
assets/font-css/fang-zheng-xiao-biao-song/70d30de426f504ed1a6b2a33b912541e.woff2
Binary file not shown.
Binary file added
BIN
+43.6 KB
assets/font-css/fang-zheng-xiao-biao-song/72c31c99e545c7d1c111e1c4443442ad.woff2
Binary file not shown.
Binary file added
BIN
+48.3 KB
assets/font-css/fang-zheng-xiao-biao-song/7447ec66c529c350286b11a071c15183.woff2
Binary file not shown.
Binary file added
BIN
+45.7 KB
assets/font-css/fang-zheng-xiao-biao-song/76da3a136cd71f3eafad97d0ec32e714.woff2
Binary file not shown.
Binary file added
BIN
+46.8 KB
assets/font-css/fang-zheng-xiao-biao-song/775fc997441dd7bb286c366cbf3e2f12.woff2
Binary file not shown.
Binary file added
BIN
+10.6 KB
assets/font-css/fang-zheng-xiao-biao-song/788b0343976cd0135b5d4c1752869d47.woff2
Binary file not shown.
Binary file added
BIN
+45.9 KB
assets/font-css/fang-zheng-xiao-biao-song/7c8604b933d4c35dfaead8b486380cad.woff2
Binary file not shown.
Binary file added
BIN
+46.9 KB
assets/font-css/fang-zheng-xiao-biao-song/8879c36818859879eed3dc0ee49387ce.woff2
Binary file not shown.
Binary file added
BIN
+50.7 KB
assets/font-css/fang-zheng-xiao-biao-song/91812ff5e9c054ee8d92d03db4d9a90b.woff2
Binary file not shown.
Binary file added
BIN
+49.5 KB
assets/font-css/fang-zheng-xiao-biao-song/93c4f41f52c108d4a0b60308df5e9e83.woff2
Binary file not shown.
Binary file added
BIN
+41.7 KB
assets/font-css/fang-zheng-xiao-biao-song/93f607f2c56627133b0246378d17241e.woff2
Binary file not shown.
Binary file added
BIN
+43.6 KB
assets/font-css/fang-zheng-xiao-biao-song/94219b33bfebc7b08614c2ecefc7b3cb.woff2
Binary file not shown.
Binary file added
BIN
+46.7 KB
assets/font-css/fang-zheng-xiao-biao-song/9497f503cb7ebdc8b9b33022e7e08070.woff2
Binary file not shown.
Binary file added
BIN
+46 KB
assets/font-css/fang-zheng-xiao-biao-song/96fbcc3fded5987be950c98165874777.woff2
Binary file not shown.
Binary file added
BIN
+45.5 KB
assets/font-css/fang-zheng-xiao-biao-song/994f33ae7b806fc76f7b0bd9810bf297.woff2
Binary file not shown.
Binary file added
BIN
+37 KB
assets/font-css/fang-zheng-xiao-biao-song/a191d5e921aba369eb078d193bc68056.woff2
Binary file not shown.
Binary file added
BIN
+57.5 KB
assets/font-css/fang-zheng-xiao-biao-song/a42d70281e99858ab6362a10b3a30e5f.woff2
Binary file not shown.
Binary file added
BIN
+39.7 KB
assets/font-css/fang-zheng-xiao-biao-song/a60f9ee1cdc26ac1dab934fc1552d0c4.woff2
Binary file not shown.
Binary file added
BIN
+42.3 KB
assets/font-css/fang-zheng-xiao-biao-song/a6730ba021cc3ad470af423f948148c6.woff2
Binary file not shown.
Binary file added
BIN
+55.1 KB
assets/font-css/fang-zheng-xiao-biao-song/a6debca4bdee525b0aced84d5649a8a8.woff2
Binary file not shown.
Binary file added
BIN
+43.8 KB
assets/font-css/fang-zheng-xiao-biao-song/a841199092d51996c1871e28e4515a37.woff2
Binary file not shown.
Binary file added
BIN
+50 KB
assets/font-css/fang-zheng-xiao-biao-song/a87b5e0e3f452c230fa5555bb408be94.woff2
Binary file not shown.
Binary file added
BIN
+51.4 KB
assets/font-css/fang-zheng-xiao-biao-song/a945514919d6bd2d1a0b15af1ef1d842.woff2
Binary file not shown.
Binary file added
BIN
+53.6 KB
assets/font-css/fang-zheng-xiao-biao-song/aa0346960f72a6684b20356b5b17b2cd.woff2
Binary file not shown.
Binary file added
BIN
+53.5 KB
assets/font-css/fang-zheng-xiao-biao-song/af3414cac35973680c80c517f256fe3d.woff2
Binary file not shown.
Binary file added
BIN
+44.8 KB
assets/font-css/fang-zheng-xiao-biao-song/b37f8e7af30535c35caa676081320e36.woff2
Binary file not shown.
Binary file added
BIN
+46.2 KB
assets/font-css/fang-zheng-xiao-biao-song/b8e2176026d6dc9fd309d9b88d400561.woff2
Binary file not shown.
Binary file added
BIN
+47.1 KB
assets/font-css/fang-zheng-xiao-biao-song/bc5df593aa59d0bb9b3542402163f33f.woff2
Binary file not shown.
Binary file added
BIN
+42.5 KB
assets/font-css/fang-zheng-xiao-biao-song/bd1662a8f5bb7302474b51be9431d756.woff2
Binary file not shown.
Binary file added
BIN
+54.4 KB
assets/font-css/fang-zheng-xiao-biao-song/bdb201919553d7b90647c3b54f13ad46.woff2
Binary file not shown.
Binary file added
BIN
+50.4 KB
assets/font-css/fang-zheng-xiao-biao-song/c4322ba9af3c196e36ac3ddeed8afc50.woff2
Binary file not shown.
Binary file added
BIN
+46.3 KB
assets/font-css/fang-zheng-xiao-biao-song/c4bafb351af9acdbd1d69ff186e65257.woff2
Binary file not shown.
Binary file added
BIN
+44.1 KB
assets/font-css/fang-zheng-xiao-biao-song/c8003fb7b7f2e6b88ffbe38e5f3a9a60.woff2
Binary file not shown.
Binary file added
BIN
+36.2 KB
assets/font-css/fang-zheng-xiao-biao-song/cb183d282d90f966035e22a9ac00fa9d.woff2
Binary file not shown.
Binary file added
BIN
+5.59 KB
assets/font-css/fang-zheng-xiao-biao-song/cbe645c1e20732c3ca6068ac981e77f9.woff2
Binary file not shown.
Binary file added
BIN
+24.5 KB
assets/font-css/fang-zheng-xiao-biao-song/cdbb7f848ed66c5e0a6696f523816342.woff2
Binary file not shown.
Binary file added
BIN
+36.7 KB
assets/font-css/fang-zheng-xiao-biao-song/ce8ffe7f43004ee29a57bbf8980553f9.woff2
Binary file not shown.
Binary file added
BIN
+55.3 KB
assets/font-css/fang-zheng-xiao-biao-song/d2a4bcba77a7d83f49a7b9f90f81006b.woff2
Binary file not shown.
Binary file added
BIN
+40.8 KB
assets/font-css/fang-zheng-xiao-biao-song/d37280700393104b61088a9c32ef395f.woff2
Binary file not shown.
Binary file added
BIN
+58.6 KB
assets/font-css/fang-zheng-xiao-biao-song/d404bf751ce2adc5cb3e83fcda0486ec.woff2
Binary file not shown.
Binary file added
BIN
+42.6 KB
assets/font-css/fang-zheng-xiao-biao-song/d4980eb518bf9ab5f2b0f157635c9565.woff2
Binary file not shown.
Binary file added
BIN
+49.2 KB
assets/font-css/fang-zheng-xiao-biao-song/d5930659380d38ec1659d352ad16e742.woff2
Binary file not shown.
Binary file added
BIN
+46.3 KB
assets/font-css/fang-zheng-xiao-biao-song/d7e7046de6f1179e76ea1c961ebe324c.woff2
Binary file not shown.
Binary file added
BIN
+48.3 KB
assets/font-css/fang-zheng-xiao-biao-song/dc3045efcd4f5616ca4e73d579620f8e.woff2
Binary file not shown.
Binary file added
BIN
+49.1 KB
assets/font-css/fang-zheng-xiao-biao-song/dd536285ab66d3a27d88112929e589cc.woff2
Binary file not shown.
Binary file added
BIN
+54 KB
assets/font-css/fang-zheng-xiao-biao-song/e5f6bf11367e26b67ae94c53669a3c94.woff2
Binary file not shown.
Binary file added
BIN
+25.9 KB
assets/font-css/fang-zheng-xiao-biao-song/e6cf0fb221e035ca9665b4985f101dc9.woff2
Binary file not shown.
Binary file added
BIN
+54.4 KB
assets/font-css/fang-zheng-xiao-biao-song/eb4d7d124d682c4b1b0688c30035ba2f.woff2
Binary file not shown.
Binary file added
BIN
+42.5 KB
assets/font-css/fang-zheng-xiao-biao-song/ee03a327b60c667e06152d5a13f9bdad.woff2
Binary file not shown.
Binary file added
BIN
+49.2 KB
assets/font-css/fang-zheng-xiao-biao-song/f09c26be78d23cf8b11c05a23a681cca.woff2
Binary file not shown.
Binary file added
BIN
+50.2 KB
assets/font-css/fang-zheng-xiao-biao-song/f0b130ea8a99b7ba298d20c6eda8ddd8.woff2
Binary file not shown.
Binary file added
BIN
+47 KB
assets/font-css/fang-zheng-xiao-biao-song/f30675ec6c6c2693ffa03b0b3a1f9f5e.woff2
Binary file not shown.
Binary file added
BIN
+43.5 KB
assets/font-css/fang-zheng-xiao-biao-song/f57d4db69b925e23011a7ea7f312a535.woff2
Binary file not shown.
Binary file added
BIN
+45.9 KB
assets/font-css/fang-zheng-xiao-biao-song/f6198472f141340ba545e09236401e7b.woff2
Binary file not shown.
Binary file added
BIN
+50.6 KB
assets/font-css/fang-zheng-xiao-biao-song/f7556137b1c6b7194f8df13c05959e24.woff2
Binary file not shown.
Binary file added
BIN
+43.4 KB
assets/font-css/fang-zheng-xiao-biao-song/f889aa5c09cadbab97bd473ad12a9e11.woff2
Binary file not shown.
Binary file added
BIN
+46.3 KB
assets/font-css/fang-zheng-xiao-biao-song/fe0f4330afae46207a9077fac5fc69a5.woff2
Binary file not shown.
Binary file added
BIN
+38.4 KB
assets/font-css/fang-zheng-xiao-biao-song/fed3132615fc06fe9723bfd8df46f9c0.woff2
Binary file not shown.
1,886 changes: 1,886 additions & 0 deletions
1,886
assets/font-css/fang-zheng-xiao-biao-song/index.css
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+65.7 KB
assets/font-css/source-serif-screen/009e84ce5520d81a2492a973be2826ac.woff2
Binary file not shown.
Binary file added
BIN
+32.6 KB
assets/font-css/source-serif-screen/028dc20ad5dc1030a39d0d196e0a662f.woff2
Binary file not shown.
Binary file added
BIN
+58.9 KB
assets/font-css/source-serif-screen/0792253c4f52da1c9928d7f31cac6906.woff2
Binary file not shown.
Binary file added
BIN
+51.1 KB
assets/font-css/source-serif-screen/083130497741f1585d9f77424e7d66c6.woff2
Binary file not shown.
Binary file added
BIN
+58.2 KB
assets/font-css/source-serif-screen/08df2f87fc565f300f30ba68d1dc994c.woff2
Binary file not shown.
Binary file added
BIN
+58.2 KB
assets/font-css/source-serif-screen/0988ab142b86e4c0ac0716b4a8aba1b2.woff2
Binary file not shown.
Binary file added
BIN
+59 KB
assets/font-css/source-serif-screen/0c797398f817a9596df44936c0f4eff6.woff2
Binary file not shown.
Binary file added
BIN
+57.5 KB
assets/font-css/source-serif-screen/0d6f323e7b64312a4ed3430e715e8f42.woff2
Binary file not shown.
Binary file added
BIN
+54 KB
assets/font-css/source-serif-screen/0e4e82e72d785ea7c40d4618eb6a2a78.woff2
Binary file not shown.
Binary file added
BIN
+57.6 KB
assets/font-css/source-serif-screen/0e875894490fd9e60b30e51f7af24af3.woff2
Binary file not shown.
Binary file added
BIN
+52.5 KB
assets/font-css/source-serif-screen/0e99fe3a6b7712413cf03614d30bca5d.woff2
Binary file not shown.
Binary file added
BIN
+58.3 KB
assets/font-css/source-serif-screen/132f3c57e278d26c9f8ae632227db7b9.woff2
Binary file not shown.
Binary file added
BIN
+66.4 KB
assets/font-css/source-serif-screen/14de2fec72584c4d40ff3492775fcf01.woff2
Binary file not shown.
Binary file added
BIN
+53.9 KB
assets/font-css/source-serif-screen/150cbd091223b2ebb6823b79892a877b.woff2
Binary file not shown.
Binary file added
BIN
+58.6 KB
assets/font-css/source-serif-screen/198fd57e73c1da78527b5d552191ff6b.woff2
Binary file not shown.
Binary file added
BIN
+64.1 KB
assets/font-css/source-serif-screen/1b95cdc8da73dd5516d5cf56c5a12c4e.woff2
Binary file not shown.
Binary file added
BIN
+54.8 KB
assets/font-css/source-serif-screen/1ea235bd4ccaa3b97bcb53ae510db4df.woff2
Binary file not shown.
Binary file added
BIN
+57.1 KB
assets/font-css/source-serif-screen/1eff7b250f059beb57579c8e7d3cc623.woff2
Binary file not shown.
Binary file added
BIN
+60.1 KB
assets/font-css/source-serif-screen/206eb5c7485fde14631e13bd02a3311f.woff2
Binary file not shown.
Binary file added
BIN
+51.3 KB
assets/font-css/source-serif-screen/24509af93f02d325f0232cc4deb6972b.woff2
Binary file not shown.
Binary file added
BIN
+52.1 KB
assets/font-css/source-serif-screen/2c1e55eef5255562d620193f9333217e.woff2
Binary file not shown.
Binary file added
BIN
+55.3 KB
assets/font-css/source-serif-screen/2ec9d4832992f121ec0e33a14e83139d.woff2
Binary file not shown.
Binary file added
BIN
+61.8 KB
assets/font-css/source-serif-screen/30b7fb46d53bd30acdafd50c7da09ea5.woff2
Binary file not shown.
Binary file added
BIN
+64.3 KB
assets/font-css/source-serif-screen/32d830356f2d29bc22c3ef4a9a981b9c.woff2
Binary file not shown.
Binary file added
BIN
+61.3 KB
assets/font-css/source-serif-screen/34227b1b6f40bff3a9399d87f2c30849.woff2
Binary file not shown.
Binary file added
BIN
+56.4 KB
assets/font-css/source-serif-screen/36955539682baff622f9d24b18374d5e.woff2
Binary file not shown.
Binary file added
BIN
+56.1 KB
assets/font-css/source-serif-screen/3caa3d724390009b973a25792c737e00.woff2
Binary file not shown.
Binary file added
BIN
+55.9 KB
assets/font-css/source-serif-screen/3cc2f44fdedae6faf612a8254865cf78.woff2
Binary file not shown.
Binary file added
BIN
+56.2 KB
assets/font-css/source-serif-screen/3d985809b18b27818003ea2f2dd37f88.woff2
Binary file not shown.
Binary file added
BIN
+55.9 KB
assets/font-css/source-serif-screen/3f8038a57ac3686193a6f608418c4087.woff2
Binary file not shown.
Binary file added
BIN
+57.3 KB
assets/font-css/source-serif-screen/40d7d5c90a06ab965a7d6c6ec9ce0c57.woff2
Binary file not shown.
Binary file added
BIN
+53.8 KB
assets/font-css/source-serif-screen/41964a7f078cc2cae7b7d80044591a4d.woff2
Binary file not shown.
Binary file added
BIN
+48.4 KB
assets/font-css/source-serif-screen/451511582aefe5bebd60a1bc6dd1c896.woff2
Binary file not shown.
Binary file added
BIN
+64.7 KB
assets/font-css/source-serif-screen/46ef182d3d8dceddf4a3eeb4b5986f97.woff2
Binary file not shown.
Binary file added
BIN
+66.9 KB
assets/font-css/source-serif-screen/477c58287169b92e2514ce752e3944fc.woff2
Binary file not shown.
Binary file added
BIN
+64.4 KB
assets/font-css/source-serif-screen/47b37b779a0c5a57c2e3739a73433400.woff2
Binary file not shown.
Binary file added
BIN
+63.3 KB
assets/font-css/source-serif-screen/4ee7c0af2ac73ebad51732884f7c5c4f.woff2
Binary file not shown.
Binary file added
BIN
+66.5 KB
assets/font-css/source-serif-screen/4fa65d9197d15bc2b08b8112c43c74fd.woff2
Binary file not shown.
Binary file added
BIN
+65.1 KB
assets/font-css/source-serif-screen/4fae24d7f7d8b44c022d3de730a000b3.woff2
Binary file not shown.
Binary file added
BIN
+67.1 KB
assets/font-css/source-serif-screen/4ff13ed48fb75297aa4c6af97df59488.woff2
Binary file not shown.
Binary file added
BIN
+64 KB
assets/font-css/source-serif-screen/50c8e6f6349b7f67024c2d98ecca024a.woff2
Binary file not shown.
Binary file added
BIN
+57.4 KB
assets/font-css/source-serif-screen/550dc53bbff3850d4f98df21fbf30499.woff2
Binary file not shown.
Binary file added
BIN
+52.2 KB
assets/font-css/source-serif-screen/56d94005f1396cb12305d0f5d10694dc.woff2
Binary file not shown.
Binary file added
BIN
+58.2 KB
assets/font-css/source-serif-screen/57cd2141da4b96be2147bf535f209f98.woff2
Binary file not shown.
Binary file added
BIN
+53.5 KB
assets/font-css/source-serif-screen/5912544411a7034b8e8da53cba81c25e.woff2
Binary file not shown.
Binary file added
BIN
+57.4 KB
assets/font-css/source-serif-screen/5a3def73807ca69c15873b9cfbd1c3f8.woff2
Binary file not shown.
Binary file added
BIN
+57.4 KB
assets/font-css/source-serif-screen/5b35a1eb1ecc0569b620e7498595f210.woff2
Binary file not shown.
Binary file added
BIN
+59.4 KB
assets/font-css/source-serif-screen/5be20a87636db4b5a4e66bce7c7d9821.woff2
Binary file not shown.
Binary file added
BIN
+58.4 KB
assets/font-css/source-serif-screen/5de53baf0dd327a63d21d1eb640f8460.woff2
Binary file not shown.
Binary file added
BIN
+57 KB
assets/font-css/source-serif-screen/5e061e630d93ce638bc565a4786b1673.woff2
Binary file not shown.
Binary file added
BIN
+56.6 KB
assets/font-css/source-serif-screen/6309749c50b4e005a19187c7047aaf38.woff2
Binary file not shown.
Binary file added
BIN
+66.2 KB
assets/font-css/source-serif-screen/6384a11cb04e4a92225eb843bbfe1756.woff2
Binary file not shown.
Binary file added
BIN
+57.3 KB
assets/font-css/source-serif-screen/646768b7506be849cca1f1239e5326e0.woff2
Binary file not shown.
Binary file added
BIN
+64.7 KB
assets/font-css/source-serif-screen/6529796818c746ca35a2269c0a8680a2.woff2
Binary file not shown.
Binary file added
BIN
+32.5 KB
assets/font-css/source-serif-screen/656364b09742cafeca77ab2b8e5a53a6.woff2
Binary file not shown.
Binary file added
BIN
+57.3 KB
assets/font-css/source-serif-screen/6758375c4e137bd1f26012afac0f6648.woff2
Binary file not shown.
Binary file added
BIN
+29.7 KB
assets/font-css/source-serif-screen/7096448a442c5e0ce052ca25ccd7a18c.woff2
Binary file not shown.
Binary file added
BIN
+97.1 KB
assets/font-css/source-serif-screen/70a0000fe31da33f81e1192a99f39f87.woff2
Binary file not shown.
Binary file added
BIN
+66.2 KB
assets/font-css/source-serif-screen/7133aa23ffe431468827f333e74e3a0e.woff2
Binary file not shown.
Binary file added
BIN
+19.4 KB
assets/font-css/source-serif-screen/727e3762cf690d40b5b8f34b3464f928.woff2
Binary file not shown.
Binary file added
BIN
+50.3 KB
assets/font-css/source-serif-screen/75bb80ec826be109ff407a5ec14ea7b0.woff2
Binary file not shown.
Binary file added
BIN
+64.8 KB
assets/font-css/source-serif-screen/771c6a351be63ada477a8c6b644d0777.woff2
Binary file not shown.
Binary file added
BIN
+64.9 KB
assets/font-css/source-serif-screen/77c1dfc72137e7fc1268016f5a38461a.woff2
Binary file not shown.
Binary file added
BIN
+59.9 KB
assets/font-css/source-serif-screen/78ab31a24f33f69c3ed3860f38a291ac.woff2
Binary file not shown.
Binary file added
BIN
+47.3 KB
assets/font-css/source-serif-screen/791a8ec22e5e69932d27dce44df83b23.woff2
Binary file not shown.
Binary file added
BIN
+53.4 KB
assets/font-css/source-serif-screen/79381c8377fe356e51efa64e55690037.woff2
Binary file not shown.
Binary file added
BIN
+58.5 KB
assets/font-css/source-serif-screen/79c8ba2cfc089ee3cf1f554dc93dd7ca.woff2
Binary file not shown.
Binary file added
BIN
+54.3 KB
assets/font-css/source-serif-screen/7dcb95acaf7b845fa24a00fc31e96b07.woff2
Binary file not shown.
Binary file added
BIN
+64.1 KB
assets/font-css/source-serif-screen/82d77c1a58d0ba7a37401b5cc5254c8b.woff2
Binary file not shown.
Binary file added
BIN
+34.7 KB
assets/font-css/source-serif-screen/85163c2506ec16c18e30aca0389abd56.woff2
Binary file not shown.
Binary file added
BIN
+57.1 KB
assets/font-css/source-serif-screen/8654229bcb7679dd0f20cc9d28f9619d.woff2
Binary file not shown.
Binary file added
BIN
+57.2 KB
assets/font-css/source-serif-screen/88531fd33909a2503de3f3b40a76c1a5.woff2
Binary file not shown.
Binary file added
BIN
+64.1 KB
assets/font-css/source-serif-screen/8ac32b1c4b1912e722bdf57243c1fa6e.woff2
Binary file not shown.
Binary file added
BIN
+51.2 KB
assets/font-css/source-serif-screen/8cf48f23e19fca79828c222d8d09228f.woff2
Binary file not shown.
Binary file added
BIN
+56.6 KB
assets/font-css/source-serif-screen/8dcbd939c7c0544ab540490f59b3d35c.woff2
Binary file not shown.
Binary file added
BIN
+51.8 KB
assets/font-css/source-serif-screen/922c4562f58d1f5f37acfd0abb1a9f17.woff2
Binary file not shown.
Binary file added
BIN
+67.1 KB
assets/font-css/source-serif-screen/927da18d184e8cbba028303985901ba2.woff2
Binary file not shown.
Binary file added
BIN
+48 KB
assets/font-css/source-serif-screen/99b733a554975a23ba28e7308667fb9e.woff2
Binary file not shown.
Binary file added
BIN
+65.4 KB
assets/font-css/source-serif-screen/a44924fdf29ec4d2a673b403f94d5f32.woff2
Binary file not shown.
Binary file added
BIN
+56.6 KB
assets/font-css/source-serif-screen/a5bd6585b76f9346764598c8d9834dde.woff2
Binary file not shown.
Binary file added
BIN
+62.1 KB
assets/font-css/source-serif-screen/a6c3e66312f51aa1b0c8894c8a75dc46.woff2
Binary file not shown.
Binary file added
BIN
+55.3 KB
assets/font-css/source-serif-screen/a747c565056b919518d5e62546d8bc73.woff2
Binary file not shown.
Binary file added
BIN
+61.7 KB
assets/font-css/source-serif-screen/a7f252d965652ba2c152d5671b6b5362.woff2
Binary file not shown.
Binary file added
BIN
+56.2 KB
assets/font-css/source-serif-screen/a9be6727ab8793f7542a5ef66b9ee8b0.woff2
Binary file not shown.
Binary file added
BIN
+56.7 KB
assets/font-css/source-serif-screen/aa7123f59dc0b3d790f321d382b969f9.woff2
Binary file not shown.
Binary file added
BIN
+55.1 KB
assets/font-css/source-serif-screen/ad1419a6c19ff7af5a9a4fff8a7ce1e8.woff2
Binary file not shown.
Binary file added
BIN
+57.4 KB
assets/font-css/source-serif-screen/af194b425d67dd86b4faa22bb2682f00.woff2
Binary file not shown.
Binary file added
BIN
+49.6 KB
assets/font-css/source-serif-screen/af83973e5aa59e15bf1ba6ab9616ee45.woff2
Binary file not shown.
Binary file added
BIN
+55.8 KB
assets/font-css/source-serif-screen/b418f642f99c7c24a982e3247e990c1b.woff2
Binary file not shown.
Binary file added
BIN
+66.1 KB
assets/font-css/source-serif-screen/b6f524eaae0f6299d5582facf2bcbc1e.woff2
Binary file not shown.
Binary file added
BIN
+54.2 KB
assets/font-css/source-serif-screen/b8f85b6258c0c4ca4566aaee9d22641e.woff2
Binary file not shown.
Binary file added
BIN
+57.1 KB
assets/font-css/source-serif-screen/bccf65e25d8f8a1726b0480d57a81b0c.woff2
Binary file not shown.
Binary file added
BIN
+49.9 KB
assets/font-css/source-serif-screen/be7f0fb01fe7e5883480e2d916da2bdf.woff2
Binary file not shown.
Binary file added
BIN
+58.3 KB
assets/font-css/source-serif-screen/c00391e3c90e517453447ab8040b1fb2.woff2
Binary file not shown.
Binary file added
BIN
+51.9 KB
assets/font-css/source-serif-screen/c2a0b1efd115f65122e48256a59864e5.woff2
Binary file not shown.
Binary file added
BIN
+63.3 KB
assets/font-css/source-serif-screen/c2f5ffb81567759b8aea976b0b027dc9.woff2
Binary file not shown.
Binary file added
BIN
+53.9 KB
assets/font-css/source-serif-screen/c67af1ee6fb7217a2a80ca7808faed15.woff2
Binary file not shown.
Binary file added
BIN
+62.7 KB
assets/font-css/source-serif-screen/c7227144e726f165440c635db99ad254.woff2
Binary file not shown.
Binary file added
BIN
+29.8 KB
assets/font-css/source-serif-screen/c872ef13579654f297f88962c662c660.woff2
Binary file not shown.
Binary file added
BIN
+54.7 KB
assets/font-css/source-serif-screen/c8d7e0cd3726a411d7a2c7286941561a.woff2
Binary file not shown.
Binary file added
BIN
+55.2 KB
assets/font-css/source-serif-screen/c962355db5bf6c38a1c5202284dad6b2.woff2
Binary file not shown.
Binary file added
BIN
+61.9 KB
assets/font-css/source-serif-screen/ca31b4daf17d70fb9a64ff68eaa1784a.woff2
Binary file not shown.
Binary file added
BIN
+17.8 KB
assets/font-css/source-serif-screen/ca4f0b37dd37b2cd01b5c7ed6d6225ea.woff2
Binary file not shown.
Binary file added
BIN
+58.6 KB
assets/font-css/source-serif-screen/ca62001c89321523b44d7872745f4ab9.woff2
Binary file not shown.
Binary file added
BIN
+59.6 KB
assets/font-css/source-serif-screen/cc8474ce270dddcc7f37d0169875bc9f.woff2
Binary file not shown.
Binary file added
BIN
+56.7 KB
assets/font-css/source-serif-screen/d46430978412b466977dfbf91a978e0e.woff2
Binary file not shown.
Binary file added
BIN
+58.7 KB
assets/font-css/source-serif-screen/d4f698d5396e2a2515bb575a01031766.woff2
Binary file not shown.
Binary file added
BIN
+53.3 KB
assets/font-css/source-serif-screen/d585149cfe2650697e7d82ee7281e87a.woff2
Binary file not shown.
Binary file added
BIN
+62.6 KB
assets/font-css/source-serif-screen/d7f71681437e84966b951baa72cb00fe.woff2
Binary file not shown.
Binary file added
BIN
+53 KB
assets/font-css/source-serif-screen/d86a9b4883abb3b5474536164bd0dddd.woff2
Binary file not shown.
Binary file added
BIN
+54.1 KB
assets/font-css/source-serif-screen/d8fe9a113eb57c72e76977b0e93155a9.woff2
Binary file not shown.
Binary file added
BIN
+58.4 KB
assets/font-css/source-serif-screen/d9380f0c72f7547e9730c0c505a486d7.woff2
Binary file not shown.
Binary file added
BIN
+64.9 KB
assets/font-css/source-serif-screen/da9e550b6b18b507ef820372605ad217.woff2
Binary file not shown.
Binary file added
BIN
+65.2 KB
assets/font-css/source-serif-screen/dcbc39cae9d9e2deb7c769851b3e3269.woff2
Binary file not shown.
Binary file added
BIN
+47.9 KB
assets/font-css/source-serif-screen/de7eedcc72875ac2375f1db6bcc51ca0.woff2
Binary file not shown.
Binary file added
BIN
+63.2 KB
assets/font-css/source-serif-screen/dfc488589ada122b19327c14721208d4.woff2
Binary file not shown.
Binary file added
BIN
+64.5 KB
assets/font-css/source-serif-screen/e576701f654f23476e7bdb6895ab2b7a.woff2
Binary file not shown.
Binary file added
BIN
+65.2 KB
assets/font-css/source-serif-screen/e5f9d12fc48bcfdf1e8ad22f9ea35e9c.woff2
Binary file not shown.
Binary file added
BIN
+58.7 KB
assets/font-css/source-serif-screen/e6992f8f252bb2b7a643439cb6b70146.woff2
Binary file not shown.
Binary file added
BIN
+47.1 KB
assets/font-css/source-serif-screen/e6d5b6332e5e56f30b9cd34569c84a10.woff2
Binary file not shown.
Binary file added
BIN
+56.2 KB
assets/font-css/source-serif-screen/e8ab712029ae6bef06c506211cbda675.woff2
Binary file not shown.
Binary file added
BIN
+61.3 KB
assets/font-css/source-serif-screen/e8e622f9f293f1482f7088aa5426a364.woff2
Binary file not shown.
Binary file added
BIN
+52.4 KB
assets/font-css/source-serif-screen/ea61f5ea62223bbb27355230a738cd32.woff2
Binary file not shown.
Binary file added
BIN
+50 KB
assets/font-css/source-serif-screen/ea868b8e4847f0e9fa45ec9610681be6.woff2
Binary file not shown.
Binary file added
BIN
+60.9 KB
assets/font-css/source-serif-screen/ea88362ea90145ee4b76a1bf1ae5f1ac.woff2
Binary file not shown.
Binary file added
BIN
+65.3 KB
assets/font-css/source-serif-screen/eb65e07f60c61b6d95f9d9b60a049052.woff2
Binary file not shown.
Binary file added
BIN
+65.2 KB
assets/font-css/source-serif-screen/eb6b240a65f4ef92377c44147fa96e6b.woff2
Binary file not shown.
Binary file added
BIN
+56.3 KB
assets/font-css/source-serif-screen/ecf7e75e66c4ef1089552347eb604f5a.woff2
Binary file not shown.
Binary file added
BIN
+55.7 KB
assets/font-css/source-serif-screen/ed11cd440b6d89d84dbd16fc66cc6a81.woff2
Binary file not shown.
Binary file added
BIN
+30 KB
assets/font-css/source-serif-screen/f0878b79e8f8fc48d00a58088e2ffef8.woff2
Binary file not shown.
Binary file added
BIN
+51.3 KB
assets/font-css/source-serif-screen/f14d876eaf00a85c93832c7ffbf1ea19.woff2
Binary file not shown.
Binary file added
BIN
+57.9 KB
assets/font-css/source-serif-screen/f31685b16b2e9837802a7cb887ca069c.woff2
Binary file not shown.
Binary file added
BIN
+47 KB
assets/font-css/source-serif-screen/f3d61aa8d7ad0d96eefd58296543fe5d.woff2
Binary file not shown.
Binary file added
BIN
+63.9 KB
assets/font-css/source-serif-screen/f3fe197399c896f8030a658a4fcee543.woff2
Binary file not shown.
Binary file added
BIN
+41.9 KB
assets/font-css/source-serif-screen/f5b3031cfd826b92d0245ac1a006130a.woff2
Binary file not shown.
Binary file added
BIN
+51.3 KB
assets/font-css/source-serif-screen/f91ab4bd2aa6b73700abafcc583ef1c1.woff2
Binary file not shown.
Binary file added
BIN
+14.2 KB
assets/font-css/source-serif-screen/f9c68c3a6b4d10434bf01d40b06a6cd4.woff2
Binary file not shown.
Binary file added
BIN
+50.5 KB
assets/font-css/source-serif-screen/fa83dcba819bf54a89abde05ad8d44be.woff2
Binary file not shown.
Binary file added
BIN
+66.5 KB
assets/font-css/source-serif-screen/ff4bf8a6833950f816456e84e33ed4c0.woff2
Binary file not shown.
Binary file added
BIN
+53.7 KB
assets/font-css/source-serif-screen/ffff91aec3e4703a87594d5d423d2751.woff2
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
import { SocialIcons } from "@/components/utils/SocialIcons"; | ||
import { Config } from "@/data/config"; | ||
import { fontFangZhengXiaoBiaoSongCN, fontSourceSerifScreenCN } from "@/styles/font"; | ||
|
||
export const HomeCover = () => { | ||
return ( | ||
<> | ||
<div | ||
className="mb-20 mt-5 flex w-full justify-center rounded-xl" | ||
style={{ | ||
aspectRatio: "4/1", | ||
background: `url(${Config.PageCovers.websiteCoverURL})`, | ||
backgroundSize: "cover", | ||
}} | ||
> | ||
<img | ||
className="relative top-1/2 my-auto h-24 w-24 rounded-full shadow-2xl md:h-32 md:w-32" | ||
alt={Config.Nickname} | ||
src={Config.AvatarURL} | ||
/> | ||
</div> | ||
<div className={`${fontFangZhengXiaoBiaoSongCN.className} my-8 text-center text-4xl font-bold`}> | ||
{Config.Nickname} | ||
<div className="w-full"> | ||
<div | ||
className="mb-20 mt-5 flex w-full justify-center rounded-xl" | ||
style={{ | ||
aspectRatio: "4/1", | ||
background: `url(${Config.PageCovers.websiteCoverURL})`, | ||
backgroundSize: "cover", | ||
}} | ||
> | ||
<img | ||
alt={Config.Nickname} | ||
className="relative top-1/2 my-auto h-24 w-24 rounded-full shadow-2xl md:h-32 md:w-32" | ||
src={Config.AvatarURL} | ||
/> | ||
</div> | ||
</div> | ||
<SocialIcons /> | ||
<div className={`font-fang-zheng-xiao-biao-song my-8 text-center text-4xl font-bold`}>{Config.Nickname}</div> | ||
{Config.Sentence && ( | ||
<div className="my-8 flex justify-center"> | ||
<p className={`${fontSourceSerifScreenCN.className} text-lg`}>{Config.Sentence}</p> | ||
<div className="my-5 flex justify-center"> | ||
<p className={`font-source-serif-screen text-lg`}>{Config.Sentence}</p> | ||
</div> | ||
)} | ||
<div className="my-8"> | ||
<SocialIcons /> | ||
</div> | ||
</> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const Blockquote = (props: JSX.IntrinsicElements["blockquote"]) => { | ||
return ( | ||
<blockquote | ||
className={ | ||
"not-prose scroll-mt-20 my-5 px-5 py-4 bg-gray-100 dark:bg-gray-800 dark:border-gray-700 border-gray-300 border-l-4" | ||
} | ||
> | ||
{props.children} | ||
</blockquote> | ||
); | ||
}; | ||
|
||
export default Blockquote; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { fontFangZhengXiaoBiaoSongCN } from "@/styles/font"; | ||
|
||
export const H2 = (props: JSX.IntrinsicElements["h2"]) => { | ||
const H2 = (props: JSX.IntrinsicElements["h2"]) => { | ||
return ( | ||
<h2 className={`${fontFangZhengXiaoBiaoSongCN.className} mt-4 mb-2 scroll-mt-20`} id={props.id}> | ||
<h2 className={`font-fang-zheng-xiao-biao-song scroll-mt-20`} id={props.id}> | ||
{props.children} | ||
</h2> | ||
); | ||
}; | ||
|
||
export default H2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Config } from "@/data/config"; | ||
|
||
export const BottomCard = () => { | ||
return ( | ||
<div className="p-8 w-full flex flex-col justify-center"> | ||
<img alt={Config.AuthorName} className="h-24 w-24 rounded-full mx-auto" src={Config.AvatarURL} /> | ||
<p className="mx-auto mt-5 font-source-serif-screen">{Config.Sentence}</p> | ||
</div> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,31 @@ | ||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; | ||
import { useActiveHeading } from "@/hooks/useActiveHeading"; | ||
import { TTOCItem } from "@/types/toc.type"; | ||
import Link from "next/link"; | ||
import { twMerge } from "tailwind-merge"; | ||
import { Separator } from "../ui/separator"; | ||
|
||
export const TOC = (props: { data: TTOCItem[] }) => { | ||
const activeId = useActiveHeading(props.data.map((item) => `#${item.anchorId}`)); | ||
|
||
return ( | ||
<Card className="sticky top-[5em] mx-5"> | ||
<CardHeader className="p-3"> | ||
<CardTitle className="text-lg text-center">{"TABLE OF CONTENTS"}</CardTitle> | ||
</CardHeader> | ||
<Separator /> | ||
<CardContent className="px-2 py-2 h-[60vh] overflow-y-auto flat-scrollbar-normal"> | ||
<ul> | ||
<div className="mx-5"> | ||
<div className="text-lg text-center p-2 font-bold border-t-2 border-b-2 border-gray-500"> | ||
{"TABLE OF CONTENTS"} | ||
</div> | ||
<div className="px-2 py-2 h-[60vh] overflow-y-auto flat-scrollbar-normal"> | ||
<div> | ||
{props.data?.map((item) => ( | ||
<Link className={""} href={`#${item.anchorId}`} key={`toc-${item.anchorId}`}> | ||
<li | ||
<Link href={`#${item.anchorId}`} key={`toc-${item.anchorId}`}> | ||
<div | ||
className={twMerge( | ||
`py-2 text-sm rounded-lg hover:bg-gray-100 hover:dark:bg-gray-900`, | ||
activeId === `#${item.anchorId}` ? "bg-gray-100 dark:bg-gray-900 text-sky-700 dark:text-sky-500" : "", | ||
`py-2 text-sm rounded-lg hover:text-sky-700 dark:hover:text-sky-400`, | ||
activeId === `#${item.anchorId}` ? "text-sky-700 dark:text-sky-400" : "", | ||
)} | ||
style={{ paddingLeft: `${item.level - 1}em` }} | ||
>{`${item.title}`}</li> | ||
>{`${item.title}`}</div> | ||
</Link> | ||
))} | ||
</ul> | ||
</CardContent> | ||
</Card> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; |
Oops, something went wrong.