allpawcare-website/config.py
2023-09-10 13:04:17 -04:00

151 lines
5.0 KiB
Python

import os
class Config(object):
# App base directory
BASE_DIR = os.path.dirname(os.path.realpath(__file__))
# Mail client config
MAIL_SERVER = 'smtp.fastmail.com'
MAIL_PORT = 465
MAIL_USER = 'awkawb@awkawb.cloud'
MAIL_PASSWORD = 'm3vaxbmp3tx9fqx4'
MAIL_SENDER = 'support@allpawcare.com'
MAIL_RECIPIENTS = ['support@allpawcare.com']
# Database config
DB_FILE = 'all_paw_care.db'
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + BASE_DIR + '/' + DB_FILE
# Image breakpoints
IMG_BREAKPOINTS = [
'576px',
'768px',
'992px',
'1200px',
'1400px'
]
# About me page content
ABOUT_ME = [
(
[
'../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'
],
'''
Before I provided animal caretaking services, I focused
my time on computers. I designed and coded this website!
'''
),
(
[
'../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'
],
'''
My passion for animals and plants are what I spend
most my time on currently. I love providing quality
animal care.
'''
),
(
[
'../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'
],
'''
For the past 5 years, my interest in plants and
horticulture have expanded exponentially. As a kid,
my mother always expressed interest in plants. Plants
are something, for me, that took patients and I
had little patients as a child.
'''
)
]
# Service page content
SERVICES = {
'Walking': [
[
'../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'
],
'$20/visit',
'Service includes:',
[
'30 minute walk.',
'Bags for poop clean-up.'
]
],
'Drop-in': [
[
'../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'
],
'$20/visit',
'Service includes:',
[
'30 minute in home visit.',
'Bags for poop clean-up.'
]
],
'House sitting': [
[
'../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'
],
'$38/visit',
'Service includes:',
[
'Animal care.',
'In-home overnight stays.'
]
]
}
# FAQ page content
FAQS = {
'What kind of animals do you caretake?': (
'animal-types-faq',
'I have experience careing for many types of animals. '
+ 'I provide care for reptiles, mammals, etc.'
),
'Can you care for special needs pets?': (
'special-needs-faq',
'''I have experience care for special needs, including older
animals'''
),
'Can you stay at my house?': (
'house-sitting-faq',
'I offer house sitting services. This includes in home stays.'
),
'Can you take care of my plants?': (
'plant-faq',
'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?': (
'poop-scoop-faq',
'I do offer animal poop clean up add-on yard'
)
}