black-yt commited on
Commit
208afb8
·
1 Parent(s): a58ab5d

Add Space footer links

Browse files
frontend/static/app.css CHANGED
@@ -899,6 +899,52 @@ button:disabled {
899
  transform: scale(1.08);
900
  }
901
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
902
  @keyframes spin {
903
  to {
904
  transform: rotate(360deg);
@@ -952,4 +998,9 @@ button:disabled {
952
  right: 12px;
953
  bottom: 12px;
954
  }
 
 
 
 
 
955
  }
 
899
  transform: scale(1.08);
900
  }
901
 
902
+ .space-links {
903
+ position: fixed;
904
+ left: 22px;
905
+ bottom: 22px;
906
+ z-index: 20;
907
+ display: flex;
908
+ gap: 9px;
909
+ padding: 9px;
910
+ border: 1px solid var(--border);
911
+ border-radius: 999px;
912
+ background: var(--bar);
913
+ box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
914
+ }
915
+
916
+ .space-links a {
917
+ display: grid;
918
+ place-items: center;
919
+ width: 24px;
920
+ height: 24px;
921
+ border-radius: 999px;
922
+ color: var(--text);
923
+ text-decoration: none;
924
+ transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
925
+ }
926
+
927
+ .space-links a:hover {
928
+ background: rgba(var(--glow-rgb), 0.12);
929
+ color: var(--accent-start);
930
+ transform: translateY(-1px);
931
+ }
932
+
933
+ .space-links svg {
934
+ width: 16px;
935
+ height: 16px;
936
+ fill: currentColor;
937
+ }
938
+
939
+ .sr-only {
940
+ position: absolute;
941
+ width: 1px;
942
+ height: 1px;
943
+ overflow: hidden;
944
+ clip: rect(0, 0, 0, 0);
945
+ white-space: nowrap;
946
+ }
947
+
948
  @keyframes spin {
949
  to {
950
  transform: rotate(360deg);
 
998
  right: 12px;
999
  bottom: 12px;
1000
  }
1001
+
1002
+ .space-links {
1003
+ left: 12px;
1004
+ bottom: 12px;
1005
+ }
1006
  }
frontend/static/index.html CHANGED
@@ -68,6 +68,16 @@
68
  </footer>
69
  </div>
70
  </section>
 
 
 
 
 
 
 
 
 
 
71
  <script src="https://cdn.jsdelivr.net/npm/dompurify@3.2.6/dist/purify.min.js"></script>
72
  <script src="https://cdn.jsdelivr.net/npm/marked@15.0.12/marked.min.js"></script>
73
  <script src="/static/app.js"></script>
 
68
  </footer>
69
  </div>
70
  </section>
71
+ <nav class="space-links" aria-label="Project links">
72
+ <a href="https://github.com/black-yt/ResearchHarness" target="_blank" rel="noopener noreferrer" title="GitHub">
73
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>
74
+ <span class="sr-only">GitHub</span>
75
+ </a>
76
+ <a href="https://black-yt.github.io/" target="_blank" rel="noopener noreferrer" title="Homepage">
77
+ <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M1.75 2A1.75 1.75 0 000 3.75v8.5C0 13.216.784 14 1.75 14h12.5A1.75 1.75 0 0016 12.25v-8.5A1.75 1.75 0 0014.25 2H1.75zm.698 2.227L8 7.937l5.552-3.71a.25.25 0 01.388.208v7.815a.25.25 0 01-.25.25H2.31a.25.25 0 01-.25-.25V4.435a.25.25 0 01.388-.208z"/></svg>
78
+ <span class="sr-only">Homepage</span>
79
+ </a>
80
+ </nav>
81
  <script src="https://cdn.jsdelivr.net/npm/dompurify@3.2.6/dist/purify.min.js"></script>
82
  <script src="https://cdn.jsdelivr.net/npm/marked@15.0.12/marked.min.js"></script>
83
  <script src="/static/app.js"></script>