Skip to content

Commit

Permalink
Merge pull request #2 from nectariferous/main
Browse files Browse the repository at this point in the history
Fixd
  • Loading branch information
nectariferous authored Jul 18, 2024
2 parents 34dd423 + fb692c9 commit 3c734be
Show file tree
Hide file tree
Showing 10 changed files with 824 additions and 138 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20x
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
"express": "^4.17.1",
"axios": "^0.21.1",
"@octokit/rest": "^18.5.3",
"express-session": "^1.17.2"
"express-session": "^1.17.2",
"helmet": "^4.6.0",
"cors": "^2.8.5",
"express-rate-limit": "^5.3.0",
"uuid": "^8.3.2",
"dotenv": "^10.0.0",
"morgan": "^1.10.0",
"winston": "^3.3.3"
},
"engines": {
"node": "20.x"
}
}
261 changes: 261 additions & 0 deletions public/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
/* Custom Styles for Sublink.rest */

body {
font-family: 'Nunito', sans-serif;
}

header {
background: linear-gradient(90deg, #1e3a8a, #2563eb);
}

header h1 {
font-size: 2rem;
font-weight: 700;
}

button:disabled {
background-color: #9ca3af;
cursor: not-allowed;
}

button svg {
display: inline-block;
vertical-align: middle;
}

button:disabled svg {
display: none;
}

.flex {
display: flex;
}

.items-center {
align-items: center;
}

.justify-between {
justify-content: space-between;
}

.container {
max-width: 1200px;
margin: 0 auto;
}

.p-4 {
padding: 1rem;
}

.p-6 {
padding: 1.5rem;
}

.rounded-lg {
border-radius: 0.5rem;
}

.shadow-md {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bg-white {
background-color: #ffffff;
}

.bg-gray-100 {
background-color: #f7fafc;
}

.bg-gray-800 {
background-color: #2d3748;
}

.bg-blue-500 {
background-color: #3b82f6;
}

.bg-blue-600 {
background-color: #2563eb;
}

.bg-green-500 {
background-color: #10b981;
}

.bg-green-600 {
background-color: #059669;
}

.hover\:bg-blue-600:hover {
background-color: #2563eb;
}

.hover\:bg-green-600:hover {
background-color: #059669;
}

.text-white {
color: #ffffff;
}

.text-gray-500 {
color: #6b7280;
}

.text-gray-700 {
color: #4b5563;
}

.text-gray-900 {
color: #1f2937;
}

.text-2xl {
font-size: 1.5rem;
line-height: 2rem;
}

.text-lg {
font-size: 1.125rem;
line-height: 1.75rem;
}

.font-semibold {
font-weight: 600;
}

.font-bold {
font-weight: 700;
}

.mt-1 {
margin-top: 0.25rem;
}

.mt-2 {
margin-top: 0.5rem;
}

.mt-6 {
margin-top: 1.5rem;
}

.mb-2 {
margin-bottom: 0.5rem;
}

.mb-4 {
margin-bottom: 1rem;
}

.mb-6 {
margin-bottom: 1.5rem;
}

.rounded {
border-radius: 0.25rem;
}

.rounded-md {
border-radius: 0.375rem;
}

.rounded-l-md {
border-top-left-radius: 0.375rem;
border-bottom-left-radius: 0.375rem;
}

.rounded-r-md {
border-top-right-radius: 0.375rem;
border-bottom-right-radius: 0.375rem;
}

.shadow-sm {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.transition {
transition: all 0.2s;
}

.duration-200 {
transition-duration: 200ms;
}

.focus\:ring-blue-500:focus {
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.focus\:border-blue-500:focus {
border-color: #3b82f6;
}

.block {
display: block;
}

.w-full {
width: 100%;
}

.inline-flex {
display: inline-flex;
}

.divide-y {
border-collapse: collapse;
}

.divide-y > :not(:first-child) {
border-top: 1px solid rgba(229, 231, 235, 1);
}

.divide-gray-200 > :not(:first-child) {
border-color: rgba(229, 231, 235, 1);
}

.py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}

.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}

.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}

.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}

.text-center {
text-align: center;
}

.max-w-md {
max-width: 28rem;
}

.max-w-2xl {
max-width: 42rem;
}

.opacity-25 {
opacity: 0.25;
}

.opacity-75 {
opacity: 0.75;
}

.underline {
text-decoration: underline;
}
1 change: 1 addition & 0 deletions public/css/tailwind.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 3c734be

Please sign in to comment.