Skip to content

Commit

Permalink
Fix: guide.scroll.io -> docs.scroll.xyz + rightsidebar margins
Browse files Browse the repository at this point in the history
Guide.scroll.io in footer -> https://docs.scroll.xyz

+ rightside bar margin changed according to Daniel preference: bottom marging slightly adjusted and top margin adjusted to match
  • Loading branch information
stateofkate0 committed Aug 7, 2023
1 parent bc968a2 commit d60a814
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions src/components/Footer/helper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ const DiscordIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
</svg>
)
const GithubIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="17" viewBox="0 0 18 17" fill="currentColor">
<path d="M8.81364 0C4.1173 0 0.313477 3.90255 0.313477 8.71559C0.313477 12.5672 2.74864 15.8333 6.12546 16.9849C6.55047 17.0671 6.7062 16.7972 6.7062 16.5657C6.7062 16.3589 6.69923 15.8104 6.69557 15.0839C4.33113 15.6095 3.83241 13.9146 3.83241 13.9146C3.44559 12.9088 2.88677 12.6396 2.88677 12.6396C2.11677 12.0995 2.9462 12.1106 2.9462 12.1106C3.79987 12.1712 4.24812 13.0086 4.24812 13.0086C5.00617 14.3411 6.23803 13.9562 6.7238 13.7337C6.80017 13.1697 7.01931 12.7862 7.26203 12.5683C5.3744 12.3503 3.39014 11.6006 3.39014 8.26138C3.39014 7.31 3.71952 6.53254 4.26506 5.92277C4.16943 5.70242 3.88255 4.81617 4.33943 3.61602C4.33943 3.61602 5.05132 3.38251 6.67698 4.50955C7.35699 4.31588 8.07951 4.21991 8.80202 4.2154C9.52454 4.21991 10.247 4.31588 10.9271 4.50955C12.5421 3.38251 13.254 3.61602 13.254 3.61602C13.7109 4.81651 13.424 5.70242 13.339 5.92277C13.8809 6.53254 14.2103 7.31 14.2103 8.26138C14.2103 11.6096 12.2233 12.3465 10.3321 12.561C10.6296 12.8226 10.9058 13.3571 10.9058 14.1738C10.9058 15.3399 10.8952 16.2771 10.8952 16.5605C10.8952 16.7888 11.0439 17.0615 11.4796 16.9746C14.8803 15.8305 17.3135 12.562 17.3135 8.71629C17.3138 3.90255 13.508 0 8.81364 0Z" fill="currentColor"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="17" viewBox="0 0 18 17" fill="currentColor">
<path
d="M8.81364 0C4.1173 0 0.313477 3.90255 0.313477 8.71559C0.313477 12.5672 2.74864 15.8333 6.12546 16.9849C6.55047 17.0671 6.7062 16.7972 6.7062 16.5657C6.7062 16.3589 6.69923 15.8104 6.69557 15.0839C4.33113 15.6095 3.83241 13.9146 3.83241 13.9146C3.44559 12.9088 2.88677 12.6396 2.88677 12.6396C2.11677 12.0995 2.9462 12.1106 2.9462 12.1106C3.79987 12.1712 4.24812 13.0086 4.24812 13.0086C5.00617 14.3411 6.23803 13.9562 6.7238 13.7337C6.80017 13.1697 7.01931 12.7862 7.26203 12.5683C5.3744 12.3503 3.39014 11.6006 3.39014 8.26138C3.39014 7.31 3.71952 6.53254 4.26506 5.92277C4.16943 5.70242 3.88255 4.81617 4.33943 3.61602C4.33943 3.61602 5.05132 3.38251 6.67698 4.50955C7.35699 4.31588 8.07951 4.21991 8.80202 4.2154C9.52454 4.21991 10.247 4.31588 10.9271 4.50955C12.5421 3.38251 13.254 3.61602 13.254 3.61602C13.7109 4.81651 13.424 5.70242 13.339 5.92277C13.8809 6.53254 14.2103 7.31 14.2103 8.26138C14.2103 11.6096 12.2233 12.3465 10.3321 12.561C10.6296 12.8226 10.9058 13.3571 10.9058 14.1738C10.9058 15.3399 10.8952 16.2771 10.8952 16.5605C10.8952 16.7888 11.0439 17.0615 11.4796 16.9746C14.8803 15.8305 17.3135 12.562 17.3135 8.71629C17.3138 3.90255 13.508 0 8.81364 0Z"
fill="currentColor"
/>
</svg>
)
const YoutubeIcon: React.FC<React.SVGProps<SVGSVGElement>> = (props) => (
<svg width="19" height="13" viewBox="0 0 19 13" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
Expand Down Expand Up @@ -51,7 +54,7 @@ export const resourceList = [
},
{
name: "User Guide",
href: "https://guide.scroll.io/",
href: "https://docs.scroll.xyz/",
},
{
name: "Press Kit",
Expand Down
2 changes: 1 addition & 1 deletion src/components/RightSidebar/RightSidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const { content, githubEditUrl, headings, clientSideToc } = Astro.props
@apply !mb-6;
}
.sidebar-nav-inner {
padding: 16px 20px 70px 4px;
padding: 20px 20px 20px 4px;
overflow: auto;
background: #fff8f3;
border-radius: 1em;
Expand Down

0 comments on commit d60a814

Please sign in to comment.