Skip to content

Commit

Permalink
Merge pull request #76 from solun-pm/dev
Browse files Browse the repository at this point in the history
Updated and Show Version
  • Loading branch information
DanielWTE authored Jun 22, 2023
2 parents 0511622 + 13e72ad commit ebbbff3
Show file tree
Hide file tree
Showing 5 changed files with 410 additions and 328 deletions.
2 changes: 1 addition & 1 deletion app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const NotFound = () => {
const router = useRouter();

const handleGoBack = () => {
router.back();
router.push('/');
};

return (
Expand Down
37 changes: 17 additions & 20 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
import Welcomer from '@/components/welcomer'
import Services from '@/components/services'
import WhySolun from '@/components/whySolun'
import Testimonials from '@/components/testimonials'
import CTABanner from '@/components/CTABanner'
import Header from '@/components/header'
import Footer from '@/components/footer'

import Welcomer from '@/components/welcomer';
import Services from '@/components/services';
import WhySolun from '@/components/whySolun';
import CTABanner from '@/components/CTABanner';

export default function Home() {
return (
<>
<Header />
<div className="bg-primary min-h-screen">
<section>
<Welcomer />
</section>
<section>
<Services />
</section>
<section>
<WhySolun />
</section>
<section>
{/* <Testimonials /> */}
</section>
<section>
<CTABanner />
</section>
<section>
<Welcomer />
</section>
<section>
<Services />
</section>
<section>
<WhySolun />
</section>
<section>
<CTABanner />
</section>
</div>
<Footer />
</>
Expand Down
7 changes: 7 additions & 0 deletions components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import Link from 'next/link';
const { version } = require('../package.json');

const Footer = () => {
return (
Expand All @@ -11,6 +12,12 @@ const Footer = () => {
<p className="mt-4">
E-Mail: contact@solun.pm
</p>
<p>
Version: {version}
</p>
<p>
Copyright © {new Date().getFullYear()} Solun
</p>
</div>
<div className="flex flex-col md:flex-row text-white md:gap-10">
<div className="mb-8 md:mb-0 md:ml-auto">
Expand Down
Loading

0 comments on commit ebbbff3

Please sign in to comment.