Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
07d1f80
Curie updates (#271)
isabellewei Jun 18, 2024
40c2df2
curie-update-libzkp-version
Jun 20, 2024
7dc2fbe
Merge pull request #276 from scroll-tech/curie-upgrade-update-circuit…
colinlyguo Jun 20, 2024
eaa7858
security nit
isabellewei Jun 20, 2024
403edec
move contact info into highlight
isabellewei Jun 20, 2024
2055873
change Aside type
isabellewei Jun 20, 2024
84689dd
Merge pull request #277 from scroll-tech/isabellewei/security
Jun 21, 2024
e064a7b
Update running-a-scroll-node.mdx (#278)
Thegaram Jun 24, 2024
3930a4c
nodeKey hashing are done with domain 512 not 256
jimjimvalkema Jun 25, 2024
8e81ea8
Merge pull request #282 from jimjimvalkema/patch-1
dghelm Jun 27, 2024
5c695f2
add get in touch button
zzq0826 Jul 3, 2024
94cfcdd
Revert "add get in touch button"
zzq0826 Jul 3, 2024
654f88a
Add get in touch button
zzq0826 Jul 3, 2024
1fa78f5
Update style
zzq0826 Jul 3, 2024
88c405d
Fix typo
zzq0826 Jul 3, 2024
907636c
Remove button
zzq0826 Jul 3, 2024
06762a0
Make the sidebar collapsible.
zzq0826 Jul 3, 2024
d89b925
Update style
zzq0826 Jul 3, 2024
c304f38
Add link
zzq0826 Jul 4, 2024
25a4e04
Curie update details (#286)
isabellewei Jul 5, 2024
af03e20
feat: add note about tx ordering (#296)
Thegaram Jul 10, 2024
7766afb
Update info on opcodes (#297)
isabellewei Jul 12, 2024
e115453
Add Tooling deployed On Scroll (#258)
zzq0826 Jul 16, 2024
5aba47e
Adjust darkmode color
zzq0826 Jul 17, 2024
284bc12
Merge pull request #301 from scroll-tech/sibebar-improvement
dghelm Jul 18, 2024
a97dce7
Merge pull request #290 from scroll-tech/add-get-in-touch-button
dghelm Jul 18, 2024
d554c8f
Fix tabs style and adjust text contrast
zzq0826 Jul 22, 2024
ae30f0c
Syntax Highlighting
zzq0826 Jul 22, 2024
ed2922a
Add steps component
zzq0826 Jul 22, 2024
ce8cfd6
Update astro.config.ts
zzq0826 Jul 22, 2024
1dd9c08
Merge pull request #303 from scroll-tech/dark-mode-style
dghelm Jul 22, 2024
40b3c8a
Merge pull request #304 from scroll-tech/syntax-highlighting
dghelm Jul 22, 2024
c7f3925
Merge pull request #306 from scroll-tech/steps-component
dghelm Jul 22, 2024
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
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,24 @@ npm install && npm run dev
- All articles are markdown and stored in `/src/content/docs/`.
- Navigation is JSON in `/src/config/sidebar.ts`

## Tooling on Scroll

If you'd like to add an entry to our [tooling list](http://docs.scroll.xyz/en/developers/scroll-contracts), create a PR to add a new `mdx` file in the [tooling content folder](src/content/tools), using the following template. You can also refer to other existing entries for reference.

```
---
name: "Safe"
category: ["Identity", "Wallet"]
excerpt: "Safe allows you to create smart wallet on chain."
logo: { src: "https://app.safe.global/images/safe-logo-green.png", alt: "Safe Logo" }
website: "https://app.safe.global"
network: ["Mainnet", "Testnet]
noAdditionalInfo: false
---

Add additional info here about how to access this tool on Scroll (ex. contract addresses, tutorials, API URLs)
```

## Credits

- Special thanks to the Chainlink team whose documentation we forked. Their repo is available [here](https://github.com/smartcontractkit/documentation) and viewable at [https://docs.chain.link/](https://docs.chain.link/).
17 changes: 17 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import sitemap from "@astrojs/sitemap"

import tailwind from "@astrojs/tailwind"

import expressiveCode from "astro-expressive-code"

// https://astro.build/config
export default defineConfig({
site: "https://docs.scroll.io",
Expand All @@ -38,6 +40,21 @@ export default defineConfig({
}),
astroCallouts(),
solidityRemixCode(),
expressiveCode({
themes: ["dark-plus"],
defaultProps: {
frame: "code",
},
styleOverrides: {
borderRadius: "27px",
borderColor: "transparent",
frames: {
shadowColor: "transparent",
editorTabBorderRadius: "0.5rem",
editorBackground: "#2b2b2b",
},
},
}),
mdx(),
tailwind({
applyBaseStyles: false,
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@astrojs/tailwind": "^5.1.0",
"@nanostores/preact": "^0.3.1",
"astro-auto-import": "^0.4.2",
"astro-expressive-code": "^0.35.3",
"astro-i18next": "^1.0.0-beta.21",
"clipboard": "^2.0.11",
"ethereum-rpc-table": "^0.0.1",
Expand All @@ -42,6 +43,7 @@
"query-string": "^7.1.1",
"react-instantsearch-hooks-web": "^6.38.1",
"react-mailchimp-subscribe": "^2.1.3",
"rehype-format": "^5.0.0",
"rehype-katex": "^7.0.0",
"rehype-mermaidjs": "^1.0.1",
"remark-gfm": "^4.0.0",
Expand Down
3 changes: 3 additions & 0 deletions public/assets/github-white-800.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"erc1155TokenBridge": "ERC1155 Token Bridge",
"theScrollMessenger": "The Scroll Messenger",
"transactionFeesOnScroll": "Transaction Fees on Scroll",
"toolingDeployedOnScroll": "Tooling deployed On Scroll",
"l2Fee": "L2 Fee",
"l1Fee": "L1 Fee",
"gasOracle": "Gas Oracle",
Expand Down
25 changes: 25 additions & 0 deletions public/scroll-docs-white-800.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/svgs/header/sun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/assets/svgs/home/Note.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Aside.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const icons = {

<aside class={`content ${type}`} aria-label={title}>
<div class="icon">
<span class="inline-block w-[1.5rem] h-[1.5rem] text-black dark:text-white">
<span class="inline-block w-[1.5rem] h-[1.5rem] text-black dark:text-white-800">
<Fragment set:html={icons[type]} />
</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer/Subscribe/EmailInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const EmailInput = (props) => {
onKeyDown={handleEnter}
className={clsx(
styles.inputBase,
"dark:text-white",
"dark:text-white-800",
"dark:bg-black",
"dark:border-white",
"dark:border-white-800",
"placeholder:text-[#dcdcdc]",
"placeholder:dark:text-[#FFF8F366]",
"focus:outline-none"
Expand Down
1 change: 0 additions & 1 deletion src/components/HeadCommon.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import "../styles/theme.css"
import "../styles/index.css"
import "../styles/migrated.css"
import "../styles/prism-darcula.css"
import "../styles/copy-to-clipboard.css"

import "../styles/design-system/global-styles.css"
---
Expand Down
Loading