This commit is contained in:
Flatlogic Bot 2025-07-14 12:46:37 +00:00
parent 0e59bfcb84
commit f6001e94ae
5 changed files with 49 additions and 12 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/ node_modules/
*/node_modules/ */node_modules/
*/build/ */build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,8 @@ const Tasks = db.tasks;
const Ahaconsulting = db.ahaconsulting; const Ahaconsulting = db.ahaconsulting;
const Statuses = db.statuses;
const CategoriesData = [ const CategoriesData = [
{ {
name: 'Project Management', name: 'Project Management',
@ -59,7 +61,7 @@ const CommitmentsData = [
// type code here for "relation_one" field // type code here for "relation_one" field
status: 'notstarted', status: 'inprogress',
progress_comments: '', progress_comments: '',
@ -81,7 +83,7 @@ const CommitmentsData = [
// type code here for "relation_one" field // type code here for "relation_one" field
status: 'completed', status: 'notstarted',
progress_comments: '', progress_comments: '',
@ -103,7 +105,7 @@ const TasksData = [
// type code here for "relation_one" field // type code here for "relation_one" field
status: 'completed', status: 'inprogress',
progress_comments: '', progress_comments: '',
@ -111,7 +113,7 @@ const TasksData = [
last_edit_date: new Date('2023-10-01T10:00:00Z'), last_edit_date: new Date('2023-10-01T10:00:00Z'),
is_commitment: false, is_commitment: true,
}, },
{ {
@ -125,7 +127,7 @@ const TasksData = [
// type code here for "relation_one" field // type code here for "relation_one" field
status: 'inprogress', status: 'notstarted',
progress_comments: 'Initial sketches completed.', progress_comments: 'Initial sketches completed.',
@ -133,7 +135,7 @@ const TasksData = [
last_edit_date: new Date('2023-10-05T12:00:00Z'), last_edit_date: new Date('2023-10-05T12:00:00Z'),
is_commitment: false, is_commitment: true,
}, },
{ {
@ -147,7 +149,7 @@ const TasksData = [
// type code here for "relation_one" field // type code here for "relation_one" field
status: 'completed', status: 'notstarted',
progress_comments: '', progress_comments: '',
@ -161,6 +163,32 @@ const TasksData = [
const AhaconsultingData = [{}, {}, {}]; const AhaconsultingData = [{}, {}, {}];
const StatusesData = [
{
name: 'Isaac Newton',
label: 'Neils Bohr',
color: 'Joseph J. Thomson',
},
{
name: 'Louis Victor de Broglie',
label: 'Erwin Schrodinger',
color: 'Noam Chomsky',
},
{
name: 'Christiaan Huygens',
label: 'Heike Kamerlingh Onnes',
color: 'Dmitri Mendeleev',
},
];
// Similar logic for "relation_many" // Similar logic for "relation_many"
async function associateCommitmentWithDelegation() { async function associateCommitmentWithDelegation() {
@ -313,6 +341,8 @@ module.exports = {
await Ahaconsulting.bulkCreate(AhaconsultingData); await Ahaconsulting.bulkCreate(AhaconsultingData);
await Statuses.bulkCreate(StatusesData);
await Promise.all([ await Promise.all([
// Similar logic for "relation_many" // Similar logic for "relation_many"
@ -334,5 +364,7 @@ module.exports = {
await queryInterface.bulkDelete('tasks', null, {}); await queryInterface.bulkDelete('tasks', null, {});
await queryInterface.bulkDelete('ahaconsulting', null, {}); await queryInterface.bulkDelete('ahaconsulting', null, {});
await queryInterface.bulkDelete('statuses', null, {});
}, },
}; };

View File

@ -0,0 +1 @@
{}

View File

@ -19,7 +19,7 @@ export default function WebSiteFooter({ projectName }: WebSiteFooterProps) {
const style = FooterStyle.WITH_PAGES; const style = FooterStyle.WITH_PAGES;
const design = FooterDesigns.DEFAULT_DESIGN; const design = FooterDesigns.DESIGN_DIVERSITY;
return ( return (
<div <div