From 7c1174da3c464448577dec346c3b69549a99a97c Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:04:45 +0000 Subject: [PATCH 1/9] --- site1/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 site1/index.html diff --git a/site1/index.html b/site1/index.html new file mode 100644 index 0000000..d381a95 --- /dev/null +++ b/site1/index.html @@ -0,0 +1,15 @@ + + + + + + Site 1 + + + +

Welcome to Site 1

+

This is the first static site hosted in this repository.

+ + + + From ace6cb8b3d54cded1a62daf23e34d09169d2d556 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:05:37 +0000 Subject: [PATCH 2/9] --- site2/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 site2/index.html diff --git a/site2/index.html b/site2/index.html new file mode 100644 index 0000000..6d0aeba --- /dev/null +++ b/site2/index.html @@ -0,0 +1,15 @@ + + + + + + Site 2 + + + +

Welcome to Site 2

+

This is the second static site hosted in this repository.

+ + + + From 825c15e12da13caa8ed4c5335d646dad0d4b1734 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:06:24 +0000 Subject: [PATCH 3/9] --- redirect.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 redirect.js diff --git a/redirect.js b/redirect.js new file mode 100644 index 0000000..2bebdbf --- /dev/null +++ b/redirect.js @@ -0,0 +1,13 @@ +// Get the current URL path +var path = window.location.pathname; + +// Redirect the user based on the URL path +if (path === "/site1") { + window.location.href = "site1/index.html"; +} else if (path === "/site2") { + window.location.href = "site2/index.html"; +} else { + // If the path does not match any of the above, redirect the user to the main site + window.location.href = "index.html"; +} + From 7e089c06d05f48a7171d55fa8e4511f74647ac4d Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:06:50 +0000 Subject: [PATCH 4/9] Included redirect script in main index.html file --- index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 8ff2084..54eed95 100644 --- a/index.html +++ b/index.html @@ -122,9 +122,10 @@

Get in touch

  • - - - + + \ No newline at end of file From efa4993850f06461198282fc09a2102a4db74abd Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:10:07 +0000 Subject: [PATCH 5/9] --- site1/script.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 site1/script.js diff --git a/site1/script.js b/site1/script.js new file mode 100644 index 0000000..8b18c0b --- /dev/null +++ b/site1/script.js @@ -0,0 +1,8 @@ +// Import any necessary modules or libraries + +// Define any variables or constants + +// Implement any functions or event handlers + +// Add any additional code specific to the "site1" static site + From 2e2b173c4c238a065816e978db752f64181443a9 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:10:21 +0000 Subject: [PATCH 6/9] --- site2/script.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 site2/script.js diff --git a/site2/script.js b/site2/script.js new file mode 100644 index 0000000..3a4dd3d --- /dev/null +++ b/site2/script.js @@ -0,0 +1,8 @@ +// Import any necessary modules or libraries + +// Define any variables or constants + +// Implement any functions or event handlers + +// Add any ad + From 897743582fa8fbb010e9f5d5534293c96ad59a71 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:10:29 +0000 Subject: [PATCH 7/9] Updated index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 54eed95..0657787 100644 --- a/index.html +++ b/index.html @@ -128,4 +128,4 @@

    Get in touch

    - \ No newline at end of file + \ No newline at end of file From 5348670678ebf1453e217a68720009c65727d66b Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:10:37 +0000 Subject: [PATCH 8/9] Updated site1/index.html --- site1/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site1/index.html b/site1/index.html index d381a95..e30bf15 100644 --- a/site1/index.html +++ b/site1/index.html @@ -9,7 +9,7 @@

    Welcome to Site 1

    This is the first static site hosted in this repository.

    - + From d977e4531024933c52a595043e62ddfb1b252386 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:10:45 +0000 Subject: [PATCH 9/9] Updated site2/index.html --- site2/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site2/index.html b/site2/index.html index 6d0aeba..0d403d5 100644 --- a/site2/index.html +++ b/site2/index.html @@ -9,7 +9,7 @@

    Welcome to Site 2

    This is the second static site hosted in this repository.

    - +