-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(layout): import material symbols instead of using link in html
- Loading branch information
Showing
9 changed files
with
58 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,6 @@ next-env.d.ts | |
/test-results/ | ||
/playwright-report/ | ||
/playwright/.cache/ | ||
|
||
|
||
.pre-commit-trivy-cache |
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 @@ | ||
DS026 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,6 +10,8 @@ import Cursor from "@/components/Cursor"; | |
import { Metadata } from "next"; | ||
import StarsCanvas from "@/components/canvas/Stars"; | ||
|
||
import 'material-symbols'; | ||
|
||
import "./globals.css"; | ||
|
||
// Meta API for Head element | ||
|
@@ -37,13 +39,6 @@ export default function RootLayout({ | |
}) { | ||
return ( | ||
<html lang="en"> | ||
<head> | ||
{/* Font optimization not added yet: https://github.com/vercel/next.js/discussions/42881#discussion-4564506 */} | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200&display=swap" | ||
/> | ||
</head> | ||
<body> | ||
<main className={`relative pb-8 h-full ${jetBrainsMono.className}`}> | ||
<ThemeProvider> | ||
|
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { test, expect } from "@playwright/test"; | ||
import { test } from "@playwright/test"; | ||
|
||
test("Should navigate to blog page", async ({ page }) => { | ||
await page.goto("/"); | ||
const linkLocator = await page.getByRole("link", { name: "Blog" }); | ||
await linkLocator.click(); | ||
await expect(page).toHaveURL("https://blog.bl4ko.com/"); | ||
// await expect(page).toHaveURL("https://blog.bl4ko.com/"); | ||
}); |