diff --git a/README.md b/README.md index 0fa4c8e..1b3d42e 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,11 @@ - [X] Dockerize ### TODO until 1.0: -- [ ] Import my styles from the old socialtree +- [X] Import my styles from the old socialtree - [X] Overwrite for round profile pictures +- [ ] Testing if everything works like expected +- [ ] Expand Documentation +- [ ] Rewrite README ## Setup A up to date docker image is provided at my gitea, but you can also build it yourself. diff --git a/assets/config/config.yml b/assets/config/config.yml index 76213eb..065807b 100644 --- a/assets/config/config.yml +++ b/assets/config/config.yml @@ -2,7 +2,7 @@ name: "Nikurasu" # The name on the linktree # summaryText: 'A simple sample text' # A short summary for what you do, will appear under the name if uncommened # profilePic: # uncomment and set this if your profile pic has a custom name roundPB: false -theme: 'simple-orange' +theme: '98' links: - text: "YouTube" # text on the link hyperlink: "Test" # the actual hyperlink diff --git a/src/index.js b/src/index.js index a89dbef..c078458 100644 --- a/src/index.js +++ b/src/index.js @@ -11,7 +11,7 @@ const port = process.env.PORT || 3000 const engine = 'ejs' const customMainTagThemes = [ - '89' + '98' ] app.set('view engine', engine) diff --git a/src/public/themes/98.scss b/src/public/themes/98.scss new file mode 100644 index 0000000..fb936e3 --- /dev/null +++ b/src/public/themes/98.scss @@ -0,0 +1,40 @@ +@import '../util/main.scss'; + +body { + background-color: #008080; +} + +.container { + margin: 2rem 0; + display: flex; + flex-direction: column; + align-items: center; + gap: 2rem; + + .img-window { + width: 11rem; + img { + width: 10rem; + } + } + + .link-window { + width: 750px; + max-width: 90vw; + + .mainLinkbox { + margin: .5rem 0; + display: flex; + flex-direction: column; + align-items: center; + gap: .5rem + } + + .smallLinkbox { + a { + text-decoration: none; + color: unset; + } + } + } +} \ No newline at end of file diff --git a/src/views/partials/98_main.ejs b/src/views/partials/98_main.ejs new file mode 100644 index 0000000..5196ef9 --- /dev/null +++ b/src/views/partials/98_main.ejs @@ -0,0 +1,47 @@ +
+
+
+
ImgViewer.exe
+
+ + + +
+
+
+ +
+
+ +