Skip to content

Commit

Permalink
Merge pull request #295 from razeware/development
Browse files Browse the repository at this point in the history
v2.5.6: 🥚 secution is everything
  • Loading branch information
jellodiil authored Oct 23, 2024
2 parents 471dfcc + d89028b commit b959dfe
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/models/content_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ContentModule
validates :lessons, length: { minimum: 1 }, allow_blank: false, lessons: true
validates_each :domains do |record, attr, value|
value.each do |domain|
record.errors.add(attr, "(#{domain}) not included in the list") unless %w[ios android flutter server-side-swift unity macos professional-growth].include?(domain)
record.errors.add(attr, "(#{domain}) not included in the list") unless %w[ios android flutter server-side-swift unity macos professional-growth ai].include?(domain)
end
end

Expand Down
2 changes: 1 addition & 1 deletion app/models/video_course.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class VideoCourse
validates :parts, length: { minimum: 1 }, allow_blank: false, parts: true
validates_each :domains do |record, attr, value|
value.each do |domain|
record.errors.add(attr, "(#{domain}) not included in the list") unless %w[ios android flutter server-side-swift unity macos professional-growth].include?(domain)
record.errors.add(attr, "(#{domain}) not included in the list") unless %w[ios android flutter server-side-swift unity macos professional-growth ai].include?(domain)
end
end

Expand Down
4 changes: 2 additions & 2 deletions app/server/views/styles/abstracts/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ $red-lipstick: #962224;

$pink-doll: #F26FAA; /* Light Server-Side Swift Colour */
$pink-peony: #A53B6B; /* Dark Server-Side Swift Colour */
$pink-peach: #E6978A;
$pink-incense: #99584D;
$pink-peach: #E6978A; /* Light AI Colour */
$pink-incense: #99584D; /* Dark AI Colour */

/* Orange */

Expand Down
1 change: 1 addition & 0 deletions app/server/views/styles/components/modular.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
display: flex;
justify-content: center;
align-items: center;
min-width: 56px;
width: 56px;
height: 56px;
margin-right: 24px;
Expand Down
5 changes: 5 additions & 0 deletions app/server/views/styles/components/slide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ $slide-ratio: 1.8;
@extend .slide-domain;
background-color: #AC9FAB;
}

&--ai {
@extend .slide-domain;
background-color: #E6978A;
}
}
}

Expand Down

0 comments on commit b959dfe

Please sign in to comment.