Skip to content

Commit 15a4112

Browse files
committed
Updated ui and added favicon
1 parent ed7bce9 commit 15a4112

15 files changed

+101
-85
lines changed

index.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,24 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link
6+
rel="apple-touch-icon"
7+
sizes="180x180"
8+
href="/favicon/apple-touch-icon.png"
9+
/>
10+
<link
11+
rel="icon"
12+
type="image/png"
13+
sizes="32x32"
14+
href="/favicon/favicon-32x32.png"
15+
/>
16+
<link
17+
rel="icon"
18+
type="image/png"
19+
sizes="16x16"
20+
href="/favicon/favicon-16x16.png"
21+
/>
22+
<link rel="manifest" href="/site.webmanifest" />
623
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
724
<title>QuickSnip</title>
825
</head>

public/data/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"languages": ["JavaScript", "Python"]
2+
"languages": ["JavaScript", "Sass"]
33
}

public/data/python.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

public/data/sass.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[
2+
{
3+
"categoryName": "Typography",
4+
"snippets": [
5+
{
6+
"title": "Line Clamp Mixin",
7+
"description": "A Sass mixin to clamp text to a specific number of lines.",
8+
"code": "@mixin line-clamp($number) {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: $number;\n overflow: hidden;\n}",
9+
"tags": ["sass", "mixin", "typography", "css"],
10+
"author": "@technoph1le"
11+
},
12+
{
13+
"title": "Text Overflow Ellipsis",
14+
"description": "Ensures long text is truncated with an ellipsis.",
15+
"code": "@mixin text-ellipsis {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}",
16+
"tags": ["sass", "mixin", "text", "css"],
17+
"author": "@technoph1le"
18+
},
19+
{
20+
"title": "Font Import Helper",
21+
"description": "Simplifies importing custom fonts in Sass.",
22+
"code": "@mixin import-font($family, $weight: 400, $style: normal) {\n @font-face {\n font-family: #{$family};\n font-weight: #{$weight};\n font-style: #{$style};\n src: url('/fonts/#{$family}-#{$weight}.woff2') format('woff2'),\n url('/fonts/#{$family}-#{$weight}.woff') format('woff');\n }\n}",
23+
"tags": ["sass", "mixin", "fonts", "css"],
24+
"author": "@technoph1le"
25+
},
26+
{
27+
"title": "Text Gradient",
28+
"description": "Adds a gradient color effect to text.",
29+
"code": "@mixin text-gradient($from, $to) {\n background: linear-gradient(to right, $from, $to);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}",
30+
"tags": ["sass", "mixin", "gradient", "text", "css"],
31+
"author": "@technoph1le"
32+
}
33+
]
34+
}
35+
]
42.4 KB
Loading
217 KB
Loading

public/favicon/apple-touch-icon.png

37.9 KB
Loading

public/favicon/favicon-16x16.png

838 Bytes
Loading

public/favicon/favicon-32x32.png

2.13 KB
Loading

public/favicon/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)