mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Merge pull request #592 from sharetribe/image-dimensions-in-file-names
Use image dimensions in file names for easier customisation
This commit is contained in:
commit
9d32898741
7 changed files with 4 additions and 4 deletions
|
|
@ -57,5 +57,5 @@ set if icons and an HTML snippet to point to those images.
|
|||
## Map marker icon
|
||||
|
||||
The map marker icon in the listing can be found in
|
||||
[src/components/Map/images/marker.png](../src/components/Map/images/marker.png). The dimensions
|
||||
[src/components/Map/images/marker-32x32.png](../src/components/Map/images/marker-32x32.png). The dimensions
|
||||
should be 32x32 pixels, so the `favicon-32x32.png` file can be used to replace the map icon.
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 846 KiB After Width: | Height: | Size: 846 KiB |
|
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|||
import classNames from 'classnames';
|
||||
import * as propTypes from '../../util/propTypes';
|
||||
|
||||
import CustomMarker from './images/marker.png';
|
||||
import CustomMarker from './images/marker-32x32.png';
|
||||
import css from './Map.css';
|
||||
|
||||
class Map extends Component {
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
|
@ -12,7 +12,7 @@ import {
|
|||
} from '../../components';
|
||||
|
||||
import css from './AboutPage.css';
|
||||
import image from './about-us.jpg';
|
||||
import image from './about-us-1440.jpg';
|
||||
|
||||
const AboutPage = () => {
|
||||
const { siteTwitterHandle, siteFacebookPage } = config;
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 846 KiB After Width: | Height: | Size: 846 KiB |
|
|
@ -14,7 +14,7 @@
|
|||
--backgroundImage: {
|
||||
/* Gradient direction and overlaying the black color on top of the image for better readability */
|
||||
background: linear-gradient(-45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)),
|
||||
url('../../assets/background.jpg');
|
||||
url('../../assets/background-1440.jpg');
|
||||
|
||||
/* Add loading color for the div */
|
||||
background-color: var(--matterColor);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue