Skip to content

Commit

Permalink
feat: supabase custom domain
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi-best committed Sep 16, 2024
1 parent 9aa2d77 commit 6bfae6f
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 92 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/src/lib/components/Org/Settings/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const landingPageSettings: Writable<OrgLandingPageJson> = writable({
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:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/landingpage/riverside.jpeg',
'https://api.classroomio.com/storage/v1/object/public/avatars/landingpage/riverside.jpeg',
show: true
},
courses: {
Expand Down
36 changes: 14 additions & 22 deletions apps/dashboard/src/lib/utils/constants/quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ import cloneDeep from 'lodash/cloneDeep';

export const themeImages = {
standard: {
card: 'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/standard-quiz-card.svg',
card: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/standard-quiz-card.svg',
editor:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/standard-quiz-editor.svg',
play: 'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/standard-quiz-play.svg'
'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/standard-quiz-editor.svg',
play: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/standard-quiz-play.svg'
},
mainland: {
card: 'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/mainstream-quiz-card.svg',
card: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/mainstream-quiz-card.svg',
editor:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/mainstream-quiz-editor.svg',
play: 'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/mainstream-quiz-play.svg'
'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/mainstream-quiz-editor.svg',
play: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/mainstream-quiz-play.svg'
}
};

Expand All @@ -22,18 +22,12 @@ export const defOption = {
};

export const optionImage = {
circle:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/circle.svg',
spade:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/spade.svg',
square:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/square.svg',
pentagon:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/pentagon.svg',
hexagon:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/hexagon.svg',
triangle:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/triangle.svg'
circle: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/circle.svg',
spade: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/spade.svg',
square: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/square.svg',
pentagon: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/pentagon.svg',
hexagon: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/hexagon.svg',
triangle: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/triangle.svg'
};

export const allOptions = [
Expand Down Expand Up @@ -72,14 +66,12 @@ export const booleanOptions = [
{
id: 'triangle',
label: 'True',
image:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/triangle.svg'
image: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/triangle.svg'
},
{
id: 'square',
label: 'False',
image:
'https://tapaozmyjsuykgerrfkt.supabase.co/storage/v1/object/public/avatars/quizes/square.svg'
image: 'https://api.classroomio.com/storage/v1/object/public/avatars/quizes/square.svg'
}
];
export const allThemes = [
Expand Down
Loading

0 comments on commit 6bfae6f

Please sign in to comment.