Icons instead of text because fuck text

This commit is contained in:
monty 2019-11-30 16:26:13 +01:00
parent a96b0a99f4
commit 9a59674e90
7 changed files with 52 additions and 39 deletions

View file

@ -53,6 +53,12 @@ sub {
a { a {
text-decoration: none; text-decoration: none;
color: white; color: white;
display: inline-block;
}
svg {
margin: 0;
padding: 0;
} }
body.light a { body.light a {
@ -91,88 +97,78 @@ body.light #box {
a.twitter { a.twitter {
fill: #1da1f2 !important; fill: #1da1f2 !important;
color: #1da1f2 !important;
} }
a.twitter.light { a.twitter.light {
fill: #1da1f2 !important; fill: #1da1f2 !important;
color: #1da1f2 !important;
} }
a.keybase { a.keybase {
fill: #33a0ff !important; fill: #33a0ff !important;
color: #33a0ff !important;
} }
a.keybase.light { a.keybase.light {
fill: #33a0ff !important; fill: #33a0ff !important;
color: #33a0ff !important;
} }
a.discord { a.discord {
fill: #7289da !important; fill: #7289da !important;
color: #7289da !important;
} }
a.discord.light { a.discord.light {
fill: #7289da !important; fill: #7289da !important;
color: #7289da !important;
} }
a.mastodon { a.mastodon {
fill: #3088d4 !important; fill: #3088d4 !important;
color: #3088d4 !important;
} }
a.mastodon.light { a.mastodon.light {
fill: #3088d4 !important; fill: #3088d4 !important;
color: #3088d4 !important;
} }
a.twitch { a.twitch {
fill: #6441a4 !important; fill: #6441a4 !important;
color: #6441a4 !important;
} }
a.twitch.light { a.twitch.light {
fill: #6441a4 !important; fill: #6441a4 !important;
color: #6441a4 !important;
} }
a.gitdab { a.gitdab {
fill: #faacb7 !important; fill: #faacb7 !important;
color: #faacb7 !important;
} }
a.gitdab.light { a.gitdab.light {
fill: #faacb7 !important; fill: #faacb7 !important;
color: #faacb7 !important;
} }
a.github { a.github {
fill: #333 !important; fill: #333 !important;
color: #333 !important;
} }
a.github.light { a.github.light {
fill: #333 !important; fill: #333 !important;
color: #333 !important;
} }
a.gitlab { a.gitlab {
fill: #e24329 !important; fill: #e24329 !important;
color: #e24329 !important;
} }
a.gitlab.light { a.gitlab.light {
fill: #e24329 !important; fill: #e24329 !important;
color: #e24329 !important; }
a svg {
max-width: 4ch;
} }
.socials { .socials {
width: 90%; font-size: 2vh;
font-size: 4vh;
text-align: center; text-align: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
} }
divide { divide {

View file

@ -1,6 +1,6 @@
{ {
"version": 3, "version": 3,
"mappings": "AAAA,OAAO,CAAC,2EAAI;AACZ,OAAO,CAAC,kEAAI;AAGZ,AAAA,IAAI,CAAC;EACJ,gBAAgB,EAAE,KAAK;EACvB,KAAK,EAAE,KAAK;CAEZ;;AAED,AAAA,MAAM,CAAC;EACN,KAAK,EAAE,gBAAgB;EACvB,UAAU,EAAE,gBAAgB;CAC5B;;AAED,AAAA,CAAC,CAAC;EACD,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,WAAW,EAAE,oBAAoB;CACjC;;AAED,AAAA,MAAM,CAAC;EAEN,SAAS,EAAE,IAAI;EACf,MAAM,EAAE,CAAC;CACT;;AACD,AAAA,SAAS,CAAC;EAET,SAAS,EAAE,GAAG;EACd,MAAM,EAAE,IAAI;EAEZ,UAAU,EAAE,MAAM;EAClB,MAAM,EAAE,IAAI;CACZ;;AACD,AAAA,GAAG,CAAC;EACH,SAAS,EAAE,GAAG;CACd;;AAED,AAAA,OAAO,CAAC;EACP,MAAM,EAAE,IAAI;EACZ,OAAO,EAAE,IAAI;EACb,cAAc,EAAE,MAAM;EACtB,WAAW,EAAE,MAAM;EACnB,eAAe,EAAE,MAAM;CACvB;;AACD,AAAA,CAAC,CAAC;EACD,eAAe,EAAE,IAAI;EACrB,KAAK,EAAE,KAAK;CACZ;;AAED,AAAA,IAAI,AAAA,MAAM,CAAC,CAAC,CAAC;EACZ,KAAK,EAAE,KAAK;CACZ;;AAED,AAAA,IAAI,CAAC;EACJ,QAAQ,EAAE,QAAQ;EAClB,OAAO,EAAE,GAAG;EACZ,MAAM,EAAE,eAAe;EACvB,UAAU,EAAE,UAAU;EACtB,GAAG,EAAE,CAAC;E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AAI,AAAA,MAAM,CAAC,UAAU,AAAA,WAAW,CAAA;EAE/B,KAAK,EAAE,KAAK;EACZ,gBAAgB,EAAE,OAAW;CAC7B;;AACD,AAAA,UAAU,CAAA;EACT,SAAS,EAAE,GAAG;CACd;;AAlBD,AAAA,KAAK,AAAA,MAAM,CAAK;EACf,KAAK,EALkC,OAAO;CAU9C;;AAND,AAGC,KAHI,AAAA,MAAM,GAGN,IAAI,CAAC;EACR,YAAY,EAR0B,OAAO;CAS7C;;AAEF,AAAA,KAAK,AAAA,WAAW,CAAK;EACpB,KAAK,EAAE,KAAK;EACZ,gBAAgB,EAbuB,OAAO;CAc9C;;AACD,AAAA,IAAI,AAAA,MAAM,CAAC,KAAK,AAAA,WAAW,CAAK;EAE/B,KAAK,EAAE,KAAK;EACZ,gBAAgB,EAAE,OAAW;CAC7B;;AACD,AAAA,KAAK,CAAK;EACT,SAAS,EAAE,GAAG;CACd;;AAlBD,AAAA,IAAI,AAAA,MAAM,CAAM;EACf,KAAK,EALkD,OAAO;CAU9D;;AAND,AAGC,IAHG,AAAA,MAAM,GAGL,IAAI,CAAC;EACR,YAAY,EAR0C,OAAO;CAS7D;;AAEF,AAAA,IAAI,AAAA,WAAW,CAAM;EACpB,KAAK,EAAE,KAAK;EACZ,gBAAgB,EAbuC,OAAO;CAc9D;;AACD,AAAA,IAAI,AAAA,MAAM,CAAC,IAAI,AAAA,WAAW,CAAM;EAE/B,KAAK,EAAE,KAAK;EACZ,gBAAgB,EAAE,OAAW;CAC7B;;AACD,AAAA,IAAI,CAAM;EACT,SAAS,EAAE,GAAG;CACd",
"sources": [ "sources": [
"main.scss" "main.scss"
], ],

View file

@ -46,6 +46,11 @@ sub {
a { a {
text-decoration: none; text-decoration: none;
color: white; color: white;
display: inline-block;
}
svg {
margin: 0;
padding: 0;
} }
body.light a { body.light a {
@ -92,18 +97,22 @@ $socials: (
@each $site, $accent in $socials { @each $site, $accent in $socials {
a.#{$site} { a.#{$site} {
fill: $accent !important; fill: $accent !important;
color: $accent !important; // color: $accent !important;
} }
a.#{$site}.light { a.#{$site}.light {
fill: $accent !important; fill: $accent !important;
color: $accent !important; // color: $accent !important;
} }
} }
a svg {
max-width: 4ch;
}
.socials { .socials {
width: 90%; font-size: 2vh;
font-size: 4vh;
text-align: center; text-align: center;
justify-content: center;
} }
divide { divide {

5
package-lock.json generated
View file

@ -1271,6 +1271,11 @@
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
}, },
"simple-icons": {
"version": "1.20.0",
"resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-1.20.0.tgz",
"integrity": "sha512-J/lP0ajPp74vL4gWXzqkuFlMX09u6gkJJ5UvqkeEqVi0TJe1EmkSUfFsq035HLX8MrBMDW5oa1G0Kydmrd128g=="
},
"source-map": { "source-map": {
"version": "0.6.1", "version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",

View file

@ -14,6 +14,7 @@
"morgan": "^1.9.1", "morgan": "^1.9.1",
"nodemon": "^2.0.1", "nodemon": "^2.0.1",
"shell-exec": "^1.0.2", "shell-exec": "^1.0.2",
"simple-icons": "^1.20.0",
"ua-parser-js": "^0.7.20" "ua-parser-js": "^0.7.20"
}, },
"devDependencies": {}, "devDependencies": {},

View file

@ -8,6 +8,7 @@ const chalk = require('chalk');
const hbs = require('express-handlebars'); const hbs = require('express-handlebars');
const UA = require('ua-parser-js'); const UA = require('ua-parser-js');
const exec = require('shell-exec'); const exec = require('shell-exec');
const simpleIcons = require('simple-icons');
const con = require('./constants'); const con = require('./constants');
let { port, hostname } = { let { port, hostname } = {
@ -66,14 +67,14 @@ module.exports = (client) => {
host: req.hostname, host: req.hostname,
item: [ { name: 'portfolio', source: '/portfolio' } ], item: [ { name: 'portfolio', source: '/portfolio' } ],
social: [ social: [
{ name: 'keybase', color: '33a0ff', link: 'keybase.io/codepupper' }, { name: 'Twitter', color: '1DA1F2', link: 'twitter.com/codepupper', icon: simpleIcons.Twitter },
{ name: 'discord', color: '7289da', link: 'thaldr.in/discord' }, { name: 'Discord', color: '7289da', link: 'thaldr.in/discord', icon: simpleIcons.Discord },
{ name: 'mastodon', color: '3088d4', link: 'pounced-on.me/@code' }, { name: 'Mastodon', color: '3088d4', link: 'pounced-on.me/@code', icon: simpleIcons.Mastodon },
{ name: 'twitter', color: '1DA1F2', link: 'twitter.com/codepupper' }, { name: 'Keybase', color: '33a0ff', link: 'keybase.io/codepupper', icon: simpleIcons.Keybase },
{ name: 'gitdab', color: 'faacb7', link: 'gitdab.com/y' }, { name: 'Gitdab', color: 'faacb7', link: 'gitdab.com/y', icon: simpleIcons.Git },
{ name: 'github', color: '333', link: 'github.com/codepupper' }, { name: 'Github', color: '333', link: 'github.com/codepupper', icon: simpleIcons.GitHub },
{ name: 'gitlab', color: 'E24329', link: 'gitlab.com/codepupper' }, { name: 'Gitlab', color: 'E24329', link: 'gitlab.com/codepupper', icon: simpleIcons.GitLab },
{ name: 'twitch', color: '6441a4', link: 'twitch.tv/codepupper' } { name: 'Twitch', color: '6441a4', link: 'twitch.tv/codepupper', icon: simpleIcons.Twitch }
] ]
}); });
}); });

View file

@ -1,24 +1,25 @@
<body> <body>
<div class="center"> <div class="center">
<h1 class="title"><i>{{name}}</i></h1> <h1 class="title"><i>{{name}}</i></h1>
<h1 class="subtitle toggle">dark/light</h1> <h1 class="subtitle toggle">dark/light</h1>
<divide></divide> <divide></divide>
{{#each item}} {{#each item}}
<a class="{{this.name}}" href="{{this.source}}">{{this.name}}</a> <a class="{{this.name}}" href="{{this.source}}">{{this.name}}</a>
{{/each}} {{/each}}
<divide></divide> <divide></divide>
<div class="socials"> <div class="socials">
{{#each social}} {{#each social}}
<a href="https://{{link}}" class="{{name}}"> <a href="https://{{link}}" class="{{name}}">
{{name}} <svg width="40" height="40" role="img" viewBox="0 0 24 24" >
</a> <title>{{name}} Icon</title>
{{!-- <img data-color="#{{color}}" src="./assets/icons/{{name}}.svg" alt="{{name}} Icon"></a> --}} <path d="{{icon.path}}"></path>
</svg></a>
{{/each}} {{/each}}
</div> </div>
{{!-- <a class="portfolio" href="/portfolio">portfolio</a>
<a id="disabled" class="lore" href="/lore">lore</a>
<a id="disabled" class="art" href="/art">art</a> --}}
<div id="box"></div> <div id="box"></div>
</div> </div>
</body> </body>