Skip to content

Commit

Permalink
Remove Gatsby and add static index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelscruz committed Jan 27, 2021
1 parent bb2c0ce commit 394f0f7
Show file tree
Hide file tree
Showing 54 changed files with 64 additions and 863 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module.exports = {
browser: true,
commonjs: true,
es2021: true,
ecmaVersion: true,
},
extends: 'eslint:recommended',
parserOptions: {
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ yarn-error.log*
.vercel

# gatsby
.cache
public
.cache
2 changes: 0 additions & 2 deletions gatsby-browser.js

This file was deleted.

56 changes: 0 additions & 56 deletions gatsby-config.js

This file was deleted.

34 changes: 0 additions & 34 deletions gatsby-node.js

This file was deleted.

7 changes: 0 additions & 7 deletions gatsby-ssr.js

This file was deleted.

File renamed without changes
File renamed without changes
19 changes: 19 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="icon" href="./assets/images/favicon.png" type="image/x-icon" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">

<title>Dev Resources API</title>
</head>
<body>
<img src="./assets/images/logo.svg" alt="Dev Resources API">

<p><a href="https://github.com/marcelscruz/dev-resources-api">Visit our GitHub repository</a> for instructions on how to use it and how to collaborate.</p>
</body>
</html>
44 changes: 44 additions & 0 deletions public/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
* {
margin: 0;
padding: 0;
}

body {
align-items: center;
background-color: #0A0B0D;
box-sizing: border-box;
color: #FFFFFF;
display: flex;
flex-direction: column;
font-family: 'Inter', sans-serif;
height: 100vh;
justify-content: center;
padding: 20px;
width: 100vw;
}

a,
a:visited,
a:active {
color: #FFFFFF;
}


img {
height: 20px;
margin-bottom: 50px;
}

p {
text-align: center;
}

@media screen and (min-width: 500px) {
img {
height: 40px;
}

p {
font-size: 18px;
}
}
Binary file removed src/assets/fonts/Inter/Inter-Black.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-Bold.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-ExtraBold.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-ExtraLight.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-Light.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-Medium.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-Regular.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-SemiBold.ttf
Binary file not shown.
Binary file removed src/assets/fonts/Inter/Inter-Thin.ttf
Binary file not shown.
80 changes: 0 additions & 80 deletions src/assets/fonts/Inter/Inter.css

This file was deleted.

Binary file removed src/assets/fonts/RobotoMono/RobotoMono-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed src/assets/fonts/RobotoMono/RobotoMono-Italic.ttf
Binary file not shown.
Binary file removed src/assets/fonts/RobotoMono/RobotoMono-Light.ttf
Binary file not shown.
Binary file not shown.
Binary file removed src/assets/fonts/RobotoMono/RobotoMono-Medium.ttf
Binary file not shown.
Binary file not shown.
Binary file removed src/assets/fonts/RobotoMono/RobotoMono-Regular.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed src/assets/fonts/RobotoMono/RobotoMono-Thin.ttf
Binary file not shown.
Binary file not shown.
62 changes: 0 additions & 62 deletions src/assets/fonts/RobotoMono/RobotoMono.css

This file was deleted.

55 changes: 0 additions & 55 deletions src/components/header.js

This file was deleted.

Loading

0 comments on commit 394f0f7

Please sign in to comment.