mirror of
https://github.com/status-im/ETHReport.git
synced 2025-01-21 03:40:07 +00:00
Adding textured heading bg
This commit is contained in:
parent
1580663c1c
commit
049f785255
@ -36,6 +36,11 @@ strong {
|
|||||||
letter-spacing: 4px;
|
letter-spacing: 4px;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
transition: font-size 0.2s ease, letter-spacing 0.2s ease;
|
transition: font-size 0.2s ease, letter-spacing 0.2s ease;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: top center;
|
||||||
|
background-size: cover;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
|
||||||
@media (min-width: $desktop) {
|
@media (min-width: $desktop) {
|
||||||
font-size: calculateRem(68);
|
font-size: calculateRem(68);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import _ from 'lodash';
|
import _ from 'lodash';
|
||||||
|
import getConfig from 'next/config';
|
||||||
import RelatedInterviewsList from '../interviews/relatedInterviewsList';
|
import RelatedInterviewsList from '../interviews/relatedInterviewsList';
|
||||||
import InterviewsList from '../interviews/interviewsList';
|
import InterviewsList from '../interviews/interviewsList';
|
||||||
import SingleInterview from '../interviews/singleInterview';
|
import SingleInterview from '../interviews/singleInterview';
|
||||||
@ -10,6 +11,8 @@ import SearchResults from '../searchResults';
|
|||||||
import { InterviewsData, Questions } from '../../data/archives/interviews';
|
import { InterviewsData, Questions } from '../../data/archives/interviews';
|
||||||
import './style.scss';
|
import './style.scss';
|
||||||
|
|
||||||
|
const { publicRuntimeConfig } = getConfig();
|
||||||
|
|
||||||
class BrowseArchives extends React.Component {
|
class BrowseArchives extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
@ -13,7 +13,9 @@ const PageHeader = () => (
|
|||||||
<AnchorLink href="#browse">Browse Archives</AnchorLink>
|
<AnchorLink href="#browse">Browse Archives</AnchorLink>
|
||||||
</nav>
|
</nav>
|
||||||
<img className="logo" src={`${publicRuntimeConfig.subDirPath}/static/img/ETHPrize-logo.png`} alt="ETHPrize logo" />
|
<img className="logo" src={`${publicRuntimeConfig.subDirPath}/static/img/ETHPrize-logo.png`} alt="ETHPrize logo" />
|
||||||
<h1 className="main-heading">Eth Report 2018</h1>
|
<h1 className="main-heading" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/heading-textured-bg.jpg)` }}>
|
||||||
|
Eth Report 2018
|
||||||
|
</h1>
|
||||||
<p>
|
<p>
|
||||||
We’ve interviewed 100+ developers to showcase the biggest opportunities in the
|
We’ve interviewed 100+ developers to showcase the biggest opportunities in the
|
||||||
Ethereum ecosystem
|
Ethereum ecosystem
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Parser from 'html-react-parser';
|
import Parser from 'html-react-parser';
|
||||||
import Slider from 'react-slick';
|
import Slider from 'react-slick';
|
||||||
|
import getConfig from 'next/config';
|
||||||
import Modal from '../modal';
|
import Modal from '../modal';
|
||||||
import WordCloud from '../wordCloud';
|
import WordCloud from '../wordCloud';
|
||||||
import Data from '../../data/resources/wordclouds';
|
import Data from '../../data/resources/wordclouds';
|
||||||
import './style.scss';
|
import './style.scss';
|
||||||
|
|
||||||
|
const { publicRuntimeConfig } = getConfig();
|
||||||
|
|
||||||
class Resources extends React.Component {
|
class Resources extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
@ -55,7 +58,9 @@ class Resources extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<div className="resources-wrap" id="resources">
|
<div className="resources-wrap" id="resources">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<h2 className="main-heading">Resources</h2>
|
<h2 className="main-heading" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/heading-textured-bg.jpg)` }}>
|
||||||
|
Resources
|
||||||
|
</h2>
|
||||||
<div className="wordclouds-wrap">
|
<div className="wordclouds-wrap">
|
||||||
{
|
{
|
||||||
Data.map((wordCloud, index) =>
|
Data.map((wordCloud, index) =>
|
||||||
|
@ -8,7 +8,9 @@ const { publicRuntimeConfig } = getConfig();
|
|||||||
const SearchBar = props => (
|
const SearchBar = props => (
|
||||||
<div className="search-bar" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
|
<div className="search-bar" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<h3 className="main-heading">Archives</h3>
|
<h3 className="main-heading" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/heading-textured-bg.jpg)` }}>
|
||||||
|
Archives
|
||||||
|
</h3>
|
||||||
<form className="search-form">
|
<form className="search-form">
|
||||||
<input
|
<input
|
||||||
className="search-input"
|
className="search-input"
|
||||||
|
BIN
static/img/heading-textured-bg.jpg
Normal file
BIN
static/img/heading-textured-bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
Loading…
x
Reference in New Issue
Block a user