preparing for content refacoring, moved content from config.py to content module

This commit is contained in:
Andrew Bryant 2023-09-10 19:46:27 -04:00
parent a0498a3774
commit 61809acf44
5 changed files with 167 additions and 0 deletions

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,4 @@
from all_paw_care.content.pages import home
from all_paw_care.content.pages import faqs
from all_paw_care.content.pages import services

View File

@ -0,0 +1,61 @@
title = 'Frequently asked question'
content = {
'How does this process work?': {
'tag': 'basics-faq',
'answer': '''First go to the services page. On the bottom
of the page, you'll find a "Request meet & greet"
button. After filling out the form, I'll get an email
with the form information. I will contact you about
the request within 24 hours.'''
},
'What types of payments do you accept?': {
'tag': 'accepted-payments-faq',
'answer': '''A broad range of payment types are accepted '
to make the process easy.''',
'include': [
'Cash',
'Credit/Debit cards',
'ACH (direct bank transfers)',
'Paypal',
'Apple Pay',
'Google Pay',
'Zelle'
]
},
'When is payment for a service due?': {
'tag': 'payment-terms-faq',
'answer': 'Payments are due 7 days after invoicing. '
+ 'Invoices are usually sent after completed services.'
},
'What kind of animals do you caretake?': {
'tag': 'animal-types-faq',
'answer': '''I have experience careing for many types of animals.
I provide care for reptiles, mammals, etc.'''
},
'Can you care for special needs pets?': {
'tag': 'special-needs-faq',
'answer': '''I have experience care for special needs, including older
animals'''
},
'Can you stay at my house?': {
'tag': 'house-sitting-faq',
'answer': 'I offer house sitting services. This includes in home stays.'
},
'Can you take care of my plants?': {
'tag': 'plant-faq',
'answer': '''I love plants and have a garden of my own. I'll gladly
remove the mess for you.'''
},
'My yard is a mess, can you clean up the dog poop?': {
'tag': 'poop-scoop-faq',
'answer': 'I do offer animal poop clean up add-on yard'
}
}
def get_title():
return title
def get_content():
return content

View File

@ -0,0 +1,49 @@
title = 'About me'
content = {
'section 1': {
'images': ['../static/img/about_me/about_me_1_sm.jpg',
'../static/img/about_me/about_me_1_md.jpg',
'../static/img/about_me/about_me_1_lg.jpg',
'../static/img/about_me/about_me_1_xl.jpg',
'../static/img/about_me/about_me_1_xxl.jpg'],
'content': '''Before I provided animal caretaking services,
I focused my time on computers. I attended AACC
after high school, computer network management and
computer science are the two areas I studied.
I designed and coded this website!'''
},
'section 2': {
'images': ['../static/img/about_me/about_me_2_sm.jpg',
'../static/img/about_me/about_me_2_md.jpg',
'../static/img/about_me/about_me_2_lg.jpg',
'../static/img/about_me/about_me_2_xl.jpg',
'../static/img/about_me/about_me_2_xxl.jpg'],
'content': '''For the past 5 years, my interest in plants and
horticulture have expanded exponentially. As a kid,
my mother always had plants around our home. I
have many plants of my own, most of which I've
grown from cuttings I take around town. My favorite
plant type is succulents (e.g jade plants and aloes)
because they're so easy to grow.'''
},
'section 3': {
'images': ['../static/img/about_me/about_me_3_sm.jpg',
'../static/img/about_me/about_me_3_md.jpg',
'../static/img/about_me/about_me_3_lg.jpg',
'../static/img/about_me/about_me_3_xl.jpg',
'../static/img/about_me/about_me_3_xxl.jpg'],
'content': '''My passion for animals and plants are what I
spend most my time on currently. I love providing
quality animal care.'''
}
}
def get_title():
return title
def get_content():
return content

View File

@ -0,0 +1,52 @@
title = 'Services & Pricing'
content = {
'Primary services': [
{
'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'],
'price': '$20/visit',
'included': [
'30 minute walk.',
'Bags for poop clean-up.']
},
{
'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'],
'price': '$20/visit',
'included': [
'30 minute in home visit.',
'Bags for poop clean-up.']
},
{
'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'],
'price': '$38/visit',
'included': [
'Animal care.',
'In-home overnight stays.']
}
]
}
def get_title():
return title
def get_content():
return content