Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions hackyrolly/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": []
}
7 changes: 5 additions & 2 deletions hackyrolly/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "next/core-web-vitals"
}
"extends": ["next/core-web-vitals", "next/babel"],
"rules": {
// your custom rules here
}
}
1 change: 1 addition & 0 deletions hackyrolly/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

/app/output.css
# dependencies
/node_modules
/.pnp
Expand Down
115 changes: 6 additions & 109 deletions hackyrolly/app/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -1794,74 +1794,20 @@ html {
content: attr(data-title);
}

.footer {
.chat {
display: grid;
width: 100%;
grid-auto-flow: row;
place-items: start;
row-gap: 2.5rem;
-moz-column-gap: 1rem;
column-gap: 1rem;
font-size: 0.875rem;
line-height: 1.25rem;
}

.footer > * {
display: grid;
place-items: start;
gap: 0.5rem;
}

@media (min-width: 48rem) {
.footer {
grid-auto-flow: column;
}

.footer-center {
grid-auto-flow: row dense;
}
grid-template-columns: repeat(2, minmax(0, 1fr));
-moz-column-gap: 0.75rem;
column-gap: 0.75rem;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}

.link {
cursor: pointer;
text-decoration-line: underline;
}

.btn-outline.btn-primary .badge {
--tw-border-opacity: 1;
border-color: hsl(var(--p) / var(--tw-border-opacity));
--tw-bg-opacity: 1;
background-color: hsl(var(--p) / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: hsl(var(--pc) / var(--tw-text-opacity));
}

.btn-outline.btn-primary .badge-outline {
--tw-border-opacity: 1;
border-color: hsl(var(--p) / var(--tw-border-opacity));
background-color: transparent;
--tw-text-opacity: 1;
color: hsl(var(--p) / var(--tw-text-opacity));
}

.btn-outline.btn-primary:hover .badge {
--tw-border-opacity: 1;
border-color: hsl(var(--pc) / var(--tw-border-opacity));
--tw-bg-opacity: 1;
background-color: hsl(var(--pc) / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: hsl(var(--p) / var(--tw-text-opacity));
}

.btn-outline.btn-primary:hover .badge.outline {
--tw-border-opacity: 1;
border-color: hsl(var(--pc) / var(--tw-border-opacity));
--tw-bg-opacity: 1;
background-color: hsl(var(--pf, var(--p)) / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: hsl(var(--pc) / var(--tw-text-opacity));
}

.btn:active:hover,
.btn:active:focus {
animation: none;
Expand All @@ -1881,27 +1827,6 @@ html {
outline-offset: 2px;
}

.btn-primary {
--tw-border-opacity: 1;
border-color: hsl(var(--p) / var(--tw-border-opacity));
--tw-bg-opacity: 1;
background-color: hsl(var(--p) / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: hsl(var(--pc) / var(--tw-text-opacity));
}

.btn-primary:hover,
.btn-primary.btn-active {
--tw-border-opacity: 1;
border-color: hsl(var(--pf, var(--p)) / var(--tw-border-opacity));
--tw-bg-opacity: 1;
background-color: hsl(var(--pf, var(--p)) / var(--tw-bg-opacity));
}

.btn-primary:focus-visible {
outline: 2px solid hsl(var(--p));
}

.btn.glass:hover,
.btn.glass.btn-active {
--glass-opacity: 25%;
Expand All @@ -1912,21 +1837,6 @@ html {
outline: 2px solid currentColor;
}

.btn-outline.btn-primary {
--tw-text-opacity: 1;
color: hsl(var(--p) / var(--tw-text-opacity));
}

.btn-outline.btn-primary:hover,
.btn-outline.btn-primary.btn-active {
--tw-border-opacity: 1;
border-color: hsl(var(--pf, var(--p)) / var(--tw-border-opacity));
--tw-bg-opacity: 1;
background-color: hsl(var(--pf, var(--p)) / var(--tw-bg-opacity));
--tw-text-opacity: 1;
color: hsl(var(--pc) / var(--tw-text-opacity));
}

.btn-disabled,
.btn-disabled:hover,
.btn[disabled],
Expand Down Expand Up @@ -1997,10 +1907,6 @@ html {
}
}

.drawer-toggle:focus-visible ~ .drawer-content .drawer-button.btn-primary {
outline: 2px solid hsl(var(--p));
}

.link:focus {
outline: 2px solid transparent;
outline-offset: 2px;
Expand Down Expand Up @@ -2113,10 +2019,6 @@ html {
height: 100vh;
}

.h-10 {
height: 2.5rem;
}

.w-full {
width: 100%;
}
Expand Down Expand Up @@ -2146,11 +2048,6 @@ html {
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-blue-500 {
--tw-bg-opacity: 1;
background-color: rgb(59 130 246 / var(--tw-bg-opacity));
}

.text-8xl {
font-size: 6rem;
line-height: 1;
Expand Down
14 changes: 14 additions & 0 deletions hackyrolly/firebase/firebaseConfig.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { initializeApp } from "firebase/app";
import { getFirestore } from "firebase/firestore";

const firebaseConfig = {
apiKey: process.env.NEXT_PUBLIC_FIREBASE_API_KEY,
authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
storageBucket: process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET,
messagingSenderId: process.env.NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID,
appId: process.env.NEXT_PUBLIC_FIREBASE_APP_ID,
};

export const app = initializeApp(firebaseConfig);
export const db = getFirestore(app);
4 changes: 4 additions & 0 deletions hackyrolly/firebase/instance.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// import axios from 'axios';
// export default axios.create({
// baseURL: "https://rollyaibot-default-rtdb.asia-southeast1.firebasedatabase.app/"
// })
Loading