Removed discord

This commit is contained in:
Vince 2021-03-02 17:00:34 +11:00
parent 573d0e7864
commit b28fa0a9ff
4 changed files with 58 additions and 49 deletions

View File

@ -7,50 +7,47 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 650 650"
xml:space="preserve"
id="svg2"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
viewBox="0 0 2750 2750"
xml:space="preserve"
sodipodi:docname="session.svg"
inkscape:version="1.0.1 (0767f8302a, 2020-10-17)"><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1014"
id="namedview12"
showgrid="false"
inkscape:zoom="0.96675634"
inkscape:cx="-18.247714"
inkscape:cy="227.84825"
inkscape:window-x="1080"
inkscape:window-y="34"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" /><metadata
id="metadata8"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs6"><clipPath
id="clipPath18"
clipPathUnits="userSpaceOnUse"><path
id="path16"
d="M 0,336.305 H 303.064 V 0 H 0 Z" /></clipPath></defs><g
transform="matrix(1.3333333,0,0,-1.3333333,127.84248,540.25561)"
id="g10"
style="fill:#000000;fill-opacity:1"><g
id="g12"
style="fill:#000000;fill-opacity:1"><g
clip-path="url(#clipPath18)"
id="g14"
style="fill:#000000;fill-opacity:1"><g
transform="translate(216.4556,21.0229)"
id="g20"
style="fill:#000000;fill-opacity:1"><path
id="path22"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 h -147.251 c -25.182,0 -46.881,19.311 -48.123,44.461 -1.328,26.885 20.162,49.182 46.765,49.182 h 84.804 c 5.189,0 9.395,4.206 9.395,9.394 v 69.229 L 29.025,126.032 C 51.087,113.807 64.975,90.781 65.565,65.646 66.415,29.551 36.104,0 0,0 m -158.872,168.227 c -22.062,12.225 -35.95,35.251 -36.541,60.386 -0.849,36.095 29.462,65.646 65.565,65.646 H 17.403 c 25.182,0 46.881,-19.311 48.124,-44.462 1.328,-26.884 -20.162,-49.181 -46.764,-49.181 0,0 -60.987,-0.01 -84.808,-0.014 -5.186,-0.001 -9.374,-4.206 -9.376,-9.392 l -0.016,-69.217 z M 39.213,144.42 -24.265,179.593 h 43.028 c 37.408,0 67.845,30.434 67.845,67.843 0,37.408 -30.437,67.846 -67.845,67.846 h -150.224 c -46.864,0 -84.995,-38.131 -84.995,-84.995 0,-33.425 18.162,-64.248 47.396,-80.449 l 63.477,-35.172 h -43.026 c -37.41,0 -67.847,-30.435 -67.847,-67.843 0,-37.408 30.437,-67.846 67.847,-67.846 H 1.613 c 46.866,0 84.995,38.13 84.995,84.995 0,33.425 -18.162,64.248 -47.395,80.448" /></g></g></g></g></svg>
inkscape:version="1.0.1 (0767f8302a, 2020-10-17)"><metadata
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs13" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="2560"
inkscape:window-height="1374"
id="namedview11"
showgrid="false"
inkscape:zoom="0.18137289"
inkscape:cx="-903.83702"
inkscape:cy="1689.9868"
inkscape:window-x="0"
inkscape:window-y="34"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1" />
<g
id="g8"
transform="translate(370.68617,368.41838)">
<path
class="st0"
d="m 544.7,1940.8 c -217.9,0 -395.1,-177.2 -395.1,-395.1 0,-217.8 177.2,-395.1 395.1,-395.1 H 678.2 L 420.9,1008 C 253.6,915.3 149.7,738.9 149.7,547.6 149.7,278.3 368.8,59.2 638.1,59.2 h 817.2 c 217.9,0 395.1,177.2 395.1,395.1 0,217.8 -177.2,395.1 -395.1,395.1 H 1321.8 L 1579.1,992 c 167.3,92.7 271.2,269.1 271.2,460.4 0,269.3 -219.1,488.4 -488.4,488.4 z m 0,-623.8 c -63.1,0 -122,25.3 -165.6,71.2 -43.6,45.8 -65.9,105.9 -62.8,169.1 6,121.8 109.6,217.2 235.8,217.2 h 801.1 c 89.2,0 176.3,-36.8 239,-101 61.1,-62.6 93.7,-144.1 91.7,-229.5 -3,-127.3 -74,-244.7 -185.4,-306.4 L 1083.2,907.5 V 1240 c 0,42.5 -34.6,77.1 -77.1,77.1 H 544.7 Z M 646.8,225.6 c -89.2,0 -176.3,36.8 -239,101 -61.1,62.6 -93.7,144.1 -91.7,229.5 3,127.3 74,244.7 185.4,306.4 l 415.3,230.1 0.1,-332.4 c 0,-42.5 34.6,-77.1 77,-77.1 l 461.4,-0.1 c 63.1,0 122,-25.3 165.6,-71.2 43.6,-45.8 65.9,-105.9 62.8,-169.1 -6,-121.8 -109.6,-217.2 -235.8,-217.2 H 646.8 Z"
id="path4" />
<path
class="st0"
d="m 1455.3,85.2 c 203.5,0 369.1,165.6 369.1,369.1 0,203.5 -165.6,369.1 -369.1,369.1 h -234.1 l 345.3,191.3 c 159,88.1 257.8,255.8 257.8,437.7 0,255 -207.4,462.4 -462.4,462.4 H 544.7 c -203.5,0 -369.1,-165.6 -369.1,-369.1 0,-203.5 165.6,-369.1 369.1,-369.1 H 778.8 L 433.5,985.3 C 274.5,897.2 175.7,729.5 175.7,547.6 175.7,292.6 383.1,85.2 638.1,85.2 h 817.2 m -512.5,1051.5 0.1,-376.6 c 0,-28.2 22.8,-51.1 51,-51.1 129.6,0 461.4,-0.1 461.4,-0.1 144.7,0 261.6,-121.3 254.4,-267.6 -6.8,-136.8 -124.8,-241.9 -261.8,-241.9 H 646.8 c -196.4,0 -361.3,160.8 -356.7,357.1 3.2,136.7 78.8,262 198.8,328.5 l 453.9,251.7 m -390.7,663.7 h 801.1 c 196.4,0 361.3,-160.8 356.7,-357.1 -3.2,-136.7 -78.8,-262 -198.8,-328.5 L 1057.2,863.3 v 376.6 c 0,28.2 -22.9,51.1 -51.1,51.1 H 544.7 c -144.7,0 -261.6,121.3 -254.4,267.6 6.8,136.8 124.8,241.8 261.8,241.8 M 1455.3,33.2 H 638 c -283.6,0 -514.4,230.8 -514.4,514.4 0,200.7 109.1,385.8 284.6,483.1 l 169.4,93.9 h -32.9 c -232.2,0 -421.1,188.9 -421.1,421.1 0,232.2 188.9,421.1 421.1,421.1 H 1362 c 283.6,0 514.4,-230.8 514.4,-514.4 0,-200.7 -109.1,-385.8 -284.6,-483.1 l -169.4,-93.9 h 32.9 c 232.2,0 421.1,-188.9 421.1,-421.1 0,-232.2 -188.9,-421.1 -421.1,-421.1 z M 890.8,1048.5 514.1,839.7 C 410.8,782.4 344.9,673.5 342.1,555.4 340.3,477 370.2,402.2 426.4,344.7 484.2,285.5 564.6,251.5 646.8,251.5 h 801.1 c 112.4,0 204.5,84.5 209.9,192.4 2.8,56 -17,109.3 -55.7,149.9 -38.7,40.7 -90.9,63.1 -146.8,63.1 L 993.9,657 c -27.6,0 -53.4,10.7 -72.9,30.2 -19.4,19.5 -30.1,45.3 -30.1,72.8 z m -338.7,699.9 c -112.4,0 -204.5,-84.5 -209.9,-192.4 -2.8,-56 17,-109.3 55.7,-149.9 38.7,-40.7 90.9,-63.1 146.8,-63.1 h 461.4 c 56.9,0 103.1,-46.3 103.1,-103.1 V 951.5 l 376.7,208.7 c 103.3,57.3 169.2,166.2 172,284.3 1.8,78.4 -28.1,153.2 -84.3,210.7 -57.8,59.2 -138.2,93.2 -220.4,93.2 z"
id="path6" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -4,7 +4,6 @@ import { useRouter } from 'next/router';
import React, { useContext } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { v4 as uuid } from 'uuid';
import DiscordSVG from '../../assets/svgs/socials/discord.svg';
import GithubSVG from '../../assets/svgs/socials/github.svg';
import RedditSVG from '../../assets/svgs/socials/reddit.svg';
import SessionSVG from '../../assets/svgs/socials/session.svg';
@ -121,13 +120,13 @@ const SocialsRow = () => {
<a href="https://github.com/oxen-io" target="_blank" rel="noreferrer">
<GithubSVG className="h-12 placeholder-current duration-300 border rounded-full cursor-pointer fill-current stroke-current tablet:h-10 hover:bg-primary hover:text-secondary border-primary" />
</a>
<a
{/* <a
href="https://discord.com/invite/67GXfD6"
target="_blank"
rel="noreferrer"
>
<DiscordSVG className="h-12 placeholder-current duration-300 border rounded-full cursor-pointer fill-current stroke-current tablet:h-10 hover:bg-primary hover:text-secondary border-primary" />
</a>
</a> */}
<a
href="https://www.youtube.com/channel/UCN7LL0dEffQ7FSjbY5wwlnw"
target="_blank"

12
update.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
git pull origin master
git reset --hard orgin/master
rm -rf ./node_modules
yarn install
yarn build
pm2 restart oxen.io
systemctl restart nginx.service

View File

@ -1,7 +1,8 @@
import { METADATA } from '../constants';
import { titleCase } from './text';
export function generateTitle(prefix: string) {
return prefix
? `${prefix} - ${METADATA.TITLE_SUFFIX}`
? `${titleCase(prefix)} - ${METADATA.TITLE_SUFFIX}`
: METADATA.TITLE_SUFFIX;
}