Skip to content

Commit

Permalink
build finish
Browse files Browse the repository at this point in the history
  • Loading branch information
sragabor committed Jul 20, 2022
1 parent fe2cdc9 commit 825f882
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 4 deletions.
3 changes: 2 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = {
},
},
"gatsby-plugin-sass",
'gatsby-plugin-postcss'
'gatsby-plugin-postcss',
`gatsby-plugin-react-helmet`
],
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
"@parcel/namer-default": "^2.6.2",
"gatsby": "^4.19.1",
"gatsby-plugin-manifest": "^4.19.0",
"gatsby-plugin-react-helmet": "^5.19.0",
"gatsby-plugin-sass": "^5.6.0",
"gatsby-source-filesystem": "^4.18.0",
"hamburgers": "^1.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-multi-carousel": "^2.8.2",
"sass": "^1.49.0",
"tw-elements": "^1.0.0-alpha12"
Expand Down
2 changes: 2 additions & 0 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from "react";

class Footer extends React.Component {

render() {
return (
<footer>
Expand Down Expand Up @@ -42,6 +43,7 @@ class Footer extends React.Component {
</div>
<div className={'flex flex-row'}>
<div className={'flex flex-col basis-full'}>
<div name="termly-embed" data-id="16bbf718-0fc9-43b5-838a-697d2013b102" data-type="iframe"></div>
<div className={'copyright'}>

<a href="https://designatives.com" target={'_blank'} rel={'noreferrer'}>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Header extends React.Component {
<div className={'flex flex-col basis-auto'}>
<div className={'flex items-center'}>
<div className={'flex flex-col'}>
<a href="https://twitter.com/inter_protocol" target={'_blank'}>
<a href="https://twitter.com/inter_protocol" target={'_blank'} rel={'noreferrer'}>
<svg width="20px" height="17px" viewBox="0 0 20 17" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g id="Twitter" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
<g id="IP---FULL-NEW" transform="translate(-1479.000000, -51.000000)" fill="#000000" fillRule="nonzero">
Expand All @@ -75,7 +75,7 @@ class Header extends React.Component {
</a>
</div>
<div className={'flex flex-col pl-5'}>
<a href="http://discord.gg/Gy25rwQuh5" target={'_blank'}>
<a href="http://discord.gg/Gy25rwQuh5" target={'_blank'} rel={'noreferrer'}>
<svg width="22px" height="18px" viewBox="0 0 22 18" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g id="Discord" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
<g id="IP---FULL-NEW" transform="translate(-1518.000000, -51.000000)" fill="#000000">
Expand Down
2 changes: 1 addition & 1 deletion src/components/RecentTweets.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useRef, useEffect } from 'react';
import React from 'react';
import Carousel from 'react-multi-carousel';
import 'react-multi-carousel/lib/styles.css';
import data from "../contents/tweetPosts.json";
Expand Down
7 changes: 7 additions & 0 deletions src/js/privacy-policy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function(d, s, id) {
var js, tjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://app.termly.io/embed-policy.min.js";
tjs.parentNode.insertBefore(js, tjs);
}(document, 'script', 'termly-jssdk'));
5 changes: 5 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ import * as React from "react"
import Header from "../components/Header";
import Fullpage from "../contents/homepage";
import {SEO} from "../components/seo";
import {Helmet} from "react-helmet";
import privacy from "../js/privacy-policy";

const IndexPage = () => {
return (
<div>
<Helmet>
<title>Inter Protocol</title>
</Helmet>
<Header/>
<Fullpage/>
</div>
Expand Down

0 comments on commit 825f882

Please sign in to comment.