Skip to content

Commit d65ac32

Browse files
committed
Initial nextjs migration for homepage with no data
1 parent 7db3ec5 commit d65ac32

File tree

103 files changed

+4905
-52389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+4905
-52389
lines changed

.gitignore

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,41 @@
1-
.DS_Store
2-
node_modules
3-
yarn-error.log
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
412

513
# testing
6-
coverage
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
719

8-
# app
9-
.cache
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
1034
.env*
35+
36+
# vercel
1137
.vercel
12-
public
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-exact=true

.yarnrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,36 @@
1-
# hillcitymnag
1+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
22

3-
[![Build Status](https://travis-ci.com/bmealhouse/hillcitymnag.svg?branch=master)](https://travis-ci.com/bmealhouse/hillcitymnag)
4-
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
5-
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
3+
## Getting Started
64

7-
> Monorepo for [https://www.hillcitymnag.church](https://www.hillcitymnag.church)
5+
First, run the development server:
86

9-
## Getting started
10-
11-
### Installation
12-
13-
```sh
14-
yarn && yarn dev
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
1515
```
1616

17-
## Scripts
18-
19-
### `yarn deploy`
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
2018

21-
Build & deploy the monorepo using [Now](https://zeit.co/now).<br>
22-
Deploys to staging environment only.
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
2320

24-
### `yarn deploy:prod`
21+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
2522

26-
Build & deploy the monorepo using [Now](https://zeit.co/now).<br>
27-
Depolys to staging environment and updates production aliases.
23+
## Learn More
2824

29-
### `yarn dev`
25+
To learn more about Next.js, take a look at the following resources:
3026

31-
Runs the monorepo in development using [now dev](https://zeit.co/blog/now-dev).<br>
32-
Automatically updates localhost when a code change is detected.
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
3329

34-
### `yarn dev:fe`
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
3531

36-
Runs the frontend in development mode using [Next.js](https://nextjs.org/).<br>
37-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
32+
## Deploy on Vercel
3833

39-
### `yarn test`
34+
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.
4035

41-
Runs [Jest](https://jestjs.io/) tests across all workspaces using [Bolt](http://boltpkg.com/).<br>
42-
Code coverage report will also be included in command line output.
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
File renamed without changes.

app/globals.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
:root {
2+
--background: #ffffff;
3+
--foreground: #171717;
4+
}
5+
6+
@media (prefers-color-scheme: dark) {
7+
:root {
8+
--background: #0a0a0a;
9+
--foreground: #ededed;
10+
}
11+
}
12+
13+
html,
14+
body {
15+
max-width: 100vw;
16+
overflow-x: hidden;
17+
}
18+
19+
body {
20+
color: var(--foreground);
21+
background: var(--background);
22+
font-family: Arial, Helvetica, sans-serif;
23+
-webkit-font-smoothing: antialiased;
24+
-moz-osx-font-smoothing: grayscale;
25+
}
26+
27+
* {
28+
box-sizing: border-box;
29+
padding: 0;
30+
margin: 0;
31+
}
32+
33+
a {
34+
color: inherit;
35+
text-decoration: none;
36+
}
37+
38+
@media (prefers-color-scheme: dark) {
39+
html {
40+
color-scheme: dark;
41+
}
42+
}

app/layout.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import StyledComponentsRegistry from "@/lib/registry";
2+
import type { Metadata } from "next";
3+
import { Roboto } from "next/font/google";
4+
// import "./globals.css";
5+
6+
const roboto = Roboto({
7+
weight: ["400", "700"],
8+
subsets: ["latin"],
9+
});
10+
11+
export const metadata: Metadata = {
12+
title: "Create Next App",
13+
description: "Generated by create next app",
14+
};
15+
16+
export default function RootLayout({
17+
children,
18+
}: {
19+
children: React.ReactNode;
20+
}) {
21+
return (
22+
<html lang="en">
23+
<body className={roboto.className}>
24+
<StyledComponentsRegistry>{children}</StyledComponentsRegistry>
25+
</body>
26+
</html>
27+
);
28+
}

app/old-page.tsx

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
import Image from "next/image";
2+
import styles from "./page.module.css";
3+
4+
export default function Home() {
5+
return (
6+
<div className={styles.page}>
7+
<main className={styles.main}>
8+
<Image
9+
className={styles.logo}
10+
src="/next.svg"
11+
alt="Next.js logo"
12+
width={180}
13+
height={38}
14+
priority
15+
/>
16+
<ol>
17+
<li>
18+
Get started by editing <code>app/page.tsx</code>.
19+
</li>
20+
<li>Save and see your changes instantly.</li>
21+
</ol>
22+
23+
<div className={styles.ctas}>
24+
<a
25+
className={styles.primary}
26+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
27+
target="_blank"
28+
rel="noopener noreferrer"
29+
>
30+
<Image
31+
className={styles.logo}
32+
src="/vercel.svg"
33+
alt="Vercel logomark"
34+
width={20}
35+
height={20}
36+
/>
37+
Deploy now
38+
</a>
39+
<a
40+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
41+
target="_blank"
42+
rel="noopener noreferrer"
43+
className={styles.secondary}
44+
>
45+
Read our docs
46+
</a>
47+
</div>
48+
</main>
49+
<footer className={styles.footer}>
50+
<a
51+
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
52+
target="_blank"
53+
rel="noopener noreferrer"
54+
>
55+
<Image
56+
aria-hidden
57+
src="/file.svg"
58+
alt="File icon"
59+
width={16}
60+
height={16}
61+
/>
62+
Learn
63+
</a>
64+
<a
65+
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
66+
target="_blank"
67+
rel="noopener noreferrer"
68+
>
69+
<Image
70+
aria-hidden
71+
src="/window.svg"
72+
alt="Window icon"
73+
width={16}
74+
height={16}
75+
/>
76+
Examples
77+
</a>
78+
<a
79+
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
80+
target="_blank"
81+
rel="noopener noreferrer"
82+
>
83+
<Image
84+
aria-hidden
85+
src="/globe.svg"
86+
alt="Globe icon"
87+
width={16}
88+
height={16}
89+
/>
90+
Go to nextjs.org →
91+
</a>
92+
</footer>
93+
</div>
94+
);
95+
}

0 commit comments

Comments
 (0)