mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
1e0567b538
|
|||
c8d32c6acc
|
|||
05503cda26
|
|||
303b6f3011
|
|||
0272cf7080
|
|||
e8ea42a260
|
@ -1,4 +1,5 @@
|
||||
{
|
||||
"urls": ["http://127.0.0.1:3000/", "http://127.0.0.1:3000/blog"],
|
||||
"files": ["./public/curriculum-vitae/index.html"]
|
||||
"files": ["./public/curriculum-vitae/index.html"],
|
||||
"severities": ["error"]
|
||||
}
|
||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
# MIT License
|
||||
|
||||
Copyright (c) Théo LUDWIG
|
||||
Copyright (c) Théo LUDWIG <contact@theoludwig.fr>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
.prose a,
|
||||
.prose strong {
|
||||
@apply font-semibold text-yellow dark:text-yellow-dark;
|
||||
@apply !font-semibold text-yellow dark:text-yellow-dark;
|
||||
}
|
||||
|
||||
strong,
|
||||
|
@ -15,7 +15,7 @@ export const Header = (): JSX.Element => {
|
||||
return (
|
||||
<header className="sticky top-0 z-50 flex w-full justify-between border-b-2 border-gray-600 bg-white px-6 py-2 dark:border-gray-400 dark:bg-black">
|
||||
<Link href="/">
|
||||
<div className="flex items-center justify-center">
|
||||
<h1 className="flex items-center justify-center">
|
||||
<Image
|
||||
quality={100}
|
||||
className="size-16"
|
||||
@ -23,10 +23,10 @@ export const Header = (): JSX.Element => {
|
||||
alt="Théo LUDWIG"
|
||||
priority
|
||||
/>
|
||||
<strong className="ml-1 hidden font-headline font-semibold text-yellow dark:text-yellow-dark xs:block sm:text-xl">
|
||||
<strong className="ml-1 hidden font-headline font-semibold text-yellow dark:text-yellow-dark sm:block sm:text-xl">
|
||||
Théo LUDWIG
|
||||
</strong>
|
||||
</div>
|
||||
</h1>
|
||||
</Link>
|
||||
<div className="flex justify-between">
|
||||
<div className="flex flex-col items-center justify-center px-6">
|
||||
|
@ -53,7 +53,7 @@ describe("Common > Header", () => {
|
||||
cy.get("[data-cy=locales-list]").should("not.be.visible")
|
||||
cy.get("[data-cy=locale-click]").click()
|
||||
cy.get("[data-cy=locales-list]").should("be.visible")
|
||||
cy.get("h1").click()
|
||||
cy.get("main h1").click()
|
||||
cy.get("[data-cy=locales-list]").should("not.be.visible")
|
||||
})
|
||||
})
|
||||
|
@ -2,7 +2,7 @@ describe("Page /blog/[slug]", () => {
|
||||
it("should displays the first blog post (`hello-world`)", () => {
|
||||
cy.visit("/blog/hello-world")
|
||||
cy.get("[data-cy=locale-flag-text]").should("not.exist")
|
||||
cy.get("h1").should("have.text", "👋 Hello, world!")
|
||||
cy.get("main h1").should("have.text", "👋 Hello, world!")
|
||||
cy.get(".prose a:visible").should("have.attr", "target", "_blank")
|
||||
})
|
||||
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "theoludwig",
|
||||
"version": "3.2.0",
|
||||
"version": "3.2.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "theoludwig",
|
||||
"version": "3.2.0",
|
||||
"version": "3.2.1",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@fontsource/montserrat": "5.0.16",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "theoludwig",
|
||||
"version": "3.2.0",
|
||||
"version": "3.2.1",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -8,9 +8,6 @@ const tailwindConfig = {
|
||||
darkMode: "class",
|
||||
theme: {
|
||||
extend: {
|
||||
screens: {
|
||||
xs: "380px",
|
||||
},
|
||||
colors: {
|
||||
black: "#181818",
|
||||
gray: {
|
||||
|
Reference in New Issue
Block a user