Skip to content

Commit 5b47904

Browse files
Voeg nieuwe layout en pagina's toe voor Arch Linux zonder piepjes; verwijder oude HTML-bestanden
1 parent bcfac7d commit 5b47904

File tree

13 files changed

+397
-273
lines changed

13 files changed

+397
-273
lines changed

about.html

Lines changed: 0 additions & 34 deletions
This file was deleted.

app/about/page.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
export default function AboutPage() {
3+
return (
4+
<div className="container mx-auto px-4 py-16 animate-fade-in">
5+
<h1 className="text-4xl md:text-5xl font-bold text-center mb-8 text-gray-800 dark:text-white">
6+
About Arch Linux without Beeps
7+
</h1>
8+
<div className="max-w-3xl mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg p-8">
9+
<p className="text-lg mb-6 text-gray-600 dark:text-gray-300">
10+
This project was created to help users install Arch Linux without the annoying beeps that can occur during the installation process. It aims to provide a smoother and more pleasant installation experience.
11+
</p>
12+
<h2 className="text-2xl font-bold mb-4 text-gray-800 dark:text-white">About the Author</h2>
13+
<div className="flex items-center mb-6">
14+
<div>
15+
<h3 className="text-xl font-semibold text-gray-800 dark:text-white">Thomas Brugman</h3>
16+
<p className="text-gray-600 dark:text-gray-300">Developer & Linux Enthusiast</p>
17+
</div>
18+
</div>
19+
<p className="text-gray-600 dark:text-gray-300 mb-4">
20+
Hi, I'm Thomas Brugman. I live in Gouda (Netherlands) and have a keen interest in computers and laptops. I enjoy testing new operating systems and reporting bugs. I'm currently learning YAML and Bash, and I already have some experience with both. I use VS Code as my development environment and am familiar with some fundamental programming concepts.
21+
</p>
22+
<p className="text-gray-600 dark:text-gray-300">
23+
I'm working on the 'Arch-Linux-without-the-beeps' project, which ensures that the system does not produce beep sounds during installation and builds ISO files locally using Docker. I prefer using sudo in scripts and am open to feedback and new features for my project.
24+
</p>
25+
</div>
26+
</div>
27+
)
28+
}
29+

components/Navbar.tsx

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
'use client'
2+
3+
import { useState, useEffect } from 'react'
4+
import Link from 'next/link'
5+
import { usePathname } from 'next/navigation'
6+
import { Moon, Sun } from 'lucide-react'
7+
8+
const Navbar = () => {
9+
const [darkMode, setDarkMode] = useState(false)
10+
const [isScrolled, setIsScrolled] = useState(false)
11+
const pathname = usePathname()
12+
13+
useEffect(() => {
14+
const isDarkMode = localStorage.getItem('darkMode') === 'true'
15+
setDarkMode(isDarkMode)
16+
}, [])
17+
18+
useEffect(() => {
19+
const handleScroll = () => {
20+
setIsScrolled(window.scrollY > 20)
21+
}
22+
window.addEventListener('scroll', handleScroll)
23+
return () => window.removeEventListener('scroll', handleScroll)
24+
}, [])
25+
26+
useEffect(() => {
27+
if (darkMode) {
28+
document.documentElement.classList.add('dark')
29+
localStorage.setItem('darkMode', 'true')
30+
} else {
31+
document.documentElement.classList.remove('dark')
32+
localStorage.setItem('darkMode', 'false')
33+
}
34+
}, [darkMode])
35+
36+
const navItems = [
37+
{ name: 'Home', path: '/' },
38+
{ name: 'Download', path: '/download' },
39+
{ name: 'Docs', path: '/docs' },
40+
{ name: 'About', path: '/about' },
41+
]
42+
43+
return (
44+
<header className={`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${isScrolled ? 'bg-white/80 dark:bg-gray-900/80 backdrop-blur-md shadow-lg' : 'bg-transparent'}`}>
45+
<nav className="container mx-auto px-4 py-4 flex justify-between items-center">
46+
<Link href="/" className="text-2xl font-bold text-gray-800 dark:text-white">
47+
Arch Linux
48+
</Link>
49+
<ul className="flex space-x-6">
50+
{navItems.map((item) => (
51+
<li key={item.name}>
52+
<Link
53+
href={item.path}
54+
className={`text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white transition-colors ${pathname === item.path ? 'font-semibold' : ''}`}
55+
>
56+
{item.name}
57+
</Link>
58+
</li>
59+
))}
60+
</ul>
61+
<button
62+
onClick={() => setDarkMode(!darkMode)}
63+
className="p-2 rounded-full bg-gray-200 dark:bg-gray-700 text-gray-800 dark:text-white transition-colors"
64+
>
65+
{darkMode ? <Sun size={20} /> : <Moon size={20} />}
66+
</button>
67+
</nav>
68+
</header>
69+
)
70+
}
71+
72+
export default Navbar

docs.html

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/page.tsx

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
import Link from 'next/link'
2+
3+
export default function DocsPage() {
4+
return (
5+
<div className="container mx-auto px-4 py-16 animate-fade-in">
6+
<h1 className="text-4xl md:text-5xl font-bold text-center mb-8 text-gray-800 dark:text-white">
7+
Documentation
8+
</h1>
9+
<div className="max-w-3xl mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg p-8">
10+
<h2 className="text-2xl font-bold mb-4 text-gray-800 dark:text-white">Installation Guide</h2>
11+
<ol className="list-decimal list-inside space-y-4 text-gray-600 dark:text-gray-300">
12+
<li>
13+
<span className="font-semibold">Download the ISO:</span> Get the latest Arch Linux without Beeps ISO from our{' '}
14+
<Link href="/download" className="text-primary hover:underline">download page</Link>.
15+
</li>
16+
<li>
17+
<span className="font-semibold">Create a bootable USB drive:</span> Use a tool like Rufus or dd to create a bootable USB drive with the downloaded ISO.
18+
</li>
19+
<li>
20+
<span className="font-semibold">Boot from the USB drive:</span> Restart your computer and boot from the USB drive. You may need to change your BIOS/UEFI settings to do this.
21+
</li>
22+
<li>
23+
<span className="font-semibold">Follow the Arch Linux installation guide:</span> Our ISO follows the standard Arch Linux installation process, but without the system beeps. Refer to the{' '}
24+
<a href="https://wiki.archlinux.org/title/Installation_guide" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">
25+
official Arch Linux installation guide
26+
</a>{' '}
27+
for detailed steps.
28+
</li>
29+
<li>
30+
<span className="font-semibold">Enjoy your beep-free Arch Linux:</span> Once installed, you'll have a fully functional Arch Linux system without the annoying beeps during boot or system events.
31+
</li>
32+
</ol>
33+
<h2 className="text-2xl font-bold mt-8 mb-4 text-gray-800 dark:text-white">Troubleshooting</h2>
34+
<p className="mb-4 text-gray-600 dark:text-gray-300">
35+
If you encounter any issues during installation or have questions, please check our{' '}
36+
<a href="https://github.com/Githubguy132010/Arch-Linux-without-the-beeps/issues" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">
37+
GitHub Issues
38+
</a>{' '}
39+
page or create a new issue for support.
40+
</p>
41+
</div>
42+
</div>
43+
)
44+
}
45+

download.html

Lines changed: 0 additions & 32 deletions
This file was deleted.

downloads/page.tsx

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import Link from 'next/link'
2+
import { Download } from 'lucide-react'
3+
4+
export default function DownloadPage() {
5+
return (
6+
<div className="container mx-auto px-4 py-16 animate-fade-in">
7+
<h1 className="text-4xl md:text-5xl font-bold text-center mb-8 text-gray-800 dark:text-white">
8+
Download Arch Linux without Beeps
9+
</h1>
10+
<div className="max-w-2xl mx-auto bg-white dark:bg-gray-800 rounded-lg shadow-lg p-8">
11+
<p className="text-lg mb-6 text-gray-600 dark:text-gray-300">
12+
Get the latest version of Arch Linux installation files without the annoying system beeps. Our custom ISO ensures a smooth and quiet installation process.
13+
</p>
14+
<div className="flex justify-center">
15+
<Link
16+
href="https://github.com/Githubguy132010/Arch-Linux-without-the-beeps/releases"
17+
target="_blank"
18+
rel="noopener noreferrer"
19+
className="inline-flex items-center bg-primary text-primary-foreground hover:bg-primary/90 px-6 py-3 rounded-md text-lg font-semibold transition-colors"
20+
>
21+
<Download className="mr-2" size={24} />
22+
Download Latest Release
23+
</Link>
24+
</div>
25+
<div className="mt-8 text-sm text-gray-500 dark:text-gray-400">
26+
<h2 className="font-semibold mb-2">System Requirements:</h2>
27+
<ul className="list-disc list-inside">
28+
<li>x86_64 architecture</li>
29+
<li>Minimum 512 MB RAM (2 GB recommended)</li>
30+
<li>Minimum 2 GB disk space (20 GB recommended)</li>
31+
<li>Internet connection for installation</li>
32+
</ul>
33+
</div>
34+
</div>
35+
</div>
36+
)
37+
}
38+

globals.css

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
:root {
6+
--background: 218 27% 94%;
7+
--foreground: 220 16% 22%;
8+
--card: 220 14% 96%;
9+
--card-foreground: 220 16% 22%;
10+
--popover: 220 14% 96%;
11+
--popover-foreground: 220 16% 22%;
12+
--primary: 220 54% 20%;
13+
--primary-foreground: 220 14% 96%;
14+
--secondary: 220 14% 90%;
15+
--secondary-foreground: 220 16% 22%;
16+
--muted: 220 14% 90%;
17+
--muted-foreground: 220 10% 40%;
18+
--accent: 220 14% 90%;
19+
--accent-foreground: 220 16% 22%;
20+
--destructive: 0 84% 60%;
21+
--destructive-foreground: 210 20% 98%;
22+
--border: 220 13% 91%;
23+
--input: 220 13% 91%;
24+
--ring: 220 54% 20%;
25+
--radius: 0.5rem;
26+
}
27+
28+
.dark {
29+
--background: 220 16% 22%;
30+
--foreground: 220 14% 96%;
31+
--card: 220 16% 26%;
32+
--card-foreground: 220 14% 96%;
33+
--popover: 220 16% 26%;
34+
--popover-foreground: 220 14% 96%;
35+
--primary: 220 54% 70%;
36+
--primary-foreground: 220 16% 22%;
37+
--secondary: 220 16% 28%;
38+
--secondary-foreground: 220 14% 96%;
39+
--muted: 220 16% 28%;
40+
--muted-foreground: 220 14% 80%;
41+
--accent: 220 16% 28%;
42+
--accent-foreground: 220 14% 96%;
43+
--destructive: 0 62% 30%;
44+
--destructive-foreground: 210 20% 98%;
45+
--border: 220 16% 28%;
46+
--input: 220 16% 28%;
47+
--ring: 220 54% 70%;
48+
}
49+
50+
body {
51+
@apply bg-background text-foreground;
52+
}
53+
54+
@layer base {
55+
* {
56+
@apply border-border;
57+
}
58+
body {
59+
@apply bg-background text-foreground;
60+
}
61+
}
62+
63+
@layer utilities {
64+
.transition-all {
65+
transition-property: all;
66+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
67+
transition-duration: 150ms;
68+
}
69+
}
70+
71+
@keyframes fadeIn {
72+
from { opacity: 0; }
73+
to { opacity: 1; }
74+
}
75+
76+
.animate-fade-in {
77+
animation: fadeIn 0.5s ease-in-out;
78+
}
79+

0 commit comments

Comments
 (0)