Skip to content

Commit f2d9cdd

Browse files
committed
Minimal website
0 parents  commit f2d9cdd

File tree

6 files changed

+187
-0
lines changed

6 files changed

+187
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.git* export-ignore

.gitignore

Whitespace-only changes.

LICENSE

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
MIT License
2+
3+
Copyright (c) 2025-present Simon André & Playwright PHP
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
23+
---
24+
25+
Third-Party Notice
26+
27+
This project depends on Playwright, an open-source project by Microsoft,
28+
licensed under Apache License 2.0 (https://github.com/microsoft/playwright/blob/main/LICENSE).
29+
"Playwright" is a trademark of Microsoft. This project is independent and not
30+
affiliated with or endorsed by Microsoft.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div align="center">
2+
<a href="https://playwright-php.dev">
3+
<img src="https://github.com/playwright-php/.github/raw/main/profile/playwright-php.png" alt="PlaywrightPHP" />
4+
</a>
5+
</div>
6+
7+
This repository contains the source code / build tools for the official PlaywrightPHP website.
8+
9+
URL: https://playwright-php.dev

public/images/playwright-php.png

10.8 KB
Loading

public/index.html

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>PlaywrightPHP - Browser automation for PHP</title>
7+
<style>
8+
:root {
9+
--color-primary-red: oklch(62% 0.23 25);
10+
--color-primary-green: oklch(0.839 0.268 143.588);
11+
--color-text-primary: oklch(98% 0 0);
12+
--color-text-secondary: oklch(72% 0.01 260);
13+
--color-text-muted: oklch(52% 0.01 260);
14+
}
15+
16+
* {
17+
margin: 0;
18+
padding: 0;
19+
box-sizing: border-box;
20+
}
21+
22+
body {
23+
font-family: system-ui, -apple-system, sans-serif;
24+
background: #05070F;
25+
color: #FFFFFF;
26+
min-height: 100vh;
27+
display: grid;
28+
place-content: center;
29+
}
30+
31+
.loader {
32+
text-align: center;
33+
display: flex;
34+
flex-direction: column;
35+
gap: 2rem;
36+
place-content: center;
37+
}
38+
39+
.loader__logo img {
40+
max-width: 6rem;
41+
height: auto;
42+
}
43+
44+
.loader__title {
45+
font-size: 2rem;
46+
font-weight: 200;
47+
margin-bottom: 0.5rem;
48+
text-transform: uppercase;
49+
color: #fffe;
50+
span {
51+
font-weight: 300;
52+
color: #fff;
53+
}
54+
}
55+
56+
.loader__baseline {
57+
font-size: 1rem;
58+
color: var(--color-text-muted);
59+
font-weight: 400;
60+
font-stretch: semi-condensed;
61+
}
62+
63+
.loader__github {
64+
position: fixed;
65+
top: 1rem;
66+
right: 1rem;
67+
display: block;
68+
width: 2rem;
69+
height: 2rem;
70+
color: var(--color-text-muted);
71+
transition: all var(--transition-base);
72+
cursor: pointer;
73+
74+
svg {
75+
display: block;
76+
width: 100%;
77+
height: 100%;
78+
max-width: none;
79+
}
80+
}
81+
82+
.loader__github:hover {
83+
color: var(--color-text-primary);
84+
transform: scale(1.1);
85+
}
86+
87+
.loader__links {
88+
display: flex;
89+
gap: 2rem;
90+
justify-content: center;
91+
margin-top: 2rem;
92+
list-style: none;
93+
94+
a {
95+
text-decoration: none;
96+
color: var(--color-text-primary);
97+
font-weight: 400;
98+
transition: all 250ms;
99+
font-stretch: semi-condensed;
100+
opacity: .75;
101+
102+
&:hover {
103+
opacity: 1;
104+
color: var(--color-primary-green);
105+
}
106+
107+
span {
108+
font-size: 0.75rem;
109+
color: var(--color-text-muted);
110+
margin-left: 0.25rem;
111+
transform: translateY(-50%);
112+
display: inline-block;
113+
}
114+
}
115+
}
116+
</style>
117+
</head>
118+
<body>
119+
<header>
120+
<a href="https://github.com/playwright-php" class="loader__github" aria-label="Playwright PHP on GitHub">
121+
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
122+
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
123+
</svg>
124+
</a>
125+
</header>
126+
<main class="loader">
127+
<div class="loader__logo">
128+
<img src="images/playwright-php.png" height="256" width="256" alt="Playwright PHP"/>
129+
</div>
130+
<div>
131+
<h1 class="loader__title">Playwright<span>PHP</span></h1>
132+
<p class="loader__baseline">Browser automation for PHP developers</p>
133+
</div>
134+
<ul class="loader__links">
135+
<li>
136+
<a href="https://github.com/playwright-php/playwright" target="_blank">Install <span>(beta)</span></a>
137+
</li>
138+
<li>
139+
<a href="https://github.com/playwright-php/playwright/blob/main/docs/guide.md" target="_blank">Documentation</a>
140+
</li>
141+
<li>
142+
<a href="https://github.com/playwright-php/playwright/issues" target="_blank">Contribute</a>
143+
</li>
144+
</ul>
145+
</main>
146+
</body>
147+
</html>

0 commit comments

Comments
 (0)