Something went wrong. Try again.
my website built using Rust (stdweb) → .wasm ricky.codes
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108pub(crate) const CRIES: [&str; 8] = [ "U sure?", "Really?", "Y u gotta be this way?", "Come on?", "Please no", "(ಥ﹏ಥ)", "༼ ༎ຶ ෴ ༎ຶ༽", "(>﹏<)",];
pub(crate) const TARGET: &str = "target";pub(crate) const BLANK: &str = "_blank";pub(crate) const REL: &str = "rel";pub(crate) const NOOPENER: &str = "noopener";pub(crate) const CLOSE: &str = "close";pub(crate) const TRASH: &str = "trash";pub(crate) const DRAG: &str = "drag";pub(crate) const STYLE: &str = "style";pub(crate) const ZOOM: &str = "zoom";pub(crate) const NEXT: &str = "next";pub(crate) const PREV: &str = "prev";pub(crate) const ESC: &str = "Escape";pub(crate) const DATA_INDEX: &str = "data-index";pub(crate) const DATA_PROJECT: &str = "data-project";pub(crate) const DATA_SCROLL: &str = "data-scroll";pub(crate) const HIDDEN: &str = "hidden";pub(crate) const NAME: &str = "name";pub(crate) const TITLE: &str = "title";pub(crate) const EMPTY: &str = "";pub(crate) const ARROW_LEFT: &str = "ArrowLeft";pub(crate) const ARROW_RIGHT: &str = "ArrowRight";pub(crate) const DIV: &str = "div";pub(crate) const A: &str = "a";pub(crate) const CONTROLS: &str = "controls";pub(crate) const LINK: &str = "link";pub(crate) const WORK_HISTORY: &str = "work-history";pub(crate) const POOP: &str = "💩";pub(crate) const CLASS: &str = "class";pub(crate) const HASH: &str = "#";pub(crate) const DISPLAY_NONE: &str = "display: none;";pub(crate) const HREF: &str = "href";pub(crate) const ARIA_LABEL: &str = "aria-label";pub(crate) const PREVIOUS_SLIDE_ARIA_LABEL: &str = "Previous slide";pub(crate) const NEXT_SLIDE_ARIA_LABEL: &str = "Next slide";
pub(crate) const CURSOR_SELECTOR: &str = ".cursor";pub(crate) const DRAG_ENTER: &str = "dragenter";pub(crate) const DRAG_SELECTOR: &str = ".drag";pub(crate) const COORDINATE_SELECTOR: &str = ".coord";pub(crate) const LINK_SELECTOR: &str = ".project.link, .cv.link";pub(crate) const CLOSE_SELECTOR: &str = ".close div";pub(crate) const NOT_PROJECT_SELECTOR: &str = ".content a:not(.project)";pub(crate) const PROJECT_SELECTOR: &str = "[data-project] > .content";pub(crate) const COORDINATES_SELECTOR: &str = ".coord > div";pub(crate) const INFO_SELECTOR: &str = ".info";pub(crate) const INFO_LINKS_SELECTOR: &str = ".content a[title], .content label[name]";pub(crate) const SLIDESHOW_SELECTOR: &str = ".slideshow";pub(crate) const YEAR_SELECTOR: &str = ".year";
pub(crate) struct CursorAttributes { pub(crate) selector: &'static str, pub(crate) classname: &'static str,}
pub(crate) const CURSORS_ATTRIBUTES: [CursorAttributes; 5] = [ CursorAttributes { selector: ".github.link", classname: "gh", }, CursorAttributes { selector: ".twitter.link", classname: "tw", }, CursorAttributes { selector: "._projects .project", classname: ZOOM, }, CursorAttributes { selector: ".slideshow .prev", classname: PREV, }, CursorAttributes { selector: ".slideshow .next", classname: NEXT, },];
const CONSOLE_STYLE: &str = "font-family: 'Monaco';font-size: 4em;padding: 20px;color: white;text-shadow: 0 0 0.05em #fff, 0 0 0.2em #fe05e1, 0 0 0.3em #fe05e1;transform: rotate(-7deg);";
pub(crate) fn log() { console!(log, "%c welcome to my homepage", CONSOLE_STYLE); console!( log, "The original Magic Kitty™ is an oracle that lets anyone seek advice about their future!" ); console!( log, "All you have to do is “ask()” any yes or no question and your answer will be revealed." ); console!(log, "example: ask('will i be pretty?')")}