mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-05 07:56:15 +02:00
chore: rename docs to resources
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import React, { PropsWithChildren } from "react"
|
||||
import * as SC from "./styles"
|
||||
|
||||
export interface ResourcesSidebarSectionProps {
|
||||
readonly title: string
|
||||
}
|
||||
|
||||
export function ResourcesSidebarSection({
|
||||
title,
|
||||
children,
|
||||
}: PropsWithChildren<ResourcesSidebarSectionProps>) {
|
||||
return (
|
||||
<div>
|
||||
<SC.SidebarTitle>{title}</SC.SidebarTitle>
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import styled from "styled-components"
|
||||
|
||||
export const SidebarTitle = styled.h3`
|
||||
text-transform: uppercase;
|
||||
`
|
||||
Reference in New Issue
Block a user