Static images now use flask url_for to get url

This commit is contained in:
2023-09-11 10:28:24 -04:00
parent 9610d995de
commit b6f7f7a2b7
6 changed files with 41 additions and 38 deletions

View File

@@ -5,11 +5,11 @@ content = {
{
'title': 'Walking',
'images': [
'../static/img/services/dog_walking_card_sm.png',
'../static/img/services/dog_walking_card_md.png',
'../static/img/services/dog_walking_card_lg.png',
'../static/img/services/dog_walking_card_xl.png',
'../static/img/services/dog_walking_card_xxl.png'],
'img/services/dog_walking_card_sm.png',
'img/services/dog_walking_card_md.png',
'img/services/dog_walking_card_lg.png',
'img/services/dog_walking_card_xl.png',
'img/services/dog_walking_card_xxl.png'],
'price': '$20/visit',
'included': [
'30 minute walk.',
@@ -18,11 +18,11 @@ content = {
{
'title': 'Drop-in',
'images': [
'../static/img/services/drop_in_card_sm.png',
'../static/img/services/drop_in_card_md.png',
'../static/img/services/drop_in_card_lg.png',
'../static/img/services/drop_in_card_xl.png',
'../static/img/services/drop_in_card_xxl.png'],
'img/services/drop_in_card_sm.png',
'img/services/drop_in_card_md.png',
'img/services/drop_in_card_lg.png',
'img/services/drop_in_card_xl.png',
'img/services/drop_in_card_xxl.png'],
'price': '$20/visit',
'included': [
'30 minute in home visit.',
@@ -31,11 +31,11 @@ content = {
{
'title': 'House sitting',
'images': [
'../static/img/services/house_sitting_card_sm.png',
'../static/img/services/house_sitting_card_md.png',
'../static/img/services/house_sitting_card_lg.png',
'../static/img/services/house_sitting_card_xl.png',
'../static/img/services/house_sitting_card_xxl.png'],
'img/services/house_sitting_card_sm.png',
'img/services/house_sitting_card_md.png',
'img/services/house_sitting_card_lg.png',
'img/services/house_sitting_card_xl.png',
'img/services/house_sitting_card_xxl.png'],
'price': '$38/visit',
'included': [
'Animal care.',