Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(xp) #1349

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/containers/portal/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import MusicalAddress from 'src/components/MusicalAddress/MusicalAddress';
import Stars from 'src/xp/stars';
import ScrollableTabs from './scrollableTabs/ScrollableTabs';
import ParseAddressesImg from './imgNetwork';
import CurrentGift from './currentGift';
Expand All @@ -8,8 +10,6 @@ import ActionBarContainer from './ActionBar';
import ActionBarSteps from './ActionBar/ActionBarSteps';
import AboutGift from './AboutGift/aboutGift';
import MoonAnimation from './MoonAnimation/MoonAnimation';
import Stars from './stars';
import MusicalAddress from 'src/components/MusicalAddress/MusicalAddress';

// eslint-disable-next-line import/no-unused-modules
export {
Expand Down
37 changes: 0 additions & 37 deletions src/containers/portal/components/stars/style.module.scss

This file was deleted.

1 change: 1 addition & 0 deletions src/xp/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
this ui should be moved to separate repo
File renamed without changes
File renamed without changes
File renamed without changes.
29 changes: 29 additions & 0 deletions src/xp/stars/style.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.stars,
.twinkl {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
display: block;
}

.stars {
background: #000 url('./images/stars.png') repeat top center;
z-index: 0;
}

.twinkl {
background: transparent url('./images/twinkling.png') repeat top center;
z-index: 0;
animation: move-twink-back 650s linear infinite;
}

@keyframes move-twink-back {
from {
background-position: 0 0;
}

to {
background-position: -10000px 5000px;
}
}