Skip to content
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

dasfadsfasdf #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Admin-Backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ app.use('/api', userRoutes);
app.use('/api', tagRoutes);

// port
const port = process.env.PORT || 8000;
const port = process.env.PORT || 3000;
app.listen(port, () => {
console.log(`Server is running on port ${port}`);
});
Expand Down
87 changes: 87 additions & 0 deletions Admin-Frontend/pages/indexxx.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
import React from 'react'
import Head from 'next/head'

const Home = () => {
return (
<div>
<Head>
<title>Home</title>
<link rel="icon" href="/favicon.ico" />
</Head>

<div className="hero">
<h1 className="title">Shopify NextJS</h1>
<p className="description">
To get started, edit <code>pages/index.js</code> and save to reload.
</p>

<div className="row">
<a href="/app/login" className="card">
<h3>Login &rarr;</h3>
<p>Connect with your Shopify account.</p>
</a>
<a href="/app/shopify-welcome" className="card">
<h3>Welcome &rarr;</h3>
<p>Redirect to /app/shopify-welcome in iframe somehow.</p>
</a>
<a
href="https://github.com/zeit/next.js/tree/master/examples"
className="card"
>
<h3>Examples &rarr;</h3>
<p>Find other example boilerplates on the Next.js GitHub.</p>
</a>
</div>
</div>

<style jsx>{`
.hero {
width: 100%;
color: #333;
}
.title {
margin: 0;
width: 100%;
padding-top: 80px;
line-height: 1.15;
font-size: 48px;
}
.title,
.description {
text-align: center;
}
.row {
max-width: 880px;
margin: 80px auto 40px;
display: flex;
flex-direction: row;
justify-content: space-around;
}
.card {
padding: 18px 18px 24px;
width: 220px;
text-align: left;
text-decoration: none;
color: #434343;
border: 1px solid #9b9b9b;
}
.card:hover {
border-color: #067df7;
}
.card h3 {
margin: 0;
color: #067df7;
font-size: 18px;
}
.card p {
margin: 0;
padding: 12px 0 0;
font-size: 13px;
color: #333;
}
`}</style>
</div>
)
}

export default Home
Binary file added ngrok.exe
Binary file not shown.