mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 09:52:41 +00:00
Add migrate nav item to pages and update migrate document
This commit is contained in:
13
client/homebrew/navbar/migrate.navitem.jsx
Normal file
13
client/homebrew/navbar/migrate.navitem.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
const React = require('react');
|
||||
const Nav = require('naturalcrit/nav/nav.jsx');
|
||||
|
||||
module.exports = function(props){
|
||||
return <Nav.item
|
||||
className='migrate'
|
||||
newTab={false}
|
||||
href='/migrate'
|
||||
color='blue'
|
||||
icon='fas fa-route'>
|
||||
migrate
|
||||
</Nav.item>;
|
||||
};
|
||||
@@ -1,5 +1,5 @@
|
||||
@navbarHeight : 28px;
|
||||
@keyframes coloring {
|
||||
@keyframes pinkColoring {
|
||||
//from {color: white;}
|
||||
//to {color: red;}
|
||||
0% {color: pink;}
|
||||
@@ -62,11 +62,14 @@
|
||||
}
|
||||
i{
|
||||
.animate(color);
|
||||
animation-name: coloring;
|
||||
animation-name: pinkColoring;
|
||||
animation-duration: 2s;
|
||||
color: pink;
|
||||
}
|
||||
}
|
||||
.migrate.navItem{
|
||||
border-right : 1px solid #666;
|
||||
}
|
||||
.recent.navItem{
|
||||
position : relative;
|
||||
.dropdown{
|
||||
|
||||
Reference in New Issue
Block a user