Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #12 from jahzielv/web-dev-fixes
Browse files Browse the repository at this point in the history
Web dev fixes
  • Loading branch information
jahzielv committed Jan 20, 2019
2 parents 2436195 + bc8e9e7 commit b946f25
Show file tree
Hide file tree
Showing 10 changed files with 188 additions and 188 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This changelog tracks all changes and release for the Ankiport project. I'm following the [convention](https://keepachangelog.com/en/1.0.0/) created by [Oliver Lacan](https://olivierlacan.com/), as well as [Semantic Versioning](https://semver.org/spec/v2.0.0.html) (hopefully? 😜)

## 0.1.5 - 2019-01-20

### Changed:

- Increased performance by changing to webp, improving CSS loading

## 0.1.4 - 2019-01-02

### Changed:
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ankiport",
"version": "0.1.4",
"version": "0.1.5",
"private": true,
"homepage": "https://ankiport-app.appspot.com/",
"dependencies": {
Expand All @@ -15,7 +15,8 @@
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-scripts": "1.1.5",
"serve": "^10.1.1"
"serve": "^10.1.1",
"typeface-roboto": "^0.0.54"
},
"scripts": {
"dev": "react-scripts start",
Expand Down
34 changes: 7 additions & 27 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,45 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ankiport - Quizlet ➡️ Anki!</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<meta
name="Description"
content="Ankiport: the web-based Quizlet to Anki importer. Convert a set of Quizlet flashcards to an Anki deck with just one click!"
/>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="shortcut icon" href="%PUBLIC_URL%/res/favicon.png" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Ankiport</title>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"
/>
<!-- <link rel="stylesheet" href="styles.css" media="screen" /> -->
</head>

<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
--></body>
</body>
</html>
2 changes: 2 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow:
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { CssBaseline, withStyles } from "@material-ui/core";
import Home from "./pages/Home";
import Footer from "./components/Footer";
import { MuiThemeProvider, createMuiTheme } from "@material-ui/core/styles";
import "typeface-roboto";

const styles = theme => ({
main: {
Expand Down
Binary file added src/assets/aplogo.webp
Binary file not shown.
8 changes: 6 additions & 2 deletions src/components/AboutSection.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { Fragment } from "react";
import { Typography, Grid } from "@material-ui/core";
import aplogo from "../assets/aplogo.png";
// import aplogo from "../assets/aplogo.png";
import aplogo from "../assets/aplogo.webp";

export const AboutSection = () => {
return (
Expand All @@ -10,7 +11,10 @@ export const AboutSection = () => {
Ankiport
</Typography>
<Grid container direction="row">
<Typography variant="subtitle2">Version 0.0.4</Typography>
<img
alt="Ankiport Version"
src="https://img.shields.io/github/release/jahzielv/ankiport-web.svg"
/>
<Typography variant="subtitle2" style={{ paddingLeft: "15px" }}>
Code hosted on{" "}
<a
Expand Down
6 changes: 3 additions & 3 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import React, { Fragment } from "react";
import { withStyles, Typography } from "@material-ui/core";

const styles = theme => ({
Expand Down Expand Up @@ -31,7 +31,7 @@ const styles = theme => ({

const Footer = ({ classes }) => {
return (
<div>
<Fragment>
<div className={classes.phantom} />
<div className={classes.footer}>
<div className={classes.footerText}>
Expand All @@ -49,7 +49,7 @@ const Footer = ({ classes }) => {
</Typography>
</div>
</div>
</div>
</Fragment>
);
};

Expand Down
Loading

0 comments on commit b946f25

Please sign in to comment.