-
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.
Add new files and update existing files
- Loading branch information
Showing
19 changed files
with
288 additions
and
129 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
Binary file not shown.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,13 @@ | ||
CREATE TABLE LinkClicks ( | ||
ID SERIAL PRIMARY KEY, | ||
LinkID INTEGER REFERENCES "Links"(id) ON DELETE CASCADE, | ||
ClickTimestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP, | ||
IPAddress VARCHAR(255), | ||
UserAgent TEXT, | ||
Referrer TEXT, | ||
DeviceInfo TEXT, | ||
GeographicLocation VARCHAR(255), | ||
UserID INTEGER REFERENCES "User"(id) ON DELETE SET NULL, | ||
ClickCount INTEGER | ||
); | ||
; |
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
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,12 +1,12 @@ | ||
const { fontFamily } = require('tailwindcss/defaultTheme'); | ||
const { fontFamily } = require("tailwindcss/defaultTheme"); | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: ['./templates/**/*.html'], | ||
theme: { | ||
extend: { | ||
fontFamily: { | ||
sans: ['Inter var', ...fontFamily.sans], | ||
}, | ||
}, | ||
content: ["./templates/**/*.html"], | ||
theme: { | ||
extend: { | ||
fontFamily: { | ||
sans: ["Inter var", ...fontFamily.sans], | ||
}, | ||
}, | ||
}, | ||
}; |
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,5 @@ | ||
<div class="flex flex-col items-center justify-center bg-white h-64 w-full"> | ||
<h2 class="text-3xl font-bold text-center"> | ||
Trusted by the world's best brands | ||
</h2> | ||
</div> |
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,15 @@ | ||
<footer | ||
class="flex text-black bg-white justify-center w-full p-8 text-xs text-center border-t" | ||
> | ||
<p> | ||
Made by | ||
<a | ||
href="https://twitter.com/ikurotime" | ||
target="_blank" | ||
class="font-bold hover:underline" | ||
rel="noreferrer" | ||
> | ||
kuro | ||
</a> | ||
</p> | ||
</footer> |
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,4 @@ | ||
<div class="flex flex-col justify-center items-center w-full h-64 bg-slate-900"> | ||
<h2 class="text-3xl text-white font-bold">Start sending better links today.</h2> | ||
<a href="/register" class="bg-[rgb(234,198,67)] text-black font-bold py-3 px-8 rounded-full mt-8">Get Started</a> | ||
</div> |
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,5 @@ | ||
<div class="flex gap-5"> | ||
<a href="/login" class="text-black font-medium py-3 px-8 rounded-full">Login</a> | ||
<a href="/register" class="bg-[rgb(234,198,67)] text-black font-bold py-3 px-8 rounded-full">Get Started</a> | ||
|
||
</div> |
Oops, something went wrong.