diff --git a/.index.php.kate-swp b/.index.php.kate-swp new file mode 100644 index 0000000..5114be1 Binary files /dev/null and b/.index.php.kate-swp differ diff --git a/_config.php b/_config.php index f0e32c0..22c9b11 100644 --- a/_config.php +++ b/_config.php @@ -18,14 +18,14 @@ $twig->addGlobal('discord_auth', $_ENV['DISCORD_OAUTH']); $discord = new Discord( - $_ENV['DISCORD_CLIENT'], + $_ENV['DISCORD_CLIENT'], $_ENV['DISCORD_SECRET'], $_ENV['DISCORD_REDIRECT'] ); - + $mysql = new Database( $_ENV['MYSQL_HOST'], $_ENV['MYSQL_USER'], $_ENV['MYSQL_PASS'], $_ENV['MYSQL_DB'] - ); \ No newline at end of file + ); diff --git a/css/src/_fonts.scss b/css/src/_fonts.scss index 4ad29e5..f6bcfe2 100644 --- a/css/src/_fonts.scss +++ b/css/src/_fonts.scss @@ -1,11 +1,18 @@ -@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap'); +// @import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap'); -* { +@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Outfit:wght@500&display=swap'); + +body, input { font-family: "Noto Sans", "Noto Color Emoji", sans-serif; } h1, h2, h3, h4, h5, h6 { font-family: "Outfit", "Noto Color Emoji", sans-serif; + font-weight: 500; + //margin-bottom: 6px; +} - margin-bottom: 6px; -} \ No newline at end of file +.pageHero { + font-family: "Comic Neue", "Comic Sans MS", "Noto Color Emoji", sans-serif; + //margin-bottom: 6px; +} diff --git a/css/src/_reset.scss b/css/src/_reset.scss index 22c532d..cdf9012 100644 --- a/css/src/_reset.scss +++ b/css/src/_reset.scss @@ -1,4 +1,3 @@ * { - padding: 0; margin: 0; -} \ No newline at end of file +} diff --git a/css/src/style.scss b/css/src/style.scss index da417e1..27d773b 100644 --- a/css/src/style.scss +++ b/css/src/style.scss @@ -1,57 +1,70 @@ -@import "reset"; +//@import "reset"; @import "fonts"; body { - background: #f8fafc; + background: white; + margin: 0; + + @media (prefers-color-scheme: dark) { + background: #202120; + color: white; + } } .container { - max-width: 1100px; + max-width: 960px; width: 100%; margin: 0 auto; + + padding: 24px; + box-sizing: border-box; } ul, ol { list-style-position: inside; } -.pageHero { - background-image: url('/img/spawn/2023-11-18_12.50.56.png'); +p { + line-height: 1.6; + opacity: 0.92; +} - background-position: center; +img { + max-width: 100%; +} - color: #fff; +a { + color: #527D52; - height: 240px; + @media (prefers-color-scheme: dark) { + color: #D0DFD0; + } - > .blurFiler { - backdrop-filter: blur(2px); - - padding: 8px 0; - - height: calc(100% - (8px + 8px)); - - > .container { - height: 100%; - - display: flex; - flex-direction: row; - - align-items: center; - justify-content: space-between; - } + &:visited { + opacity: 0.9; } } -.pageNav { - width: 100svw; +.pageHero { + background-image: + linear-gradient(rgba(white, 0.9),rgba(white, 0.9)), // white overlay. yeah that's a bit of an ugly hack? + url('/img/Panorama-Lens-Blur.png'); - background: #f1f5f9; + @media (prefers-color-scheme: dark) { + background-image: + linear-gradient(rgba(#101610, 0.9),rgba(#101610, 0.9)), + url('/img/Panorama-Lens-Blur.png'); + } + + background-position: center; + background-size: cover; + + height: 220px; > .container { - padding: 16px 0; + height: 100%; display: flex; flex-direction: row; @@ -59,31 +72,184 @@ ul, ol { align-items: center; justify-content: space-between; - > ul { - list-style: none; + @media (max-width: 600px) { + justify-content: center; + } + + > div { + display: flex; + flex-direction: column; + + gap: 12px; + + &.Branding { + align-items: flex-start; + + @media (max-width: 600px) { + align-items: center; + } + + @media (prefers-color-scheme: dark) { + img { filter: invert(1) } + } + + span { + font-size: 24px; + opacity: 0.75; + } + } + + &.Server-Information { + @media (max-width: 600px) { + display: none; + } + + align-items: center; + gap: 4px; + + input { + text-align: center; + font-size: 24px; + + &:not(:hover, :focus) { + color: inherit; + border-color: transparent; + background: transparent; + } + } + } + } + } +} + +.Nav-Toggle { + @media (min-width: 601px) { + display: none; + } + z-index: 10; + + position: fixed; + top: 8px; + right: 8px; + font-size: 18px; + + background: #527D52; + color: #fff; + + padding: 8px 24px; + + border-radius: 32px; + + font-weight: bold; + user-select: none; + + cursor: pointer; +} + +.pageNav { + width: 100%; + + border: solid #D0DFD0; + border-width: 0 0 1px 0; + + background: #F9FFF9; + + @media (prefers-color-scheme: dark) { + border-color: #575F57; + background: #272F27; + } + + > .container { + padding: 16px 24px; + + display: flex; + flex-wrap: wrap; + + align-items: center; + justify-content: space-between; + + @media (max-width: 600px) { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 9; + + background: inherit; + + transition: 0.12s; + + &:not(.openned) { + opacity: 0; + pointer-events: none; + + transform: scale(1.2); + + transition: 0.24s; + } + } + + > div { + margin: 0; display: flex; + flex-wrap: wrap; gap: 8px; - > li { - > a { - color: #0f172a; + @media (max-width: 600px) { + width: 100%; + flex-direction: column; + gap: 6px; + align-items: center; + } - text-decoration: none; + > a { + user-select: none; - padding: 8px 16px; + font-size: 18px; + box-sizing: border-box; + color: #7E9E7E; - border-radius: 32px; + @media (max-width: 600px) { + font-size: 24px; + width: 100%; + padding: 12px 24px; + text-align: center; + } - &:hover, &.active { - background: rgba(15, 23, 42, 0.1); + + text-decoration: none; + + padding: 8px 24px; + + border-radius: 32px; + + outline: solid transparent 2px; + + transition: 0.24s; + + &:hover, &.active { + //background: rgba(15, 23, 42, 0.1); + outline-color: #D0DFD0; + + color: #527D52; + + @media (prefers-color-scheme: dark) { + color: #DEFEDE; + outline-color: #707F70; } - &.buttonPrimary { - background: #6366f1; - color: #fff; - } + + transition: 0.08s; + } + + &.buttonPrimary { + background: #527D52; + color: #fff; + + font-weight: bold; } } } @@ -91,41 +257,36 @@ ul, ol { } .pageContent { - margin: 16px 0; + // } .pageFooter { - display: flex; - flex-direction: row; + opacity: 0.8; - align-items: center; - justify-content: space-between; - - > .left { + > .SNS-Links { display: flex; - flex-direction: column; - } - - > .right { - list-style: none; + flex-wrap: wrap; + gap: 16px; - display: flex; - - > li { - padding: 8px; - - > a { - display: block; - - width: 24px; - height: 24px; - - color: rgba(0, 0, 0, 0.7); - - &:hover { - color: rgba(0, 0, 0, 1); + > a { + display: flex; + gap: 8px; + + font-size: 18px; + + color: inherit; + + img { + width: 1em; + + @media (prefers-color-scheme: dark) { + filter: invert(1); } } + + &:not(:hover, :focus) { + text-decoration: none; + } } } -} \ No newline at end of file +} diff --git a/css/style.css b/css/style.css index 508c82f..0c7a13a 100644 --- a/css/style.css +++ b/css/style.css @@ -1,110 +1 @@ -@import url("https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap"); -* { - padding: 0; - margin: 0; -} - -* { - font-family: "Noto Sans", "Noto Color Emoji", sans-serif; -} - -h1, h2, h3, h4, h5, h6 { - font-family: "Outfit", "Noto Color Emoji", sans-serif; - margin-bottom: 6px; -} - -body { - background: #f8fafc; -} - -.container { - max-width: 1100px; - width: 100%; - margin: 0 auto; -} - -ul, ol { - list-style-position: inside; -} - -.pageHero { - background-image: url("/img/spawn/2023-11-18_12.50.56.png"); - background-position: center; - color: #fff; - height: 240px; -} -.pageHero > .blurFiler { - backdrop-filter: blur(2px); - padding: 8px 0; - height: calc(100% - 16px); -} -.pageHero > .blurFiler > .container { - height: 100%; - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; -} - -.pageNav { - width: 100svw; - background: #f1f5f9; -} -.pageNav > .container { - padding: 16px 0; - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; -} -.pageNav > .container > ul { - list-style: none; - display: flex; - gap: 8px; -} -.pageNav > .container > ul > li > a { - color: #0f172a; - text-decoration: none; - padding: 8px 16px; - border-radius: 32px; -} -.pageNav > .container > ul > li > a:hover, .pageNav > .container > ul > li > a.active { - background: rgba(15, 23, 42, 0.1); -} -.pageNav > .container > ul > li > a.buttonPrimary { - background: #6366f1; - color: #fff; -} - -.pageContent { - margin: 16px 0; -} - -.pageFooter { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; -} -.pageFooter > .left { - display: flex; - flex-direction: column; -} -.pageFooter > .right { - list-style: none; - display: flex; -} -.pageFooter > .right > li { - padding: 8px; -} -.pageFooter > .right > li > a { - display: block; - width: 24px; - height: 24px; - color: rgba(0, 0, 0, 0.7); -} -.pageFooter > .right > li > a:hover { - color: rgb(0, 0, 0); -} - -/*# sourceMappingURL=style.css.map */ +@import"https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Outfit:wght@500&display=swap";body,input{font-family:"Noto Sans","Noto Color Emoji",sans-serif}h1,h2,h3,h4,h5,h6{font-family:"Outfit","Noto Color Emoji",sans-serif;font-weight:500}.pageHero{font-family:"Comic Neue","Comic Sans MS","Noto Color Emoji",sans-serif}body{background:#fff;margin:0}@media(prefers-color-scheme: dark){body{background:#202120;color:#fff}}.container{max-width:960px;width:100%;margin:0 auto;padding:24px;box-sizing:border-box}ul,ol{list-style-position:inside}p{line-height:1.6;opacity:.92}img{max-width:100%}a{color:#527d52}@media(prefers-color-scheme: dark){a{color:#d0dfd0}}a:visited{opacity:.9}.pageHero{background-image:linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),url("/img/Panorama-Lens-Blur.png");background-position:center;background-size:cover;height:220px}@media(prefers-color-scheme: dark){.pageHero{background-image:linear-gradient(rgba(16, 22, 16, 0.9), rgba(16, 22, 16, 0.9)),url("/img/Panorama-Lens-Blur.png")}}.pageHero>.container{height:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between}@media(max-width: 600px){.pageHero>.container{justify-content:center}}.pageHero>.container>div{display:flex;flex-direction:column;gap:12px}.pageHero>.container>div.Branding{align-items:flex-start}@media(max-width: 600px){.pageHero>.container>div.Branding{align-items:center}}@media(prefers-color-scheme: dark){.pageHero>.container>div.Branding img{filter:invert(1)}}.pageHero>.container>div.Branding span{font-size:24px;opacity:.75}.pageHero>.container>div.Server-Information{align-items:center;gap:4px}@media(max-width: 600px){.pageHero>.container>div.Server-Information{display:none}}.pageHero>.container>div.Server-Information input{text-align:center;font-size:24px}.pageHero>.container>div.Server-Information input:not(:hover,:focus){color:inherit;border-color:rgba(0,0,0,0);background:rgba(0,0,0,0)}.Nav-Toggle{z-index:10;position:fixed;top:8px;right:8px;font-size:18px;background:#527d52;color:#fff;padding:8px 24px;border-radius:32px;font-weight:bold;user-select:none;cursor:pointer}@media(min-width: 601px){.Nav-Toggle{display:none}}.pageNav{width:100%;border:solid #d0dfd0;border-width:0 0 1px 0;background:#f9fff9}@media(prefers-color-scheme: dark){.pageNav{border-color:#575f57;background:#272f27}}.pageNav>.container{padding:16px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media(max-width: 600px){.pageNav>.container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9;background:inherit;transition:.12s}.pageNav>.container:not(.openned){opacity:0;pointer-events:none;transform:scale(1.2);transition:.24s}}.pageNav>.container>div{margin:0;display:flex;flex-wrap:wrap;gap:8px}@media(max-width: 600px){.pageNav>.container>div{width:100%;flex-direction:column;gap:6px;align-items:center}}.pageNav>.container>div>a{user-select:none;font-size:18px;box-sizing:border-box;color:#7e9e7e;text-decoration:none;padding:8px 24px;border-radius:32px;outline:solid rgba(0,0,0,0) 2px;transition:.24s}@media(max-width: 600px){.pageNav>.container>div>a{font-size:24px;width:100%;padding:12px 24px;text-align:center}}.pageNav>.container>div>a:hover,.pageNav>.container>div>a.active{outline-color:#d0dfd0;color:#527d52;transition:.08s}@media(prefers-color-scheme: dark){.pageNav>.container>div>a:hover,.pageNav>.container>div>a.active{color:#defede;outline-color:#707f70}}.pageNav>.container>div>a.buttonPrimary{background:#527d52;color:#fff;font-weight:bold}.pageFooter{opacity:.8}.pageFooter>.SNS-Links{display:flex;flex-wrap:wrap;gap:16px}.pageFooter>.SNS-Links>a{display:flex;gap:8px;font-size:18px;color:inherit}.pageFooter>.SNS-Links>a img{width:1em}@media(prefers-color-scheme: dark){.pageFooter>.SNS-Links>a img{filter:invert(1)}}.pageFooter>.SNS-Links>a:not(:hover,:focus){text-decoration:none}/*# sourceMappingURL=style.css.map */ diff --git a/css/style.css.map b/css/style.css.map index 9afae3d..ea6d06c 100644 --- a/css/style.css.map +++ b/css/style.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["src/_fonts.scss","src/_reset.scss","src/style.scss"],"names":[],"mappings":"AAAQ;ACAR;EACE;EACA;;;ADAF;EACE;;;AAGF;EACE;EAEA;;;AENF;EACE;;;AAGF;EACE;EAEA;EAEA;;;AAGF;EACE;;;AAGF;EACE;EAEA;EAEA;EAEA;;AAEA;EACE;EAEA;EAEA;;AAEA;EACE;EAEA;EACA;EAEA;EACA;;;AAKN;EACE;EAEA;;AAEA;EACE;EAEA;EACA;EAEA;EACA;;AAEA;EACE;EAEA;EAEA;;AAGE;EACE;EAEA;EAEA;EAEA;;AAEA;EACE;;AAGF;EACE;EACA;;;AAQZ;EACE;;;AAGF;EACE;EACA;EAEA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EAEA;;AAEA;EACE;;AAEA;EACE;EAEA;EACA;EAEA;;AAEA;EACE","file":"style.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["src/_fonts.scss","src/style.scss"],"names":[],"mappings":"AAEQ,6JAER,WACE,sDAGF,kBACE,mDACA,gBAIF,UACE,uECZF,KACE,gBACA,SAEA,mCAJF,KAKI,mBACA,YAIJ,WACE,gBAEA,WAEA,cAEA,aACA,sBAGF,MACE,2BAGF,EACE,gBACA,YAGF,IACE,eAGF,EACE,cAEA,mCAHF,EAII,eAGF,UACE,WAIJ,UACE,iBACE,uGASF,2BACA,sBAEA,aATA,mCALF,UAMI,iBACA,kGASF,qBACE,YAEA,aACA,mBAEA,mBACA,8BAEA,yBATF,qBAUI,wBAGF,yBACE,aACA,sBAEA,SAEA,kCACE,uBAEA,yBAHF,kCAII,oBAGF,mCACE,wDAGF,uCACE,eACA,YAIJ,4CAKE,mBACA,QALA,yBADF,4CAEI,cAMF,kDACE,kBACA,eAEA,qEACE,cACA,2BACA,yBAQZ,YAIE,WAEA,eACA,QACA,UACA,eAEA,mBACA,WAEA,iBAEA,mBAEA,iBACA,iBAEA,eApBA,yBADF,YAEI,cAsBJ,SACE,WAEA,qBACA,uBAEA,mBAEA,mCARF,SASI,qBACA,oBAGF,oBACE,kBAEA,aACA,eAEA,mBACA,8BAEA,yBATF,oBAUI,eACA,MACA,OACA,WACA,YACA,UAEA,mBAEA,gBAEA,kCACE,UACA,oBAEA,qBAEA,iBAIJ,wBACE,SAEA,aACA,eAEA,QAEA,yBARF,wBASI,WACA,sBACA,QACA,oBAGF,0BACE,iBAEA,eACA,sBACA,cAUA,qBAEA,iBAEA,mBAEA,gCAEA,gBAhBA,yBAPF,0BAQI,eACA,WACA,kBACA,mBAcF,iEAEE,sBAEA,cAQA,gBANA,mCANF,iEAOI,cACA,uBAOJ,wCACE,mBACA,WAEA,iBAWV,YACE,WAEA,uBACE,aACA,eACA,SAEA,yBACE,aACA,QAEA,eAEA,cAEA,6BACE,UAEA,mCAHF,6BAII,kBAIJ,4CACE","file":"style.css"} \ No newline at end of file diff --git a/css/style.min.css b/css/style.min.css deleted file mode 100644 index b0966fc..0000000 --- a/css/style.min.css +++ /dev/null @@ -1 +0,0 @@ -@import"https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap";*{padding:0;margin:0}*{font-family:"Noto Sans","Noto Color Emoji",sans-serif}h1,h2,h3,h4,h5,h6{font-family:"Outfit","Noto Color Emoji",sans-serif;margin-bottom:6px}body{background:#f8fafc}.container{max-width:1100px;width:100%;margin:0 auto}ul,ol{list-style-position:inside}.pageHero{background-image:url("/img/spawn/2023-11-18_12.50.56.png");background-position:center;color:#fff;height:240px}.pageHero>.blurFiler{backdrop-filter:blur(2px);padding:8px 0;height:calc(100% - 16px)}.pageHero>.blurFiler>.container{height:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.pageNav{width:100svw;background:#f1f5f9}.pageNav>.container{padding:16px 0;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.pageNav>.container>ul{list-style:none;display:flex;gap:8px}.pageNav>.container>ul>li>a{color:#0f172a;text-decoration:none;padding:8px 16px;border-radius:32px}.pageNav>.container>ul>li>a:hover,.pageNav>.container>ul>li>a.active{background:rgba(15,23,42,.1)}.pageNav>.container>ul>li>a.buttonPrimary{background:#6366f1;color:#fff}.pageContent{margin:16px 0}.pageFooter{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.pageFooter>.left{display:flex;flex-direction:column}.pageFooter>.right{list-style:none;display:flex}.pageFooter>.right>li{padding:8px}.pageFooter>.right>li>a{display:block;width:24px;height:24px;color:rgba(0,0,0,.7)}.pageFooter>.right>li>a:hover{color:#000}/*# sourceMappingURL=style.min.css.map */ diff --git a/css/style.min.css b/css/style.min.css new file mode 120000 index 0000000..f6b71cc --- /dev/null +++ b/css/style.min.css @@ -0,0 +1 @@ +style.css \ No newline at end of file diff --git a/fiveserver.config.js b/fiveserver.config.js new file mode 100644 index 0000000..2d7f846 --- /dev/null +++ b/fiveserver.config.js @@ -0,0 +1,3 @@ +module.exports = { + php: "/usr/bin/php" +} diff --git a/img/CRSS-Logo.svg b/img/CRSS-Logo.svg new file mode 100644 index 0000000..f5e8c1c --- /dev/null +++ b/img/CRSS-Logo.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/img/Discord.svg b/img/Discord.svg new file mode 100644 index 0000000..f9fd918 --- /dev/null +++ b/img/Discord.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/Mastodon.svg b/img/Mastodon.svg new file mode 100644 index 0000000..e03938c --- /dev/null +++ b/img/Mastodon.svg @@ -0,0 +1,3 @@ + + + diff --git a/img/Panorama-Lens-Blur.png b/img/Panorama-Lens-Blur.png new file mode 100644 index 0000000..a5d7d06 Binary files /dev/null and b/img/Panorama-Lens-Blur.png differ diff --git a/img/Youtube.svg b/img/Youtube.svg new file mode 100644 index 0000000..a07f31a --- /dev/null +++ b/img/Youtube.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/index.php b/index.php index f722d0c..f98fead 100644 --- a/index.php +++ b/index.php @@ -44,12 +44,12 @@ echo $twig->render('nations.twig'); }); - $router->get('/rules', function() { + $router->get('/gallery', function() { global $twig; - $twig->addGlobal('pageUri', '/rules'); + $twig->addGlobal('pageUri', '/gallery'); - echo $twig->render('rules.twig'); + echo $twig->render('gallery.twig'); }); $router->get('/map', function() { @@ -102,4 +102,4 @@ echo $twig->render('404.twig'); }); - $router->run(); \ No newline at end of file + $router->run(); diff --git a/js/nav.js b/js/nav.js new file mode 100644 index 0000000..7047489 --- /dev/null +++ b/js/nav.js @@ -0,0 +1,16 @@ +const $ = selector => document.querySelector(selector); + +const navToggle = $(".Nav-Toggle"); +const menu = $(".pageNav > .container"); + +navToggle.onclick = () => { + const menuToggled = menu.classList.contains("openned"); + + if (menuToggled) { + menu.classList.remove("openned"); + } else { + menu.classList.add("openned"); + } + + navToggle.innerHTML = menuToggled ? "Menu" : "Close"; +} \ No newline at end of file diff --git a/template/404.twig b/template/404.twig index 3dbf287..b01f4ff 100644 --- a/template/404.twig +++ b/template/404.twig @@ -1,22 +1,16 @@ {% include 'includes/head.twig' with {'pageTitle': '404'} %} -
-
-
-

Clyde's Real Survival SMP

- -
- Online: / -
-
-
-
+{% include 'includes/hero.twig' %} {% include 'includes/nav.twig' with {'page': '404',} %}
-

(404) This page is non-existent! Go on Discord and yell at Clash!

+

Not found! :<

+

+ This page is nowhere to be found!
+ Go on Discord and complain about it to Clash or Mya!! +

diff --git a/template/gallery.twig b/template/gallery.twig new file mode 100644 index 0000000..47941d9 --- /dev/null +++ b/template/gallery.twig @@ -0,0 +1,16 @@ +{% include 'includes/head.twig' with {'pageTitle': 'Gallery'} %} + +{% include 'includes/hero.twig' %} + +{% include 'includes/nav.twig' with {'page': 'gallery',} %} + +
+

Gallery

+

+ Yet to be filled. :3
+ Come later! +

+
+ +{% include 'includes/footer.twig' %} +{% include 'includes/foot.twig' %} \ No newline at end of file diff --git a/template/includes/footer.twig b/template/includes/footer.twig index fd24ce6..8f1a96e 100644 --- a/template/includes/footer.twig +++ b/template/includes/footer.twig @@ -3,36 +3,29 @@ - \ No newline at end of file diff --git a/template/includes/hero.twig b/template/includes/hero.twig index 7b7675a..8094f16 100644 --- a/template/includes/hero.twig +++ b/template/includes/hero.twig @@ -1,11 +1,18 @@ -
-
-
-

Clyde's Real Survival SMP

+
+
-
- Online: / -
+ +
+ + Clyde's Real Survival SMP!
+ + +
+ Server address: + + Version: 1.3.2 +
+
-
\ No newline at end of file + \ No newline at end of file diff --git a/template/includes/nav.twig b/template/includes/nav.twig index 273d935..fecee00 100644 --- a/template/includes/nav.twig +++ b/template/includes/nav.twig @@ -1,41 +1,35 @@ -
\ No newline at end of file diff --git a/template/index.twig b/template/index.twig index 1c14e15..2ce0375 100644 --- a/template/index.twig +++ b/template/index.twig @@ -4,10 +4,22 @@ {% include 'includes/nav.twig' with {'page': 'home',} %} -
+

Welcome to Clyde's Real Survival SMP (CRSS)!

- This is a server made by Blurryface, hosted by TheClashFruit, played by Devin, and sponsored by TheClashFruit's Real Hosting Company Limited Liability Company (TCFRHCLLC) and Pridecraft Studios! +

This is a server made by Blurryface, hosted by TheClashFruit, played by Devin, and sponsored by TheClashFruit's Real Hosting Company Limited Liability Company (TCFRHCLLC) and Pridecraft Studios!

+ +

Rules

+
    +
  1. + The usage of modified clients that gives unfair advantage to players is not permitted. TL;DR Do not cheat. +
  2. +
  3. + Do not modify (or destroy) other players' constructions, or take their items, without their permission. TL;DR Do not grief or steal. +
  4. +
+ Failing to follow these basic rules will result in a ban. +
diff --git a/template/nations.twig b/template/nations.twig index b14f93c..c808974 100644 --- a/template/nations.twig +++ b/template/nations.twig @@ -6,7 +6,7 @@
-

Nations

+

Nations