Fakultas Ilmu Komputer UI

Commit 8977fd2b authored by Jonathan's avatar Jonathan
Browse files

Merge branch 'jonathan' into 'master'

change favicon, edit RecentThreads and TopThreads

See merge request !30
parents 8038ba9b 0826b12d
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="300.000000pt" height="300.000000pt" viewBox="0 0 300.000000 300.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,300.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M1149 2608 c-25 -11 -44 -30 -58 -56 -20 -39 -20 -57 -21 -623 0
-651 -2 -629 69 -676 34 -23 36 -23 396 -23 l362 0 64 -48 c69 -51 317 -241
334 -255 6 -4 34 -25 63 -47 46 -34 56 -38 83 -30 18 5 33 11 34 12 16 20 21
69 20 205 l0 162 211 3 c211 3 213 3 240 28 55 51 54 41 54 672 0 550 -1 585
-19 618 -10 19 -34 44 -52 55 -33 19 -54 20 -888 20 -780 0 -858 -1 -892 -17z"/>
<path d="M77 2196 c-81 -40 -78 -13 -75 -678 3 -575 3 -587 24 -615 42 -57 69
-63 307 -64 l216 -2 0 -121 c-1 -215 -1 -213 23 -236 30 -27 67 -25 114 6 21
15 145 100 274 190 l235 163 375 -1 c207 0 392 3 411 7 30 6 97 52 87 59 -2 2
-64 50 -138 107 l-135 104 -362 1 c-337 1 -364 3 -399 21 -74 38 -73 26 -73
572 0 267 0 491 -1 497 0 8 -123 11 -421 11 -408 0 -422 0 -462 -21z"/>
</g>
</svg>
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
......@@ -36,6 +36,13 @@
<script src="https://kit.fontawesome.com/4b60c8a34d.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
......
......@@ -34,7 +34,12 @@ export default function RecentThreads(props) {
return (
<div className="recentThreads">
{totalItems == 0 && (
<p>There is no thread yet.</p>
)}
{totalItems != 0 && (
<ThreadList thread={threads} />
)}
{totalItems != 0 && (
<div className="paginationContainer">
<Pagination
......
......@@ -33,7 +33,12 @@ export default function TopThreads(props) {
return (
<div className="topThreads">
{totalItems == 0 && (
<p>There is no thread yet.</p>
)}
{totalItems != 0 && (
<ThreadList thread={threads} />
)}
{totalItems != 0 && (
<div className="paginationContainer">
<Pagination
......
<svg width="167" height="41" viewBox="0 0 167 41" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M51.448 30V4.8H60.052C63.004 4.8 65.428 5.328 67.324 6.384C69.244 7.416 70.66 8.88 71.572 10.776C72.508 12.648 72.976 14.856 72.976 17.4C72.976 19.944 72.508 22.164 71.572 24.06C70.66 25.932 69.244 27.396 67.324 28.452C65.428 29.484 63.004 30 60.052 30H51.448ZM56.056 26.04H59.836C61.948 26.04 63.616 25.704 64.84 25.032C66.064 24.336 66.94 23.352 67.468 22.08C67.996 20.784 68.26 19.224 68.26 17.4C68.26 15.6 67.996 14.052 67.468 12.756C66.94 11.46 66.064 10.464 64.84 9.768C63.616 9.072 61.948 8.724 59.836 8.724H56.056V26.04ZM79.4178 9.372C78.5778 9.372 77.8818 9.12 77.3298 8.616C76.8018 8.112 76.5378 7.476 76.5378 6.708C76.5378 5.94 76.8018 5.316 77.3298 4.836C77.8818 4.332 78.5778 4.08 79.4178 4.08C80.2578 4.08 80.9418 4.332 81.4698 4.836C82.0218 5.316 82.2978 5.94 82.2978 6.708C82.2978 7.476 82.0218 8.112 81.4698 8.616C80.9418 9.12 80.2578 9.372 79.4178 9.372ZM77.1138 30V12.144H81.7218V30H77.1138ZM93.9114 30.432C92.3274 30.432 90.9354 30.18 89.7354 29.676C88.5354 29.148 87.5754 28.428 86.8554 27.516C86.1354 26.604 85.7034 25.548 85.5594 24.348H90.2034C90.3474 25.044 90.7314 25.644 91.3554 26.148C92.0034 26.628 92.8314 26.868 93.8394 26.868C94.8474 26.868 95.5794 26.664 96.0354 26.256C96.5154 25.848 96.7554 25.38 96.7554 24.852C96.7554 24.084 96.4194 23.568 95.7474 23.304C95.0754 23.016 94.1394 22.74 92.9394 22.476C92.1714 22.308 91.3914 22.104 90.5994 21.864C89.8074 21.624 89.0754 21.324 88.4034 20.964C87.7554 20.58 87.2274 20.1 86.8194 19.524C86.4114 18.924 86.2074 18.192 86.2074 17.328C86.2074 15.744 86.8314 14.412 88.0794 13.332C89.3514 12.252 91.1274 11.712 93.4074 11.712C95.5194 11.712 97.1994 12.204 98.4474 13.188C99.7194 14.172 100.475 15.528 100.715 17.256H96.3594C96.0954 15.936 95.0994 15.276 93.3714 15.276C92.5074 15.276 91.8354 15.444 91.3554 15.78C90.8994 16.116 90.6714 16.536 90.6714 17.04C90.6714 17.568 91.0194 17.988 91.7154 18.3C92.4114 18.612 93.3354 18.9 94.4874 19.164C95.7354 19.452 96.8754 19.776 97.9074 20.136C98.9634 20.472 99.8034 20.988 100.427 21.684C101.051 22.356 101.363 23.328 101.363 24.6C101.387 25.704 101.099 26.7 100.499 27.588C99.8994 28.476 99.0354 29.172 97.9074 29.676C96.7794 30.18 95.4474 30.432 93.9114 30.432ZM105.445 30V4.08H110.053V19.38L116.389 12.144H121.861L114.553 20.28L123.049 30H117.289L110.053 21.036V30H105.445ZM132.602 30.432C130.37 30.432 128.642 29.736 127.418 28.344C126.218 26.952 125.618 24.912 125.618 22.224V12.144H130.19V21.792C130.19 23.328 130.502 24.504 131.126 25.32C131.75 26.136 132.734 26.544 134.078 26.544C135.35 26.544 136.394 26.088 137.21 25.176C138.05 24.264 138.47 22.992 138.47 21.36V12.144H143.078V30H139.01L138.65 26.976C138.098 28.032 137.294 28.872 136.238 29.496C135.206 30.12 133.994 30.432 132.602 30.432ZM150.041 37.92L154.181 28.812H153.101L146.153 12.144H151.157L156.161 24.708L161.381 12.144H166.277L154.937 37.92H150.041Z" fill="#DE6600"/>
<path d="M37.31 3H15.9619C14.9753 3 14.1755 3.81119 14.1755 4.81191V19.2166C14.1755 20.2173 14.9753 21.0285 15.9619 21.0285H24.8709L31.1451 25.8237C31.3112 25.9506 31.4973 26.0078 31.679 26.0078C32.1417 26.0078 32.5759 25.6369 32.5759 25.1002V21.0286H37.31C38.2967 21.0286 39.0965 20.2174 39.0965 19.2167V4.812C39.0965 3.81119 38.2967 3 37.31 3Z" fill="#FEA02F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.4357 22.484H15.5987H14.5268C13.5401 22.484 12.7404 21.6728 12.7404 20.6721V19.5849V8.2605H2.26471C1.19318 8.2605 0.324585 9.06223 0.324585 10.0514V24.288C0.324585 25.2771 1.19318 26.0788 2.26471 26.0788H7.40603V30.1029C7.40603 30.6334 7.87758 30.9999 8.38007 30.9999C8.57748 30.9999 8.77954 30.9434 8.95988 30.818L15.7739 26.0787H25.4492C26.13 26.0787 26.7288 25.7551 27.0751 25.2654L23.4357 22.484Z" fill="#DE6600"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="167" height="41" fill="white"/>
</clipPath>
</defs>
</svg>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment