Skip to content

Commit 988a41e

Browse files
Add logo and intro text
1 parent 33628a7 commit 988a41e

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

app/layout.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import type { Metadata } from "next";
2-
import localFont from "next/font/local";
31
import "./css/openfusion.css";
42

3+
// import localFont from "next/font/local";
54
// const geistSans = localFont({
65
// src: "./fonts/GeistVF.woff",
76
// variable: "--font-geist-sans",

app/page.tsx

+20-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
1+
import "./css/bootstrap.min.css";
12
import "./css/openfusion.css";
23

4+
import ofLogo from "./img/of-3.png";
5+
6+
import Image from "next/image";
7+
import Container from "react-bootstrap/Container";
8+
import Row from "react-bootstrap/Row";
9+
import Col from "react-bootstrap/Col";
10+
311
export default function Home() {
412
return (
5-
<div>
6-
<p id="of-intro-text">hehe <code>dong</code></p>
7-
</div>
13+
<Container>
14+
<Row className="text-center mt-3">
15+
<Col>
16+
<Image src={ofLogo} alt="OpenFusion logo" width={256} />
17+
<p id="of-intro-text">
18+
Welcome to OpenFusion.
19+
<br />
20+
Select a server from the list below to get started.
21+
</p>
22+
</Col>
23+
</Row>
24+
</Container>
825
);
926
}

next.config.mjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
output: 'export',
3+
output: "export",
4+
images: {
5+
unoptimized: true,
6+
},
47
};
58

69
export default nextConfig;

0 commit comments

Comments
 (0)