From 21c1b06dfcc3d3c14760336c3344af205c2016db Mon Sep 17 00:00:00 2001 From: Nikurasu Date: Fri, 14 Oct 2022 14:21:45 +0200 Subject: [PATCH] more basic templating, basic config file --- config/config.yml | 7 +++++++ package.json | 3 ++- src/assets/img/profilepic.jpg | Bin 0 -> 26971 bytes src/index.js | 13 +++++++++++-- src/public/main.css | 4 ++++ src/public/simple-basic.css | 18 ++++++++++++++++++ src/public/simple-orange.css | 3 +++ src/views/index.ejs | 12 +++++++++++- src/views/partials/footer.ejs | 1 - src/views/partials/head.ejs | 5 ++++- src/views/partials/header.ejs | 1 - yarn.lock | 12 ++++++++++++ 12 files changed, 72 insertions(+), 7 deletions(-) create mode 100644 config/config.yml create mode 100644 src/assets/img/profilepic.jpg create mode 100644 src/public/main.css create mode 100644 src/public/simple-basic.css create mode 100644 src/public/simple-orange.css diff --git a/config/config.yml b/config/config.yml new file mode 100644 index 0000000..7ffc603 --- /dev/null +++ b/config/config.yml @@ -0,0 +1,7 @@ +name: "Nikurasu" # The name on the linktree +# profilePic: # uncomment and set this if your profile pic has a custom name +links: + - text: "YouTube" # text on the link + hyperlink: "Test" # the actual hyperlink + brandcolor: "youtube" # set this if you want to set the color of the link to the brand color of a platform... + color: "#0D0D0D" # or that if you want to set it to an exact color \ No newline at end of file diff --git a/package.json b/package.json index 7c642a6..355594b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ }, "dependencies": { "ejs": "^3.1.8", - "express": "^4.18.2" + "express": "^4.18.2", + "js-yaml": "^4.1.0" }, "devDependencies": { "nodemon": "^2.0.20" diff --git a/src/assets/img/profilepic.jpg b/src/assets/img/profilepic.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9a09c444669708385215b51c3471d5b9ea0d998f GIT binary patch literal 26971 zcmbTdWl$V#6ec=@yAQ!3xCeJn7~Em-1eZaAyAvQx(7`7_kU<7_CxH;$-3bZq!2^V3 z`F6KMOFE~hX4r(2}y}bpOcY2SLWy7SN{Ke{ObXb;sCFJ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=eeK-1Hd!@@gDr1qpde+=Qtd3Oy8b25IPEZ*jRp402Jc`8TY2`QGicg^zJ|< zM>(d2&j*?Sc6Jg5d8Ym12Q>JmF>+N-dV(`Yl+1k3Uep0%*5V|5I*+Y%7E{3@{H#AZ z<)eY*Bq#tL^=2fV&37*#b3l%{RHJW=s`L{ygAK)VHX6#vHn#*;s%jA=O(x-iMTFU~ zKQ=kDwWLQco?VN6^5XpB^cw=Jc?{$Kpoab zT+^~)D~gQZ z9GvE$p`ryHvT4FG-2MWUSRQbHI%_v<;CfO5L4ZC`DRb{t+HQePDTT@IXs{LD)L!KK^78`~SwP-_c3}Ka%FX@hz zY6TF&PC5EjsEXnw5rMZDtF14Vffghq)y8TCa!?fmKBRL}<8tkj8T9q45XllnRoVaq zyAUctgp4rK%dGf&_f{#jT#=c@?FwY^e(tspJ4#7&}KBA{t6&&wU-s@2oUAP5U zj+E_=t(7AnQUTjl&@oWTLItM*Mkz%hhADAH6bLCr6tn;e zc&3VQpar6eC+B%XQ26jA}Iqs+}o zw0W8IqKW`kmG>C)@^#0(8;--$iYb7sGq#BshFly`MF3chisJ^Ro>pbS=|vO>r!m`& zykz#MnnzX&9k6EymSFys99IncQI$x} zI#ES24wf}WBnpi{D0B6qiVzVOTQSZvLFW(QBcNJep?-> zjYSnB8_?3{y%bOcZpN9M^`eSE9caZAPz14{EHhS81ZKu4qL>%0?V|vY4nWOm8%Tw` zYz7S!RiQD+iVE>hPzBZi!0AO4#66S=9~l_#DN%?7deKEN9}zxS=c%cLO3b^mezZ|Q z7FdxU0l?jl(x0?tbI9~GQ9}_Nh_T8F06nTdFp1a>)KN%esy { + let config = yaml.load(fs.readFileSync('config/config.yml'), 'utf8') + console.log(JSON.stringify(config)) res.render('index', { - engine + name: config.name, + filenameProfilePic: config.profilePic ? config.profilePic : 'profilepic.jpg' }) }) -app.listen(port, () => console.log(`App running on port ${port}, with view engine ${engine}`)) \ No newline at end of file +app.listen(port, () => console.log(`🚀 Socialtree started on port ${port}, with view engine ${engine}`)) \ No newline at end of file diff --git a/src/public/main.css b/src/public/main.css new file mode 100644 index 0000000..2066fe8 --- /dev/null +++ b/src/public/main.css @@ -0,0 +1,4 @@ +* { + margin: 0; + padding: 0; +} \ No newline at end of file diff --git a/src/public/simple-basic.css b/src/public/simple-basic.css new file mode 100644 index 0000000..afc2662 --- /dev/null +++ b/src/public/simple-basic.css @@ -0,0 +1,18 @@ +body { + min-height: 100vh; + display: flex; + justify-content: center; +} + +.container { + margin-top: 3rem; + display: flex; + flex-direction: column; + align-items: center; +} + +.imgbox>img { + height: 10rem; + width: 10rem; + border-radius: .5rem; +} \ No newline at end of file diff --git a/src/public/simple-orange.css b/src/public/simple-orange.css new file mode 100644 index 0000000..1712f18 --- /dev/null +++ b/src/public/simple-orange.css @@ -0,0 +1,3 @@ +body { + background-image: linear-gradient(165deg, #c7a25c 0%, #ff9601 43%, #980d0d 100%); +} \ No newline at end of file diff --git a/src/views/index.ejs b/src/views/index.ejs index 03c2c4f..b3494f1 100644 --- a/src/views/index.ejs +++ b/src/views/index.ejs @@ -1,4 +1,14 @@ <%- include('partials/head') %> <%- include('partials/header') %> -

This is a <%= engine %> Template

+
+
+ +
+
+ <%= name %> +
+ +
<%- include('partials/footer') %> \ No newline at end of file diff --git a/src/views/partials/footer.ejs b/src/views/partials/footer.ejs index f3328a6..2bf2078 100644 --- a/src/views/partials/footer.ejs +++ b/src/views/partials/footer.ejs @@ -1,4 +1,3 @@
- This is the Footer
\ No newline at end of file diff --git a/src/views/partials/head.ejs b/src/views/partials/head.ejs index 1bb9854..190302c 100644 --- a/src/views/partials/head.ejs +++ b/src/views/partials/head.ejs @@ -1,5 +1,8 @@ - + + + + diff --git a/src/views/partials/header.ejs b/src/views/partials/header.ejs index 4706f26..9c65a31 100644 --- a/src/views/partials/header.ejs +++ b/src/views/partials/header.ejs @@ -1,3 +1,2 @@
- This is the header
\ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 15e4def..bebe122 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30,6 +30,11 @@ anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + array-flatten@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" @@ -405,6 +410,13 @@ jake@^10.8.5: filelist "^1.0.1" minimatch "^3.0.4" +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + media-typer@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"