1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-11 09:32:51 +00:00

added client things - finished home page

This commit is contained in:
2018-01-07 00:22:53 -06:00
parent 74df75dd77
commit a9e5b185ee
98 changed files with 7303 additions and 7 deletions

View File

@@ -0,0 +1,103 @@
@import '../../scss/mixins';
$topbg_height: 100px;
.wowlogo2 {
position: absolute;
top: 8;
width: 100%;
text-align: center;
z-index: 1;
@include breakpoint(smallOrLess) {
img {
height: 80px;
}
}
}
.gold-bg {
height: 29px;
background-image: url('../../assets/gold-bg.gif');
background-repeat: repeat-x;
}
.topbg {
margin-top: -29px;
width: 50%;
height: $topbg_height;
background-repeat: repeat-x;
display: inline-block;
position: relative;
&__left {
background-image: url('../../assets/topbg-left.gif');
}
&__right {
background-image: url('../../assets/topbg-right.gif');
}
}
.gryph {
background-repeat: no-repeat;
position: absolute;
height: 100%;
width: 68px;;
top: 0;
&__left {
left: 0;
background-image: url('../../assets/gryph-left.gif');
}
&__right {
right: 0;
background-image: url('../../assets/gryph-right.gif');
}
}
.gold-border {
height: 19px;
background-image: url('../../assets/gold-border.gif');
display: flex;
justify-content: space-between;
}
.finger {
width: 97px;
height: 19px;
&__left {
background-image: url('../../assets/left-finger.gif');
background-repeat: no-repeat;
}
&__right {
background-image: url('../../assets/right-finger.gif');
background-repeat: no-repeat;
}
}
.linksbar {
height: 53px;
background-image: url('../../assets/linksbar-bg.gif');
background-repeat: repeat-x;
display: flex;
justify-content: space-between;
align-items: center;
}
.linksbar-image {
height: 53px;
width: 106px;
&__left {
background-image: url('../../assets/linksbar-left.gif');
background-repeat: no-repeat;
}
&__right {
background-image: url('../../assets/linksbar-right.gif');
background-repeat: no-repeat;
}
}

View File

@@ -0,0 +1,53 @@
import React from 'react';
import { Link } from 'react-router-dom';
import './header.scss';
import wowlogo2 from '../../assets/wowlogo2.gif';
interface Props {}
interface State {}
export class Header extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
render() {
return (
<div>
<div className="wowlogo2">
<Link to="/">
<img src={wowlogo2}/>
</Link>
</div>
<div style={{ height: '80px' }}>
<div className="gold-bg"/>
<div className="topbg topbg__left">
<div className="gryph gryph__left"/>
</div>
<div className="topbg topbg__right">
<div className="gryph gryph__right"/>
</div>
</div>
<div className="gold-border">
<div className="finger finger__left"/>
<div className="finger finger__right"/>
</div>
<div className="linksbar">
<div className="linksbar-image linksbar-image__left"/>
<span className="grey">
<a href="#">News</a> | <a href="#">Game Info</a> | <a href="#">Forums</a> | <a href="#">Links/Files</a> | <a href="#">Support</a>
</span>
<div className="linksbar-image linksbar-image__right"/>
</div>
</div>
);
}
}