kopia lustrzana https://github.com/cblgh/lieu
add logo by devine, input validation
rodzic
af8c62fbbe
commit
1813a019bd
|
@ -2,6 +2,8 @@
|
|||
<head>
|
||||
<link href="/links/about.css" rel="stylesheet">
|
||||
<title>Lieu—webring search engine</title>
|
||||
<link rel="shortcut icon" href="/links/logo.svg">
|
||||
<link rel="apple touch icon" href="/links/logo.svg">
|
||||
</head>
|
||||
<body>
|
||||
<a class="about-link" href="/about">About</a>
|
||||
|
|
|
@ -110,13 +110,18 @@ p {
|
|||
}
|
||||
|
||||
.search-button {
|
||||
background-image: url("logo.svg");
|
||||
font-size: 2rem;
|
||||
color: var(--primary);
|
||||
background: var(--secondary);
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
border-radius: 2px;
|
||||
transition: opacity 150ms;
|
||||
|
||||
height: 2rem;
|
||||
width: auto;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.search-button:hover {
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="fill: none; background:#000" width="420px" height="300px"><path style="stroke-width: 15px; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(68, 68, 68); fill: none;" d=""/><path style="stroke-width: 15px; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(119, 119, 119); fill: none;" d=""/><path style="stroke-width: 81px; stroke-linecap: square; stroke-linejoin: round; stroke: rgb(255, 255, 255); fill: none;" d="M90,135 Q150,75 210,75 Q210,75 210,75 Q270,75 330,135 M210,195 A60,60 0 0,1 150,135 A60,60 0 0,1 210,75 A60,60 0 0,1 270,135 A60,60 0 0,1 210,195 M255,180 L255,180 L285,210 M210,195 L210,195 L210,240 M165,180 L165,180 L135,210 "/></svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 751 B |
|
@ -2,6 +2,8 @@
|
|||
<head>
|
||||
<link href="/links/startpage.css" rel="stylesheet">
|
||||
<title>Lieu—webring search engine</title>
|
||||
<link rel="shortcut icon" href="/links/logo.svg">
|
||||
<link rel="apple touch icon" href="/links/logo.svg">
|
||||
</head>
|
||||
<body>
|
||||
<a class="about-link" href="/about">About</a>
|
||||
|
@ -10,8 +12,8 @@
|
|||
<h1><a href="/">Lieu</a></h1>
|
||||
<h2>the search for the new—endless</h2>
|
||||
<form class="search-container">
|
||||
<input name="q" placeholder="tracking" value="{{ .Query }}" class="search-box">
|
||||
<button type="submit" class="search-button">👁</button>
|
||||
<input type="text" required minlength="1" name="q" placeholder="tracking" value="{{ .Query }}" class="search-box">
|
||||
<button type="submit" class="search-button"></button>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
<head>
|
||||
<link href="/links/search.css" rel="stylesheet">
|
||||
<title>{{ .Title }}—Lieu</title>
|
||||
<link rel="shortcut icon" href="/links/logo.svg">
|
||||
<link rel="apple touch icon" href="/links/logo.svg">
|
||||
</head>
|
||||
<body>
|
||||
<a class="about-link" href="/about">About</a>
|
||||
|
|
|
@ -2,13 +2,15 @@
|
|||
<head>
|
||||
<link href="/links/search.css" rel="stylesheet">
|
||||
<title>{{ .Query }}—Lieu</title>
|
||||
<link rel="shortcut icon" href="/links/logo.svg">
|
||||
<link rel="apple touch icon" href="/links/logo.svg">
|
||||
</head>
|
||||
<body>
|
||||
<a class="about-link" href="/about">About</a>
|
||||
<h1><a href="/">Lieu</a></h1>
|
||||
<form method="GET" class="search-container">
|
||||
<input name="q" value="{{ .Query }}" class="search-box">
|
||||
<button type="submit" class="search-button">👁</button>
|
||||
<button type="submit" class="search-button"></button>
|
||||
</form>
|
||||
<main>
|
||||
{{ range .Pages }}
|
||||
|
|
Ładowanie…
Reference in New Issue