fix #3 add fonts to be used for the header and the rest of the website.
This commit is contained in:
parent
c17e153fd3
commit
ba0f08036e
0
src/assets/fonts/BEBAS___.ttf
Normal file
0
src/assets/fonts/BEBAS___.ttf
Normal file
BIN
src/assets/fonts/Fedra Arabic Reg_beta.ttf
Executable file
BIN
src/assets/fonts/Fedra Arabic Reg_beta.ttf
Executable file
Binary file not shown.
0
src/assets/fonts/Interstate-Bold.bmap
Executable file
0
src/assets/fonts/Interstate-Bold.bmap
Executable file
0
src/assets/fonts/Interstate-Regular.bmap
Executable file
0
src/assets/fonts/Interstate-Regular.bmap
Executable file
0
src/assets/fonts/MyriadPro-Regular.otf
Normal file
0
src/assets/fonts/MyriadPro-Regular.otf
Normal file
0
src/assets/fonts/majalla 2.ttf
Normal file
0
src/assets/fonts/majalla 2.ttf
Normal file
|
@ -6,11 +6,13 @@ class Header extends React.Component {
|
|||
render() {
|
||||
const Logo = () => {
|
||||
return (
|
||||
<nav>
|
||||
<header>
|
||||
<img className="site-logo" src={require('../assets/images/logo.png')} alt="logo 858 "/>
|
||||
<br/>
|
||||
<img className="site-logo" src={require('../assets/images/byline.ar.png')} alt="logo 858 "/>
|
||||
</nav>
|
||||
<h1 >An archive of resistance</h1>
|
||||
<h2 className="counter">٩٦٧ ساعة وبيزيدوا</h2>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
return (
|
||||
|
|
|
@ -1,4 +1,54 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
:root {
|
||||
--858-light-gray-color: #ebebeb;
|
||||
}
|
||||
|
||||
/* fonts */
|
||||
@font-face {
|
||||
font-family: 'Fedra Arabic';
|
||||
src: url('../assets/fonts/Fedra Arabic Reg_beta.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'bebas';
|
||||
src: url('../assets/fonts/BEBAS___.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'majalla';
|
||||
src: url('../assets/fonts/majalla 2.ttf') format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MyriadPro Regular';
|
||||
src: url('../assets/fonts/MyriadPro-Regular.otf') format('otf');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'interstate';
|
||||
src: url('../assets/fonts/Interstate-Regular.bmap') format('bmap'),
|
||||
url('../assets/fonts/Interstate-Bold.bmap') format('bmap');
|
||||
}
|
||||
|
||||
/* header */
|
||||
header {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
.site-logo {
|
||||
max-width: 300px;
|
||||
padding-top: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.counter {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
padding: 2em;
|
||||
font-family: majalla, serif;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user