Skip to content

Commit

Permalink
feat: ready for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
dk-a-dev committed Feb 17, 2025
1 parent 14d73ef commit 75572a8
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 31 deletions.
86 changes: 59 additions & 27 deletions nst-fe/README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,68 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
<p align="center">
<a href="https://dscvit.com">
<img width="400" src="https://user-images.githubusercontent.com/56252312/159312411-58410727-3933-4224-b43e-4e9b627838a3.png#gh-light-mode-only" alt="GDSC VIT"/>
</a>
<h2 align="center"> </h2>
<a href="https://dscvit-artium.vercel.app">
<img width="400" src="https://github.com/GDGVIT/artium-frontend/blob/dev/nst-fe/src/assets/Artium_logo.svg" alt="Artium logo">
</a>
</p>

## Getting Started
---
[![Join Us](https://img.shields.io/badge/Join%20Us-Developer%20Student%20Clubs-red)](https://dsc.community.dev/vellore-institute-of-technology/)
[![Discord Chat](https://img.shields.io/discord/760928671698649098.svg)](https://discord.gg/498KVdSKWR)

First, run the development server:
[![DOCS](https://img.shields.io/badge/Documentation-see%20docs-green?style=flat-square&logo=appveyor)](INSERT_LINK_FOR_DOCS_HERE)
[![UI ](https://img.shields.io/badge/User%20Interface-Link%20to%20UI-orange?style=flat-square&logo=appveyor)](INSERT_UI_LINK_HERE)

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Features
- [X] Landing Page/Carousel
- [X] Authentication
- [X] Creating Custom Art
- [X] Theme Of The Day
- [X] Public Gallery
- [X] Profile with personal image gallery
- [X] About us page

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
<br>

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More
## Contributors

To learn more about Next.js, take a look at the following resources:
<table>
<tr align="center">
<td>
Divyanshu Singh
<p align="center">
<img src = "" width="150" height="150">
</p>
<p align="center">
<a href = "https://github.com/isinghdivyanshu">
<img src = "http://www.iconninja.com/files/241/825/211/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36" alt="GitHub"/>
</a>
<a href = "https://www.linkedin.com/in/isinghdivyanshu/">
<img src = "http://www.iconninja.com/files/863/607/751/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36" alt="LinkedIn"/>
</a>
</p>
</td>
<td>
Dev Keshwani
<p align="center">
<img src = "https://avatars.githubusercontent.com/u/74227363?v=4" width="150" height="150">
</p>
<p align="center">
<a href = "https://github.com/dk-a-dev">
<img src = "http://www.iconninja.com/files/241/825/211/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36" alt="GitHub"/>
</a>
<a href = "https://www.linkedin.com/in/dev-keshwani">
<img src = "http://www.iconninja.com/files/863/607/751/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36" alt="LinkedIn"/>
</a>
</p>
</td>
</tr>
</table>

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
<p align="center">
Made with ❤ by <a href="https://dscvit.com">GDSC-VIT</a>
</p>
5 changes: 2 additions & 3 deletions nst-fe/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
port: '8000',
protocol: 'https',
hostname: 'artium.rupaaksrinivas.tech',
pathname: '/**',
},
],
Expand Down
3 changes: 2 additions & 1 deletion nst-fe/src/app/(home)/account/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import Link from "next/link";
import { useEffect, useState } from "react";
import { Art } from "@/models/art";
import { getAllUserArts } from "@/services/service";
import { config } from "@/config/config";

const baseUrl = process.env.BASE_URL || 'http://localhost:8000';
const baseUrl = config.baseUrl || 'http://localhost:8000';
const BoxSvg = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down

0 comments on commit 75572a8

Please sign in to comment.