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,75 @@
.content-container {
position: relative;
max-width: 766px;
padding: 20px 40px 100px;
margin: 0 auto 50px auto;
}
.border-container {
position: absolute;
background-color: rgba(0, 0, 0, 0.5);
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.border {
height: 100%;
width: 135px;
position: absolute;
&__top {
background-image: url('../../assets/border-top.gif');
background-repeat: repeat-x;
width: 100%;
}
&__top-left {
background-image: url('../../assets/border-top-left.gif');
background-repeat: no-repeat;
}
&__top-right {
background-image: url('../../assets/border-top-right.gif');
background-repeat: no-repeat;
right: 0;
}
&__left {
background-image: url('../../assets/border-left.gif');
background-repeat: repeat-y;
}
&__right {
background-image: url('../../assets/border-right.gif');
background-repeat: repeat-y;
right: 0;
}
&__bottom {
background-image: url('../../assets/border-bot.gif');
background-repeat: repeat-x;
bottom: 0;
height: 62px;
width: 100%;
}
&__bottom-left {
background-image: url('../../assets/border-bot-left.gif');
background-repeat: no-repeat;
bottom: 0;
height: 192px;
width: 100%;
}
&__bottom-right {
background-image: url('../../assets/border-bot-right.gif');
background-repeat: no-repeat;
bottom: 0;
right: 0;
height: 192px;
}
}

View File

@@ -0,0 +1,31 @@
import React from 'react';
import './content-container.scss';
interface Props {}
interface State {}
export class ContentContainer extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
render() {
return (
<div className="content-container">
<div className="border-container">
<div className="border border__left"/>
<div className="border border__right"/>
<div className="border border__bottom"/>
<div className="border border__top"/>
<div className="border border__top-left"/>
<div className="border border__top-right"/>
<div className="border border__bottom-left"/>
<div className="border border__bottom-right"/>
</div>
{this.props.children}
</div>
);
}
}

View File

@@ -0,0 +1,8 @@
.bottom-bg {
background-image: url('../../assets/bottom-bg.gif');
background-repeat: repeat-x;
height: 46px;
display: flex;
justify-content: center;
overflow: hidden;
}

View File

@@ -0,0 +1,24 @@
import React from 'react';
import bottom_blizzlogo from '../../assets/bottom-blizzlogo.gif';
import './footer.scss';
interface Props {}
interface State {}
export class Footer extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
}
render() {
return (
<div className="bottom-bg">
<img src={bottom_blizzlogo}/>
</div>
);
}
}

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>
);
}
}

View File

@@ -0,0 +1,3 @@
export * from './footer/footer';
export * from './header/header';
export * from './content-container/content-container';