Skip to content

Commit

Permalink
Reduced landing image, fixed overflows on cards and description
Browse files Browse the repository at this point in the history
  • Loading branch information
FLiotta committed Oct 15, 2020
1 parent ce6c246 commit 8a371b9
Show file tree
Hide file tree
Showing 9 changed files with 1,040 additions and 781 deletions.
1,809 changes: 1,031 additions & 778 deletions client/package-lock.json

Large diffs are not rendered by default.

Binary file added client/src/assets/images/list-landing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed client/src/assets/images/list-landing.png
Binary file not shown.
Binary file removed client/src/assets/images/logo.png
Binary file not shown.
1 change: 0 additions & 1 deletion client/src/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<meta name="viewport" content="width=device-width, user-scalable=no">
<base href="/">
<title><%= htmlWebpackPlugin.options.title %></title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css" />
<script src="https://kit.fontawesome.com/edcda3bc90.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700,900&display=swap" rel="stylesheet">
</head>
Expand Down
3 changes: 2 additions & 1 deletion client/src/components/Task/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@

&-title {
font-family: "Montserrat", sans-serif;
overflow-wrap: break-word;
overflow-wrap: anywhere;
margin: 0;
margin-bottom: 5px;
width: 85%;
font-weight: 300;
}

Expand Down
1 change: 1 addition & 0 deletions client/src/components/TaskDescription/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
font-weight: 400;
margin: 0;
text-transform: uppercase;
overflow-wrap: anywhere;
}

&-arrow {
Expand Down
5 changes: 5 additions & 0 deletions client/src/import-custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ declare module "*.png" {
export default value;
}

declare module "*.jpg" {
const value: string;
export default value;
}

declare module "*.svg" {
const content: any;
export default content;
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Landing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from 'react-router-dom';

// Project
import { trackPageView } from '../../utils/ga';
import LandingImage from '../../assets/images/list-landing.png';
import LandingImage from '../../assets/images/list-landing.jpg';
import './styles.scss';

const Landing = (): JSX.Element => {
Expand Down

0 comments on commit 8a371b9

Please sign in to comment.