Skip to content

Commit 67ababd

Browse files
Removed shop pages and links
1 parent 1385dd5 commit 67ababd

File tree

9 files changed

+987
-847
lines changed

9 files changed

+987
-847
lines changed

package-lock.json

Lines changed: 657 additions & 546 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/LangSelect.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
e.stopPropagation();
3030
let menu = this.nextSibling;
3131
// let menu = document.getElementById('langMenu')
32-
document.getElementById("shopMenu").style.display = "none";
32+
// document.getElementById("shopMenu").style.display = "none";
3333
3434
while (menu && menu.nodeType != 1) {
3535
menu = menu.nextSibling;

src/components/Nav.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import Values from "../routes/_values.js";
88
import { themeStore } from "../routes/stores.js";
99
import LangSelect from "./LangSelect.svelte";
10-
import ShopSelect from "./ShopSelect.svelte";
10+
// import ShopSelect from "./ShopSelect.svelte";
1111
import lang from "../routes/_lang.js";
1212
let strings = lang.strings;
1313
let visible = true;
@@ -259,7 +259,7 @@
259259
<span class="coffee">{strings.buyCoffee}</span>
260260
</div>
261261
</a>
262-
<ShopSelect />
262+
<!-- <ShopSelect /> -->
263263
<!-- <a class="downloadsButton" title={strings.downloads} href="downloads">{strings.downloads}</a> -->
264264
<LangSelect />
265265
<a

src/css/global.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ button.bellIcon:active {
919919
border-radius: 0 4px 4px 0;
920920
}
921921

922-
.alert {
922+
/* .alert {
923923
background: var(--shop-gradient);
924924
background-size: 400% 400%;
925925
animation: gradient 10s ease infinite;
@@ -928,9 +928,9 @@ button.bellIcon:active {
928928
display: flex;
929929
border-radius: var(--border-radius);
930930
color: var(--secondary-text-color);
931-
}
931+
} */
932932

933-
@keyframes gradient {
933+
/* @keyframes gradient {
934934
0% {
935935
background-position: 0% 50%;
936936
}
@@ -940,8 +940,8 @@ button.bellIcon:active {
940940
100% {
941941
background-position: 0% 50%;
942942
}
943-
}
944-
.shopFeatures {
943+
} */
944+
/* .shopFeatures {
945945
padding-inline-start: 1.5em;
946946
}
947947
.shopFeatures li {
@@ -968,9 +968,9 @@ button.bellIcon:active {
968968
.shop-button:hover {
969969
border: 0.125em solid var(--secondary-text-color);
970970
color: var(--secondary-text-color);
971-
}
971+
} */
972972

973-
.innerShop {
973+
/* .innerShop {
974974
padding: 1em;
975975
margin: 0.25em;
976976
background-color: var(--pattern-bg);
@@ -979,13 +979,13 @@ button.bellIcon:active {
979979
980980
.innerShop span {
981981
color: var(--accent-text);
982-
}
983-
.shop-buttons {
982+
} */
983+
/* .shop-buttons {
984984
display: flex;
985985
flex-wrap: wrap;
986986
margin: -0.3em;
987987
padding: 0.6em 0 0.3em;
988-
}
988+
} */
989989

990990
/* Scrollbar */
991991
@media (pointer: fine) {

src/routes/index.svelte

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -371,28 +371,51 @@
371371

372372
<div bind:clientWidth={w} class="patternsList">
373373
<div class="container flex mx-auto pb-20 pt-2">
374-
<div class="alert">
374+
<!-- <div class="alert">
375375
<div class="innerShop">
376-
<span class="text-sm uppercase font-semibold tracking-wider">Shop Product Range</span>
377-
<div class="shop-buttons">
378-
<a class="shop-button" href="pattern-accessories">{strings["accessories"]}</a>
379-
<a class="shop-button" href="pattern-home-living">{strings["home-living"]}</a>
380-
<a class="shop-button" href="pattern-phone-cases">{strings["phone-cases"]}</a>
381-
<a class="shop-button" href="pattern-stationery-office">{strings["stationery-office"]}</a>
382-
<a class="shop-button" href="pattern-stickers-skins">{strings["stickers-skins"]}</a>
383-
<a class="shop-button" href="pattern-wall-art">{strings["wall-art"]}</a>
384-
</div></div></div></div>
376+
<span class="text-sm uppercase font-semibold tracking-wider"
377+
>Shop Product Range</span
378+
>
379+
<div class="shop-buttons">
380+
<a class="shop-button" href="pattern-accessories"
381+
>{strings["accessories"]}</a
382+
>
383+
<a class="shop-button" href="pattern-home-living"
384+
>{strings["home-living"]}</a
385+
>
386+
<a class="shop-button" href="pattern-phone-cases"
387+
>{strings["phone-cases"]}</a
388+
>
389+
<a class="shop-button" href="pattern-stationery-office"
390+
>{strings["stationery-office"]}</a
391+
>
392+
<a class="shop-button" href="pattern-stickers-skins"
393+
>{strings["stickers-skins"]}</a
394+
>
395+
<a class="shop-button" href="pattern-wall-art"
396+
>{strings["wall-art"]}</a
397+
>
398+
</div>
399+
</div>
400+
</div> -->
401+
</div>
385402

386403
<h1>{@html strings.heading}</h1>
387404
<div class="stats">
388405
{#each stats as stat}
389406
<div class="grid grid-flow-col gap-2 gray-text place-content-start">
390-
<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d={stat.path} /></svg>
407+
<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"
408+
><path d={stat.path} /></svg
409+
>
391410
{stat.text}
392411
</div>
393412
{/each}
394413
</div>
395-
<p class="container mx-auto">{strings.description} {strings.description2} {strings.description3}</p>
414+
<p class="container mx-auto">
415+
{strings.description}
416+
{strings.description2}
417+
{strings.description3}
418+
</p>
396419

397420
<!-- <div class="subscribe-waitlist grid">
398421
<span>{strings.apiAccess}</span>
@@ -448,7 +471,12 @@
448471
<div class="samples">
449472
{#each newPosts as post}
450473
<div class="outerPattern">
451-
<a rel="prefetch" href="{post.slug}/" class="pattern" style={svgPattern(post.width, post.height, post.path, post.mode)}>
474+
<a
475+
rel="prefetch"
476+
href="{post.slug}/"
477+
class="pattern"
478+
style={svgPattern(post.width, post.height, post.path, post.mode)}
479+
>
452480
<span>{post.title}</span>
453481
</a>
454482
<div class="details">
@@ -500,7 +528,8 @@
500528
margin-top: 1em;
501529
}
502530
.outerPattern {
503-
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
531+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
532+
0 4px 6px -2px rgba(0, 0, 0, 0.05);
504533
border-radius: var(--border-radius);
505534
overflow: hidden;
506535
}

src/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<link rel="sitemap" type="application/xml" href="https://pattern.monster/sitemap.xml" />
1010
<link rel="icon" type="image/png" href="favicon.png" />
1111
<link rel="apple-touch-icon" href="logo-512.png" />
12-
<link rel="stylesheet" href="global-1676135810.min.css" />
13-
<link rel="preload" href="pickr-1676135810.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" />
12+
<link rel="stylesheet" href="global-1676141940.min.css" />
13+
<link rel="preload" href="pickr-1676141940.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" />
1414
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap" rel="stylesheet" />
1515

1616
<meta name="author" content="Naveen CS" />

0 commit comments

Comments
 (0)