Skip to content
Draft
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
35 changes: 35 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
84 changes: 84 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Domislink Empire

A modern web application built with Next.js, React, and TypeScript, deployed on GitHub Pages.

## Features

- 🚀 Built with Next.js 14 for optimal performance
- ⚡ Static site generation for fast loading
- 🎨 Modern, responsive design
- 📱 Mobile-friendly interface
- 🔄 Automated deployment with GitHub Actions

## Getting Started

### Prerequisites

- Node.js 20 or higher
- npm or yarn

### Installation

1. Clone the repository:
```bash
git clone https://github.com/amaechiu-del/https-github.com-amaechiu-del-domislink-empire.git-
cd https-github.com-amaechiu-del-domislink-empire.git-
```

2. Install dependencies:
```bash
npm install
# or
yarn install
```

3. Run the development server:
```bash
npm run dev
# or
yarn dev
```

4. Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.

## Building for Production

To create a production build:

```bash
npm run build
# or
yarn build
```

This will generate a static export in the `out` directory.

## Deployment

The application is automatically deployed to GitHub Pages when changes are pushed to the main branch. The deployment workflow is configured in `.github/workflows/nextjs.yml`.

## Project Structure

```
.
├── app/
│ ├── about/
│ │ └── page.tsx # About page
│ ├── globals.css # Global styles
│ ├── layout.tsx # Root layout
│ └── page.tsx # Home page
├── next.config.js # Next.js configuration
├── package.json # Dependencies and scripts
└── tsconfig.json # TypeScript configuration
```

## Technologies Used

- [Next.js](https://nextjs.org/) - React framework
- [React](https://reactjs.org/) - UI library
- [TypeScript](https://www.typescriptlang.org/) - Type safety
- [GitHub Pages](https://pages.github.com/) - Hosting

## License

This project is open source and available under the MIT License.
38 changes: 38 additions & 0 deletions app/about/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
export default function About() {
return (
<div className="about-container">
<div className="about-header">
<h1>About Domislink Empire</h1>
</div>

<div className="about-content">
<p>
Welcome to Domislink Empire, a modern web platform built with cutting-edge technologies
to provide the best user experience.
</p>

<h2>Our Mission</h2>
<p>
We strive to deliver exceptional digital experiences that empower our users and
help them achieve their goals. Our platform is designed with performance,
accessibility, and user satisfaction in mind.
</p>

<h2>Technology Stack</h2>
<p>
Built with Next.js 14, React 18, and TypeScript, our application leverages
the latest web technologies to ensure fast loading times, smooth interactions,
and a responsive design that works beautifully on all devices.
</p>

<h2>Deployment</h2>
<p>
This application is deployed using GitHub Pages with automated CI/CD pipelines,
ensuring that every update is tested and deployed seamlessly.
</p>

<a href="/" className="back-link">← Back to Home</a>
</div>
</div>
)
}
188 changes: 188 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}

html,
body {
max-width: 100vw;
overflow-x: hidden;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #ffffff;
min-height: 100vh;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}

.hero {
text-align: center;
padding: 4rem 2rem;
margin-bottom: 3rem;
}

.hero h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
font-size: 1.5rem;
opacity: 0.9;
margin-bottom: 2rem;
}

.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 4rem;
}

.feature-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
padding: 2rem;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card h2 {
font-size: 1.8rem;
margin-bottom: 1rem;
}

.feature-card p {
font-size: 1.1rem;
opacity: 0.9;
line-height: 1.6;
}

.cta {
text-align: center;
padding: 3rem 2rem;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}

.cta p {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
}

.button {
display: inline-block;
padding: 1rem 2.5rem;
background: rgba(255, 255, 255, 0.2);
color: #ffffff;
text-decoration: none;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
border: 2px solid rgba(255, 255, 255, 0.3);
transition: all 0.3s ease;
}

.button:hover {
background: rgba(255, 255, 255, 0.3);
transform: scale(1.05);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.about-container {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}

.about-header {
text-align: center;
margin-bottom: 3rem;
}

.about-header h1 {
font-size: 3rem;
margin-bottom: 1rem;
}

.about-content {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
padding: 2.5rem;
border: 1px solid rgba(255, 255, 255, 0.2);
line-height: 1.8;
font-size: 1.1rem;
}

.about-content h2 {
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 1.8rem;
}

.about-content p {
margin-bottom: 1.5rem;
opacity: 0.95;
}

.back-link {
display: inline-block;
margin-top: 2rem;
padding: 0.8rem 2rem;
background: rgba(255, 255, 255, 0.2);
color: #ffffff;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
border: 2px solid rgba(255, 255, 255, 0.3);
transition: all 0.3s ease;
}

.back-link:hover {
background: rgba(255, 255, 255, 0.3);
transform: translateX(-5px);
}

@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}

.subtitle {
font-size: 1.2rem;
}

.features {
grid-template-columns: 1fr;
}

.cta h2 {
font-size: 2rem;
}
}
19 changes: 19 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import type { Metadata } from 'next'
import './globals.css'

export const metadata: Metadata = {
title: 'Domislink Empire',
description: 'Welcome to Domislink Empire',
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body>{children}</body>
</html>
)
}
Loading