CLASSROOMIO-T-115: Fetch data on server CLASSROOMIO-T-115: Add dynamic debug orgs, handle not found orgs, add 404 to public route CLASSROOMIO-T-115:Automacally add prefix to the footer input CLASSROOMIO-T-115:Implemented the video to also play youtube videos Merge branch 'CLASSROOMIO-T-115' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-115 CLASSROOMIO-T-115:Implemented the video to also play youtube videos CLASSROOMIO-T-115:Still woking on the landing page UI CLASSROOMIO-T-115: Some improvements CLASSROOMIO-T-115:Working on the landing page UI Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio CLASSROOMIO-T-27: Review Section for Instructors on landing page CLASSROOMIO-T-27: Remove unused variable Merge branch 'CLASSROOMIO-T-27' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-27 CLASSROOMIO-T-27: Complete reviews functionality CLASSROOMIO-T-27: Review Render Update CLASSROOMIO-T-27: - Resolved Feedbacks CLASSROOMIO-T-27: Fixed Ratings Data CLASSROOMIO-T-27: - Added Ratings Svg - Fixed avatar_url feedback CLASSROOMIO-T-27: Import Adjustment CLASSROOMIO-T-27: Code Review CLASSROOM-T-27: Added Add Review Functionality CLASSROOMIO-T-27: - Unresolved Review - Enhance Code Redability CLASSROOMIO-T-27: Completed the delete functionality CLASSROOMIO-T-27: Hide/Show functionality CLASSROOMIO-T-27: Double Quotation Update CLASSROOMIO-T-27: Testing toggle functinality CLASSROOMIO-T-27: Added the icons CLASSROOMIO-T-27: Completion of the hide/show functionality CLASSROOMIO-T-27: Display the store data on the review page for styling CLASSROOMIO-T-27: Styling of the review component & connecting it's data CLASSROOMIO-T-27: - Add ReviewsForm - Completion of the Reviews Form Structure/Styling CLASSROOMIO-T-27: Added a reviews modal CLASSROOMIO-T-27: Logic update for review section CLASSROOMIO-T-50: Logic for overlapping reviews CLASSROOMIO-T-27: - Completion of the structure & styling with mock data. - Addition of custom ratings assets CLASSROOMIO-T-27: - Review Section Code Structure - Import Profile Picture Assets Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com> Co-authored-by: Tunji Adeyemi <tunji@digdippa.com> Co-authored-by: tunny17 <tvnji17@gmail.com> Merge-request: CLASSROOMIO-MR-22 Merged-by: Best Admin <best@digdippa.com> CLASSROOMIO-T-62: Dark Mode Bug Fix CLASSROOMIO-T-62: Delete Unused class CLASSROOMIO-T-62: Dark Mode Bug Fix Co-authored-by: Tunji Adeyemi <tunji@digdippa.com> Merge-request: CLASSROOMIO-MR-23 Merged-by: Best Admin <best@digdippa.com> Co-authored-by: Ifeanyi Nwosu <ifeanyi@digdippa.com> Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com> Co-authored-by: Tunji Adeyemi <tunji@digdippa.com> Co-authored-by: tunny17 <tvnji17@gmail.com> Merge-request: CLASSROOMIO-MR-53 Merged-by: Best Admin <best@digdippa.com>
142 lines
4.6 KiB
TypeScript
142 lines
4.6 KiB
TypeScript
import { writable } from 'svelte/store';
|
|
import type { Writable } from 'svelte/store';
|
|
|
|
export interface OrgLandingPageJson {
|
|
header: {
|
|
title: string;
|
|
titleHighlight: string;
|
|
subtitle: string;
|
|
action: {
|
|
label: string;
|
|
link: string;
|
|
redirect: boolean;
|
|
};
|
|
video: {
|
|
link: string;
|
|
show: boolean;
|
|
};
|
|
show: boolean;
|
|
};
|
|
aboutUs: {
|
|
title: string;
|
|
content: string;
|
|
imageUrl: string;
|
|
show: boolean;
|
|
};
|
|
courses: {
|
|
title: string;
|
|
titleHighlight: string;
|
|
subtitle: string;
|
|
show: boolean;
|
|
};
|
|
faq: {
|
|
title: string;
|
|
questions: Array<{
|
|
id: number;
|
|
title: string;
|
|
content: string;
|
|
}>;
|
|
show: boolean;
|
|
};
|
|
contact: {
|
|
title: string;
|
|
titleHighlight: string;
|
|
subtitle: string;
|
|
address: string;
|
|
phone: string;
|
|
email: string;
|
|
show: boolean;
|
|
};
|
|
mailinglist: {
|
|
title: string;
|
|
subtitle: string;
|
|
buttonLabel: string;
|
|
show: boolean;
|
|
};
|
|
footer: {
|
|
facebook: string;
|
|
instagram: string;
|
|
twitter: string;
|
|
linkedin: string;
|
|
show: boolean;
|
|
};
|
|
}
|
|
export let landingPageSettings: Writable<OrgLandingPageJson> = writable({
|
|
header: {
|
|
title: 'Web Development Courses for',
|
|
titleHighlight: 'Everyone',
|
|
subtitle:
|
|
'Practical project-based courses that are easy to understand and straight to the point',
|
|
action: {
|
|
label: 'Start learning Today',
|
|
link: '#contact',
|
|
redirect: false
|
|
},
|
|
video: {
|
|
show: true,
|
|
link: 'https://www.youtube.com/watch?v=bbVZo4Yw7pI'
|
|
},
|
|
show: false
|
|
},
|
|
aboutUs: {
|
|
title: 'Our Story',
|
|
content:
|
|
'Lorem ipsum dolor sit, amet consectetur adipisicing elit. Repudiandae, quaerat cum. Ullam similique quae dicta ipsum atque quam fugit iusto eligendi magni voluptatum aut, exercitationem deserunt vitae iste rem sunt!\nLorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores obcaecati veritatis tenetur in, nihil repellat quasi cumque sed molestias id reiciendis harum doloremque minus fugit quia cum dolores quas pariatur.',
|
|
imageUrl: '',
|
|
show: false
|
|
},
|
|
courses: {
|
|
title: 'Explore our',
|
|
titleHighlight: 'Courses',
|
|
subtitle: 'Find courses you will love from best teachers all over the world🌎.',
|
|
show: true
|
|
},
|
|
faq: {
|
|
title: 'Frequently Asked Questions.',
|
|
questions: [
|
|
{
|
|
id: 1,
|
|
title: 'Lorem ipsum dolor sit, amet con',
|
|
content:
|
|
'Lorem ipsum dolor sit, amet consectetur adipisicing elit. Repudiandae, quaerat cum. Ullam similique quae dicta ipsum atque quam fugit iusto eligendi magni voluptatum aut, exercitationem deserunt vitae iste rem sunt!\nLorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores obcaecati veritatis tenetur in, nihil repellat quasi cumque sed molestias id reiciendis harum doloremque minus fugit quia cum dolores quas pariatur.'
|
|
},
|
|
{
|
|
id: 2,
|
|
title: 'Lorem ipsum dolor sit, amet con',
|
|
content:
|
|
'Lorem ipsum dolor sit, amet consectetur adipisicing elit. Repudiandae, quaerat cum. Ullam similique quae dicta ipsum atque quam fugit iusto eligendi magni voluptatum aut, exercitationem deserunt vitae iste rem sunt!\nLorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores obcaecati veritatis tenetur in, nihil repellat quasi cumque sed molestias id reiciendis harum doloremque minus fugit quia cum dolores quas pariatur.'
|
|
},
|
|
{
|
|
id: 3,
|
|
title: 'Lorem ipsum dolor sit, amet con',
|
|
content:
|
|
'Lorem ipsum dolor sit, amet consectetur adipisicing elit. Repudiandae, quaerat cum. Ullam similique quae dicta ipsum atque quam fugit iusto eligendi magni voluptatum aut, exercitationem deserunt vitae iste rem sunt!\nLorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores obcaecati veritatis tenetur in, nihil repellat quasi cumque sed molestias id reiciendis harum doloremque minus fugit quia cum dolores quas pariatur.'
|
|
}
|
|
],
|
|
show: true
|
|
},
|
|
contact: {
|
|
title: 'Have you got any',
|
|
titleHighlight: 'Question?',
|
|
subtitle: 'Reach out to us with any question you might have.',
|
|
address: 'Ashwoodfield House Farm, Kidderminster Rd, Stourbridge, Kingswinford DY6 0AA',
|
|
phone: '+4407339904995',
|
|
email: 'help@digdippa.com',
|
|
show: true
|
|
},
|
|
mailinglist: {
|
|
title: 'Join our mailing list',
|
|
subtitle:
|
|
'We are constantly releasing new courses and sharing them with our email list. Subscribe to get notified once we release a new course',
|
|
buttonLabel: 'Subscribe',
|
|
show: true
|
|
},
|
|
footer: {
|
|
facebook: '#',
|
|
instagram: '#',
|
|
twitter: '#',
|
|
linkedin: '#',
|
|
show: true
|
|
}
|
|
});
|