From 81bdeae40ef90fec4f3f8040d88e9485a924eb60 Mon Sep 17 00:00:00 2001
From: tongwenjing <656274287@qq.com>
Date: Sun, 31 Jul 2022 06:33:49 +0100
Subject: [PATCH] Upload From local development env

---
 wiki/pages/index.html  | 19 ++++++++++++++--
 wiki/pages/layout.html | 51 ------------------------------------------
 2 files changed, 17 insertions(+), 53 deletions(-)
 delete mode 100755 wiki/pages/layout.html

diff --git a/wiki/pages/index.html b/wiki/pages/index.html
index 38e727a..2fafc81 100755
--- a/wiki/pages/index.html
+++ b/wiki/pages/index.html
@@ -1,10 +1,25 @@
 {% extends "layout.html" %}
 
 {% block title %}Home - ICUnited{% endblock %}
-{% block lead %}<b>Welcome to ICUnited ! </b> Just enjoy ~ {% endblock %}
+{% block lead %}<b>Welcome to we ICUnited ! </b> Just enjoy ~ {% endblock %}
 
 {% block page_content %}
 
-<h1> # Cancer # </h1>
+<style>
+	.firstPage{
+		/* 弹性布局 */
+	    display: flex;
+	    /* 100%窗口高度和宽度 */
+	    height: 100vh;
+	    width: 100vw;
+	    /* 设置滚动贴合的方式,沿x轴滚动,mandatory表示强制滚动 */
+	    scroll-snap-type: x mandatory;
+	    /* 溢出时,水平保留滚动条,垂直隐藏滚动条 */
+	    overflow-x: scroll;
+	    overflow-y: hidden;
+	}
+</style>
+
+<div class="firstPage"><h1> Cancer ! </h1></div>
 
 {% endblock %}
diff --git a/wiki/pages/layout.html b/wiki/pages/layout.html
deleted file mode 100755
index c6242b5..0000000
--- a/wiki/pages/layout.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!doctype html>
-<html lang="en">
-  <head>
-    <!-- Required meta tags -->
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <link rel="shortcut icon" href="https://static.igem.wiki/common/icons/favicons/igem-2022.svg"/>
-    <link rel="license" href="https://creativecommons.org/licenses/by/4.0/"/>
-
-    <!-- Bootstrap CSS -->
-    <link href="{{ url_for('static', filename = 'bootstrap.min.css') }}" rel="stylesheet">
-
-    <!-- Custom CSS -->
-    <link href="{{ url_for('static', filename = 'style.css') }}" rel="stylesheet">
-
-    <title>{% block title %}{% endblock %} | BFSU-ICUnited - iGEM 2022</title>
-
-	<script type="text/javascript" src="../static/particle.js" />
-
-</head>
-<body>
-  <!-- Navigation -->
-  {% include 'menu.html' %}
-
-  <!-- Header -->
-  <header class="bg-hero py-5 mb-5">
-    <div class="container h-100">
-      <div class="row h-100 align-items-center">
-        <div class="col-lg-12">
-          <h1 class="display-4 text-white mt-5 mb-2">{{ self.title() }}</h1>
-	        <p class="lead mb-5 text-white-50">{% block lead %}{% endblock %}</p>
-        </div>
-      </div>
-    </div>
-  </header>
-
-  <!-- Page Content -->
-  <div class="container">
-    {% block page_content %}{% endblock %}
-  </div>
-
-  <!-- Footer: MUST mention license AND have a link to team wiki's repository on gitlab.igem.org -->
-  {% include 'footer.html' %}
-
-  <!-- Wiki Tools: Teams are allowed to remove it -->
-  {% include 'wiki-tools.html' %}
-
-  <!-- Bootstrap Bundle with Popper -->
-  <script src="{{ url_for('static', filename = 'bootstrap.bundle.min.js') }}"></script>
-</body>
-</html>
-- 
GitLab