-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add robots.txt, introduce first search draft
- Loading branch information
querwurzel
committed
Nov 11, 2023
1 parent
6a102e5
commit 8bd53d8
Showing
14 changed files
with
247 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Disallow: /api/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
frontend/src/components/SearchPastes/searchPastes.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
|
||
.searchForm { | ||
border: none; | ||
padding: 0; | ||
} | ||
|
||
.searchForm fieldset { | ||
border: 1px dotted #a5a5a5; | ||
border-radius: 7px; | ||
margin-bottom: 10px; | ||
padding: 5px 10px; | ||
} | ||
|
||
.searchForm input[type=search] { | ||
display: inline-block; | ||
width: 20rem; | ||
margin: 0; | ||
} | ||
|
||
.searchForm input[type=submit], | ||
.searchForm input[type=reset] { | ||
display: inline-block; | ||
padding: 0.4rem 0.8rem; | ||
color: var(--color-text); | ||
margin: .5rem; | ||
cursor: pointer; | ||
} | ||
|
||
|
||
|
||
|
||
.searchResults { | ||
margin-top: 0; | ||
padding-top: 0; | ||
border-left: 1px dotted #a5a5a5; | ||
} | ||
|
||
.searchResults ol { | ||
list-style: none; | ||
margin: 0; | ||
padding: 0; | ||
|
||
} | ||
|
||
.searchResults .item { | ||
list-style: none; | ||
padding-left: 1rem; | ||
border-top: 1px dotted #a5a5a5; | ||
} | ||
|
||
.searchResults .item p { | ||
display: inline-flex; | ||
align-items: start; | ||
gap: 3px; | ||
} | ||
|
||
.searchResults .item p { | ||
display: inline-flex; | ||
align-items: start; | ||
gap: 3px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {JSX} from 'solid-js'; | ||
import './spinner.css'; | ||
|
||
const Spinner: () => JSX.Element = () => { | ||
return ( | ||
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div> | ||
) | ||
} | ||
|
||
export default Spinner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.lds-ellipsis { | ||
display: inline-block; | ||
position: relative; | ||
width: 80px; | ||
height: 80px; | ||
} | ||
.lds-ellipsis div { | ||
background: #000; | ||
position: absolute; | ||
top: 33px; | ||
width: 13px; | ||
height: 13px; | ||
border-radius: 50%; | ||
animation-timing-function: cubic-bezier(0, 1, 1, 0); | ||
} | ||
.lds-ellipsis div:nth-child(1) { | ||
left: 8px;color:black; | ||
animation: lds-ellipsis1 0.6s infinite; | ||
} | ||
.lds-ellipsis div:nth-child(2) { | ||
left: 8px; | ||
animation: lds-ellipsis2 0.6s infinite; | ||
} | ||
.lds-ellipsis div:nth-child(3) { | ||
left: 32px; | ||
animation: lds-ellipsis2 0.6s infinite; | ||
} | ||
.lds-ellipsis div:nth-child(4) { | ||
left: 56px; | ||
animation: lds-ellipsis3 0.6s infinite; | ||
} | ||
|
||
@keyframes lds-ellipsis1 { | ||
0% { | ||
transform: scale(0); | ||
} | ||
100% { | ||
transform: scale(1); | ||
} | ||
} | ||
@keyframes lds-ellipsis3 { | ||
0% { | ||
transform: scale(1); | ||
} | ||
100% { | ||
transform: scale(0); | ||
} | ||
} | ||
@keyframes lds-ellipsis2 { | ||
0% { | ||
transform: translate(0, 0); | ||
} | ||
100% { | ||
transform: translate(24px, 0); | ||
} | ||
} |
Oops, something went wrong.