Skip to content

Commit

Permalink
restructure of traits files
Browse files Browse the repository at this point in the history
  • Loading branch information
PavitraAgarwal21 committed Dec 5, 2024
1 parent 6c0e173 commit cf958bf
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
6 changes: 0 additions & 6 deletions src/base/token_uris/traits.cairo
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
pub mod head; // 5
pub mod back; //4
pub mod body; //3
pub mod background; //2
pub mod cloth; //1
pub mod face;
pub mod color;
pub mod profile;
pub mod handle;
Expand Down
21 changes: 14 additions & 7 deletions src/base/token_uris/traits/profile.cairo
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
pub mod ProfileSvg {
use coloniz::base::token_uris::traits::head::head::headSvgStart;
use coloniz::base::token_uris::traits::back::back::backSvgStart;
use coloniz::base::token_uris::traits::body::body::bodySvgStart;
use coloniz::base::token_uris::traits::cloth::cloth::clothSvgStart;
use coloniz::base::token_uris::traits::background::background::backgroundSvgStart;
use coloniz::base::token_uris::traits::face::face::faceSvgStart;
pub mod head;
pub mod back;
pub mod body;
pub mod cloth;
pub mod background;
pub mod face;

pub mod profile {
use coloniz::base::token_uris::traits::profile::head::head::headSvgStart;
use coloniz::base::token_uris::traits::profile::back::back::backSvgStart;
use coloniz::base::token_uris::traits::profile::body::body::bodySvgStart;
use coloniz::base::token_uris::traits::profile::cloth::cloth::clothSvgStart;
use coloniz::base::token_uris::traits::profile::background::background::backgroundSvgStart;
use coloniz::base::token_uris::traits::profile::face::face::faceSvgStart;
pub fn gen_profile_svg() -> ByteArray {
let mut profilesvg: ByteArray =
"<svg width=\"200\" height=\"200\" viewBox=\"0 0 52.917 52.917\" xmlns=\"http://www.w3.org/2000/svg\">";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit cf958bf

Please sign in to comment.