|
| 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