116 lines
2.4 KiB
JavaScript
116 lines
2.4 KiB
JavaScript
const mongoose = require('mongoose');
|
|
|
|
const siteSettingsSchema = new mongoose.Schema({
|
|
siteName: {
|
|
type: String,
|
|
default: 'SmartSolTech'
|
|
},
|
|
siteDescription: {
|
|
type: String,
|
|
default: 'Innovative technology solutions for modern businesses'
|
|
},
|
|
logo: {
|
|
type: String,
|
|
default: '/images/logo.png'
|
|
},
|
|
favicon: {
|
|
type: String,
|
|
default: '/images/favicon.ico'
|
|
},
|
|
contact: {
|
|
email: {
|
|
type: String,
|
|
default: 'info@smartsoltech.kr'
|
|
},
|
|
phone: {
|
|
type: String,
|
|
default: '+82-10-0000-0000'
|
|
},
|
|
address: {
|
|
type: String,
|
|
default: 'Seoul, South Korea'
|
|
}
|
|
},
|
|
social: {
|
|
facebook: String,
|
|
twitter: String,
|
|
linkedin: String,
|
|
instagram: String,
|
|
github: String,
|
|
telegram: String
|
|
},
|
|
telegram: {
|
|
botToken: String,
|
|
chatId: String,
|
|
isEnabled: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
},
|
|
seo: {
|
|
metaTitle: {
|
|
type: String,
|
|
default: 'SmartSolTech - Technology Solutions'
|
|
},
|
|
metaDescription: {
|
|
type: String,
|
|
default: 'Professional web development, mobile apps, and digital solutions in Korea'
|
|
},
|
|
keywords: {
|
|
type: String,
|
|
default: 'web development, mobile apps, UI/UX design, Korea, technology'
|
|
},
|
|
googleAnalytics: String,
|
|
googleTagManager: String
|
|
},
|
|
hero: {
|
|
title: {
|
|
type: String,
|
|
default: 'Smart Technology Solutions'
|
|
},
|
|
subtitle: {
|
|
type: String,
|
|
default: 'We create innovative digital experiences that drive business growth'
|
|
},
|
|
backgroundImage: {
|
|
type: String,
|
|
default: '/images/hero-bg.jpg'
|
|
},
|
|
ctaText: {
|
|
type: String,
|
|
default: 'Get Started'
|
|
},
|
|
ctaLink: {
|
|
type: String,
|
|
default: '#contact'
|
|
}
|
|
},
|
|
about: {
|
|
title: {
|
|
type: String,
|
|
default: 'About SmartSolTech'
|
|
},
|
|
description: {
|
|
type: String,
|
|
default: 'We are a team of passionate developers and designers creating cutting-edge technology solutions.'
|
|
},
|
|
image: {
|
|
type: String,
|
|
default: '/images/about.jpg'
|
|
}
|
|
},
|
|
maintenance: {
|
|
isEnabled: {
|
|
type: Boolean,
|
|
default: false
|
|
},
|
|
message: {
|
|
type: String,
|
|
default: 'We are currently performing maintenance. Please check back soon.'
|
|
}
|
|
}
|
|
}, {
|
|
timestamps: true
|
|
});
|
|
|
|
module.exports = mongoose.model('SiteSettings', siteSettingsSchema); |