Skip to content

Commit

Permalink
[example] Edit assets to match the app
Browse files Browse the repository at this point in the history
  • Loading branch information
yamankatby committed Sep 1, 2021
1 parent d0f8bc3 commit 345b647
Show file tree
Hide file tree
Showing 8 changed files with 650 additions and 8 deletions.
5 changes: 4 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@
"@emotion/styled": "^11.3.0",
"@material-ui/core": "^5.0.0-beta.4",
"@material-ui/icons": "^4.11.2",
"github-markdown-css": "^4.0.0",
"gray-matter": "^4.0.3",
"marked": "^3.0.2",
"next": "11.1.0",
"react": "17.0.2",
"react-dom": "17.0.2"
"react-dom": "17.0.2",
"react-markdown": "^7.0.1",
"react-syntax-highlighter": "^15.4.4"
},
"devDependencies": {
"eslint": "7.32.0",
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/[folder]/[slug].js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Layout } from "@components/layout";
import { readdir, readFile } from "fs/promises";
import path from "path";
import matter from "gray-matter";
import marked from "marked";
import path from "path";
import ReactMarkdown from "react-markdown";

export default function post({ meta, md, listItems }) {
return (
<Layout components={listItems}>
<div dangerouslySetInnerHTML={{ __html: marked(md) }} />
<ReactMarkdown>{md}</ReactMarkdown>
</Layout>
);
}
Expand Down
644 changes: 641 additions & 3 deletions docs/yarn.lock

Large diffs are not rendered by default.

Binary file modified example/assets/adaptive-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified example/assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
"eject": "expo eject",
"deploy-web": "expo build:web"
},
"dependencies": {
"@expo-google-fonts/lekton": "^0.2.0",
Expand Down

2 comments on commit 345b647

@vercel
Copy link

@vercel vercel bot commented on 345b647 Sep 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 345b647 Sep 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.