-
Notifications
You must be signed in to change notification settings - Fork 24
vibed up a sweet halifax theme #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kpenfound
wants to merge
5
commits into
main
Choose a base branch
from
test_theme_pr
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ca19450
vibed up a sweet halifax theme
kpenfound 32a3aa5
apply prettier formatting to index.html
kpenfound 2cd1d06
pass full source to debugger
kpenfound 3a57b6a
update prompt for frontend checker
kpenfound 4702bb7
pass path to checker
kpenfound File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,6 +1,6 @@ | ||
| { | ||
| "name": "greetings", | ||
| "engineVersion": "v0.18.12", | ||
| "engineVersion": "v0.18.16", | ||
| "sdk": { | ||
| "source": "go" | ||
| }, | ||
|
|
||
This file contains hidden or 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 hidden or 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,32 +1,69 @@ | ||||||
| <!DOCTYPE html> | ||||||
| <!doctype html> | ||||||
| <html lang="en"> | ||||||
| <head> | ||||||
| <meta charset="UTF-8"> | ||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||||
| <title>Greetings App</title> | ||||||
| <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> | ||||||
| </head> | ||||||
| <body class="bg-purple-900 text-white font-sans flex flex-col items-center justify-center min-h-screen"> | ||||||
| <head> | ||||||
| <meta charset="UTF-8" /> | ||||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||||||
| <title>Halifax Harbour Greetings</title> | ||||||
| <link | ||||||
| href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" | ||||||
| rel="stylesheet" | ||||||
| /> | ||||||
| <style> | ||||||
| .maritime-gradient { | ||||||
| background: linear-gradient( | ||||||
| 135deg, | ||||||
| #1e3a8a 0%, | ||||||
| #0369a1 50%, | ||||||
| #059669 100% | ||||||
| ); | ||||||
| } | ||||||
| .harbor-blue { | ||||||
| background-color: #1e40af; | ||||||
| } | ||||||
| .lighthouse-beacon { | ||||||
| animation: pulse 2s infinite; | ||||||
| } | ||||||
| </style> | ||||||
| </head> | ||||||
| <body | ||||||
| class="maritime-gradient text-white font-sans flex flex-col items-center justify-center min-h-screen" | ||||||
| > | ||||||
| <div class="container mx-auto px-4 py-8 max-w-screen-md"> | ||||||
| <h1 class="text-3xl font-bold mb-4">Greetings Daggernauts</h1> | ||||||
| <div id="greetingDisplay" class="greeting bg-purple-700 rounded shadow p-4 min-h-20 flex items-center justify-center"> | ||||||
| Click the button to see a greeting! | ||||||
| </div> | ||||||
| <button id="randomGreetingButton" class="bg-purple-500 hover:bg-purple-400 text-white font-bold py-2 px-4 rounded mt-4">👋</button> | ||||||
| <h1 class="text-3xl font-bold mb-2">🌊 Halifax Harbour Greetings ⚓</h1> | ||||||
| <p class="text-blue-200 mb-4 text-center"> | ||||||
| Welcome to the Atlantic's finest port city! | ||||||
| </p> | ||||||
| <div | ||||||
| id="greetingDisplay" | ||||||
| class="greeting harbor-blue rounded-lg shadow-lg p-6 min-h-20 flex items-center justify-center border-2 border-blue-300" | ||||||
| > | ||||||
| Click the button to receive a Maritime welcome! | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| </div> | ||||||
| <button | ||||||
| id="randomGreetingButton" | ||||||
| class="bg-teal-600 hover:bg-teal-500 text-white font-bold py-3 px-6 rounded-lg mt-4 lighthouse-beacon shadow-lg transition-all duration-200 hover:shadow-xl" | ||||||
| > | ||||||
| 🦞 Ahoy! | ||||||
| </button> | ||||||
| </div> | ||||||
|
|
||||||
| <script> | ||||||
| async function getRandomGreeting() { | ||||||
| try { | ||||||
| const response = await fetch('http://localhost:8080/random'); | ||||||
| const data = await response.json(); | ||||||
| document.getElementById('greetingDisplay').textContent = data.greeting; | ||||||
| } catch (error) { | ||||||
| console.error('Error fetching greeting:', error); | ||||||
| document.getElementById('greetingDisplay').textContent = 'Error fetching greeting'; | ||||||
| } } | ||||||
| async function getRandomGreeting() { | ||||||
| try { | ||||||
| const response = await fetch("http://localhost:8080/random"); | ||||||
| const data = await response.json(); | ||||||
| document.getElementById("greetingDisplay").textContent = | ||||||
| data.greeting; | ||||||
| } catch (error) { | ||||||
| console.error("Error fetching greeting:", error); | ||||||
| document.getElementById("greetingDisplay").textContent = | ||||||
| "Error fetching greeting"; | ||||||
| } | ||||||
| } | ||||||
|
|
||||||
| document.getElementById('randomGreetingButton').addEventListener('click', getRandomGreeting); | ||||||
| document | ||||||
| .getElementById("randomGreetingButton") | ||||||
| .addEventListener("click", getRandomGreeting); | ||||||
| </script> | ||||||
| </body> | ||||||
| </html> | ||||||
| </body> | ||||||
| </html> | ||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.