Skip to content

Commit

Permalink
fixing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
litenull committed Oct 28, 2021
1 parent 89c4cfb commit 2a13a88
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
3 changes: 2 additions & 1 deletion components/BorderBox.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react"
import { Box } from "@chakra-ui/react"

export default function Render(props) {
Expand All @@ -19,4 +20,4 @@ export default function Render(props) {
{children}
</Box>
)
}
}
5 changes: 3 additions & 2 deletions components/ContributionOption.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Grid, GridItem, Image, Text, Button } from "@chakra-ui/react"
import React from "react"
import { Grid, GridItem, Text, Button } from "@chakra-ui/react"

export default function Render ({
title,
Expand Down Expand Up @@ -31,4 +32,4 @@ export default function Render ({
</Grid>
</GridItem>
)
}
}
3 changes: 2 additions & 1 deletion components/RecentProject.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react"
import { GridItem, Box, Heading, Link } from "@chakra-ui/react"

export default function Render({ project }) {
Expand Down Expand Up @@ -30,4 +31,4 @@ export default function Render({ project }) {
</Box>
</GridItem>
)
}
}
3 changes: 2 additions & 1 deletion components/SubHeading.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from "react"
import { Heading } from "@chakra-ui/react"

export default function Render (props) {
Expand All @@ -6,4 +7,4 @@ export default function Render (props) {
{props.title}
</Heading>
)
}
}
9 changes: 0 additions & 9 deletions pages/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from "react"
import {
extendTheme,
Link,
Heading,
Text,
Expand All @@ -27,14 +26,6 @@ createBreakpoints({
lg: "62em"
})

const theme = extendTheme({
fonts: {
heading: "Sora",
body: "Sora",
},
})


const FeaturedProjectsList = () => {
const { projects, bottom_image } = attributes;

Expand Down
1 change: 0 additions & 1 deletion pages/projects/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import PropTypes from 'prop-types'
import { extendTheme, Button, ChakraProvider, Link, Heading, Text, Box, Avatar, Grid, GridItem } from "@chakra-ui/react"
import { createBreakpoints } from "@chakra-ui/theme-tools"
import matter from 'gray-matter';
import StyledButton from '../../components/StyledButton';
import getStaticFilesFrontMatter from '../../getStatic';
import Footer from "../../components/Footer";

Expand Down

0 comments on commit 2a13a88

Please sign in to comment.